feat: global job search across all statuses#22
Merged
Conversation
Adds GET /jobs/search?q= which queries all five execution models (ready, scheduled, claimed, blocked, failed) for jobs whose class name matches the search term. Results are grouped by status, each with a match count, a "View all →" link to the filtered status page (or failed jobs page), and a table of the first 25 matches linking to individual job detail pages. A "Search" nav link is added to the header. The page shows no results section when the query is blank. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Queries all distinct class names from solid_queue_jobs and renders them as a native HTML <datalist> on the search page. The browser filters suggestions as the user types — no JavaScript required, fully accessible. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… load Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds a select() action to the existing search Stimulus controller that cancels any pending debounce timer and calls requestSubmit() immediately. Wired to the change event on the global search input so selecting a job class from the datalist submits the form without a button click. The Search button is removed; the Clear link remains. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #22 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 12 13 +1
Lines 193 206 +13
=========================================
+ Hits 193 206 +13 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GET /jobs/search?q=— queries all five execution models in a single action and groups results by status (ready, scheduled, claimed, blocked, failed)<datalist>populated from all distinct class names insolid_queue_jobs— browser shows matching suggestions as the user types, no JS library requiredsearchStimulus controller (change->search#select); no Search button neededTest plan
🤖 Generated with Claude Code