fix(branding): replace Mattermost compass loading spinner with Slash badge #17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/loading-screen-branding"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the desktop app's startup/loading screen showing Mattermost's compass-needle logo (the same issue already fixed on the web version in slash-server commit 16ff32457).
What changed
LoadingIcon.tsxdrew the Mattermost compass via masked/gradient SVG shapes. Replaced with:.LoadingAnimation__spinnerclass/keyframe -- not compass-specific)Important difference from the webapp fix
The webapp's fix could drop the
.LoadingAnimation__compassclass entirely because its cleanup logic (plain JS,initial_loading_screen_class.ts) proceeds on either of two animationend events.This component's React state machine (
LoadingAnimation.tsx) only transitions to the LOADED state afterLoadingAnimation__compass-shrinkspecifically fires -- and CSS only ever applies that animation to an element with classLoadingAnimation__compass. So that class is kept (now wrapping the badge image instead of the needle/base paths) -- dropping it would leave the loading screen stuck on-screen forever.No CSS colour changes needed --
LoadingAnimation.scssalready usesvar(--center-channel-color), not a hardcoded Mattermost blue like the webapp version had.Branding gate passes.