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

Change the background colour for the RSS info badge to be less eye-catching #4819

Merged
merged 1 commit into from Feb 18, 2021

Conversation

sjahu
Copy link
Contributor

@sjahu sjahu commented Feb 18, 2021

3b5ae30 added a process RSS column to the table on the busy page. The red badge beside column header is useful for linking users to more information, but it's quite eye-catching. Since the badge doesn't indicate a notification or status change, it would be nice if it stood out a little less from the background.

This PR changes the background colour to light grey in normal mode and dark grey in dark mode. I also changed the class name from "circled" to "info-circle" since, with the more discreet colouring, I feel like it's less generally useful.

Before:
image
image

After:
image
image

…tching

    The red badge beside the RSS column header in the processes table is quite
    eye-catching.  The bold red colour might be appropriate for a notification
    badge indicating that the user needs to do something, but, for a "more info"
    badge, something that stands out less from
    the background is nicer.
@mperham
Copy link
Collaborator

mperham commented Feb 18, 2021

This is really well done, I'll pull this into an element in Sidekiq Enterprise too which uses an info-circle too.

#4806 needs some CSS polish too if I could ask for your help. I'll merge it and you can run master with gem 'sidekiq', github: 'mperham/sidekiq' to see the change on the Busy page. If you don't have time, I'll probably update the summary numbers to be info-circles too, if only to give them a little visual flair.

@mperham mperham merged commit 97350a4 into sidekiq:master Feb 18, 2021
@mperham
Copy link
Collaborator

mperham commented Feb 18, 2021

That should be:

gem 'sidekiq', github: 'mperham/sidekiq', branch: 'busy_summary'

@sjahu sjahu deleted the rss-circle-colour branch February 18, 2021 22:27
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.

None yet

2 participants