Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Initial loading feedback was missing #10028

Merged
merged 2 commits into from
Mar 7, 2018

Conversation

karlprieb
Copy link
Contributor

@RocketChat/core

2018-03-06 11 41 33

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-10028 March 6, 2018 14:43 Inactive
@karlprieb karlprieb added this to the 0.63.0 milestone Mar 6, 2018
@@ -71,8 +71,7 @@ RocketChat.settings.get('Assets_SvgFavicon_Enable', (key, value) => {
});

RocketChat.settings.get('theme-color-sidebar-background', (key, value) => {
Inject.rawHead(key, `<style>body { background-color: ${ value };}</style>` +
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason removing it from here and adding it to "external" CSS? the idea was just this, not need to wait for the whole CSS to apply the initial background color

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When you load the app the css is up already, but I forgot that you can change this color... in that case the app will load the default color. I'll fix that.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the first time you enter on a server, his css is not up already 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wrong on my comment. @ggazzo made a dynamic css loader script that runs before that, so it will work with the colors that the user set on DB.

@rodrigok rodrigok changed the title [FIX] initial loading feedback [FIX] Initial loading feedback was missing Mar 7, 2018
@rodrigok rodrigok merged commit 19b6884 into develop Mar 7, 2018
@rodrigok rodrigok deleted the fix-initial-loading-feedback branch March 7, 2018 14:34
@karlprieb karlprieb mentioned this pull request Mar 7, 2018
@rodrigok rodrigok mentioned this pull request Apr 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants