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

[NEW] Makes shield icon configurable #9746

Merged
merged 3 commits into from
Feb 17, 2018
Merged

Conversation

c0dzilla
Copy link
Contributor

@c0dzilla c0dzilla commented Feb 16, 2018

@RocketChat/core

Closes #6989

This pr makes the shield icon in the shield.svg api route configurable. Desired svg image can be added in the public/images/shield/shield-icon.svg file to replace the default rocket.chat icon.

Example:
github_shield

Copy link
Contributor

@geekgonecrazy geekgonecrazy left a comment

Choose a reason for hiding this comment

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

Ideally we want to keep it so a user never edits the local files. It should be possible in the UI. We have many cases where the filesystem Rocket.Chat is on is read only.

My suggestion would be to change it to actually make use of the svg icon that can be uploaded in assets: a
image

That way will make use of the very same icon used as favicon.

@c0dzilla
Copy link
Contributor Author

@geekgonecrazy should there be a separate icon called shield in the assets ui or the favicon icon itself be used?

@geekgonecrazy
Copy link
Contributor

In my opinion making use of the same exact icon would be desirable for the end user. Less for them to have to upload and maintain.

This way they upload their logo once and its used everywhere its needed.

@c0dzilla
Copy link
Contributor Author

Made requested changes.

Copy link
Contributor

@geekgonecrazy geekgonecrazy left a comment

Choose a reason for hiding this comment

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

Tried it out, looks good!

@geekgonecrazy geekgonecrazy added this to the 0.62.0 milestone Feb 16, 2018
@rodrigok rodrigok merged commit 4a34938 into RocketChat:develop Feb 17, 2018
@rodrigok rodrigok mentioned this pull request Feb 28, 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.

3 participants