-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
Dashboard UI updates: sticky navbar, statuses as tabs #572
Conversation
Uses flex to push footer to bottom if body is smaller than viewport.
* origin/main: Release good_job v2.12.2 Dashboard: added NL translations (bensheldon#568) Fix ru.yml filename Un-deprecate Adapter's `execution_mode` argument (bensheldon#567)
@bkeepers I think this looks fantastic. I think changing the States to Tabs is a big improvement. I like that the States are all immediately visible/discoverable rather than obscured within a dropdown. I'm more than happy to merge this as is (not let perfect be the enemy of better). I'll share some other thoughts in the discussion you opened. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bensheldon sounds good. This should be ready whenever you are.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Thank you!
Lemme know if I can help get the tests passing. I'm eager to get this merged.
Tests should all be passing now. |
@bkeepers btw, while it's fresh in your mind, I'd love if you have any feedback/suggestions for improving the Readme's contributor section for getting started. |
At first I didn't realize there was a test rails app that generates jobs, so that would have saved me some time getting another app set up and in a state where I could see jobs in various states. Just documenting |
@bkeepers Just updated the gem and saw that the filter dropdowns I added were gone, but the tabs are way better! Looks great, much more discoverable and surfacing the number in each is great for scanning. 👍 |
@multiplegeorges yay! Glad you like it too! 🎉 @bkeepers I was staring at the tab counts working on #578 and realized that I think the tab counts are incorrect: the numbers should be within the context of the filter, not absolute. If I made that change to have counts relative to the filter, I think the other filter options (Job Class, Queues, Search) should go above the tabs. Functionally I don't think anything would change though 🤔 These counts should be based off of good_job/engine/app/filters/good_job/jobs_filter.rb Lines 4 to 13 in c548fb7
|
@bensheldon ah, good catch. I can get a PR for that soon unless someone beats me to it.
I was actually thinking about moving the filters inline with the tabs, hidden behind a filter icon with a dropdown menu. Not sure if that makes sense, but I'll get a PR open for it soon so we can discuss. |
I spent a few hours today playing around with a couple things that I would love to see improved with the dashboard.