Skip to content

Add labels to filter fields#268

Merged
rosa merged 1 commit intorails:mainfrom
andycandrea:add-labels-to-fields
Jul 11, 2025
Merged

Add labels to filter fields#268
rosa merged 1 commit intorails:mainfrom
andycandrea:add-labels-to-fields

Conversation

@andycandrea
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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