Skip to content

Add labels to filter fields #268

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

Merged
merged 1 commit into from
Jul 11, 2025
Merged

Conversation

andycandrea
Copy link
Contributor

Resolves #233

Adding the labels required a little bit of restructuring of the page to ensure that everything was properly aligned and matched the existing layout.

Visually tested in Chrome and Safari on a Macbook Pro. Clicked on each label to verify that the corresponding field gains focus.

Finished jobs:
Screenshot 2025-07-09 at 12 20 12 PM


Failed jobs with action buttons properly aligned:
Screenshot 2025-07-09 at 12 27 22 PM

<% if jobs_status == "finished" %>
<% if jobs_status == "finished" %>
<div class="control">
<%= form.label :finished_at_start, class: "label" %>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't love the default text of "Finished at start" that this leads to, but I figured not manually setting it so that it could presumably be overwritten via i18n might be nice. That said, I'm more than happy to change this and any of the others in whatever ways seem nicest.

Copy link
Member

Choose a reason for hiding this comment

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

I think it's ok for this! Thank you 🙏

Copy link
Member

@rosa rosa left a comment

Choose a reason for hiding this comment

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

Nice! Thank you so much!

@rosa rosa merged commit 3586df1 into rails:main Jul 11, 2025
3 checks passed
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.

Date fields have no label
2 participants