Closed saurori closed 3 years ago
The Scheduled page lists jobs which contain the at
attribute and have not yet executed.
https://github.com/contribsys/faktory/wiki/The-Job-Payload#options
With FWR, you'd do something like this: SomeJob.perform_in(1.hour, "some args")
Ah ok. Tested that, the page looks fine.
Lots of nice work here, thanks.
I noticed you didn't touch application-rtl.css. Did you test RTL? I believe you can do so by selecting an RTL language on the /debug page if you didn't already.
I will walk through the pages later today to double check the changes.
I tested RTL a bunch, as much as I know how (native English speaker). It all looks good to me but there may be some subtleties I missed.
I did another pass over application-rtl.css
and mostly removed dead CSS but also fixed a few small layout bugs / replaced items with native Bootstrap RTL classes. https://github.com/contribsys/faktory/pull/360/commits/dcca7ef63061e9d836180666f3eb9b98ad546d71
There are a few minor issues here and there. Some before and after images:
Before
After
Button color is gone. The table rows are colored differently, I don't mind that but do they need a little more contrast vs the page body color?
But overall, where things look different, they look better to my eye so I'm quite pleased!
I think the Dashboard interval slider needs to retain its ltr
class. That class has been there for years and no one has complained so please restore it. I'm happy to remove it if someone with rtl experience tells me it looks wrong.
button-default
, will fix that:odd
vs :even
. Otherwise it's close to the same as before. I agree the grey color on tables could use more contrast. table-light
looks a bit better, see variants or a custom color...
Thanks, I'm ready to merge this. Are you happy with it or do you need more time?
I think you've earned commit bit with this work. You are welcome to make changes, just please open a PR for anything you do change so I can review and we have a record of why things changed.
👍 I think it's ready to merge.
Oh, and any significant change should have a line in Changes.md. Can you add one for this PR?
Description
This PR updates the webui from Bootstrap 3 to Bootstrap 5. The CSS and HTML was updated, but not the JS (only the Dropdown plugin is used).
Related Issue: https://github.com/contribsys/faktory/issues/359
Notes
webui/static/application-rtl.css
at all.TextDirection
was missing in locales yml it would set the<html dir="TextDirection">
.navbar-livereload
as it did not seem to be in use.data-
selector names so it lines up with CSS selectors in Bootstrap 5. Bootstrap 5 does not use jQuery but the Faktory UI still relies on it so it was easier to leave that in place vs including additional JS to support the new dropdown JS code.