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

add welcome page favicon #543

Merged
merged 1 commit into from
Oct 2, 2018
Merged

add welcome page favicon #543

merged 1 commit into from
Oct 2, 2018

Conversation

cezaraugusto
Copy link
Contributor

@@ -75,6 +75,7 @@ void CustomizeWebUIHTMLSource(const std::string &name, content::WebUIDataSource*
}
}, {
std::string("welcome"), {
{ "ecaefa14dcf65df518730a336430727e.ico", IDR_BRAVE_WELCOME_FAVICON },
Copy link
Member

Choose a reason for hiding this comment

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

Just a question here - why are we using these hashes for filenames and not the actual readable (and permanent) name? Presumably webpack can be configured to keep them?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

only because file-loader defaults file names to md5 hash. I guess this came from the boilerplate which was carried over from b-l and just lacks custom config.

webpack handles this via file-loader options by declaring name name: '[path][name].[ext]', but this seems to require changing all previous hashed files to their original names.

Copy link
Member

@petemill petemill left a comment

Choose a reason for hiding this comment

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

lgtm

@bsclifton bsclifton merged commit 5bacae9 into master Oct 2, 2018
@bsclifton bsclifton deleted the welcomeicon branch October 2, 2018 05:30
bsclifton added a commit that referenced this pull request Oct 2, 2018
bsclifton added a commit that referenced this pull request Oct 2, 2018
@bsclifton
Copy link
Member

master 5bacae9
0.56.x d49727e
0.55.x dd40976

@bbondy bbondy added this to the 0.55.x - Release milestone Jan 14, 2019
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.

Welcome tab needs a favicon
4 participants