Skip to content

Add pagination and rename jobs URL segment#10

Merged
eclectic-coding merged 1 commit into
mainfrom
feature/pagination
May 18, 2026
Merged

Add pagination and rename jobs URL segment#10
eclectic-coding merged 1 commit into
mainfrom
feature/pagination

Conversation

@eclectic-coding
Copy link
Copy Markdown
Owner

Summary

  • Adds pagy >= 43.0 as a runtime dependency; engine initializer loads the English locale and sets a default limit of 25
  • Jobs and failed jobs lists are now paginated — nav renders below the table only when there is more than one page
  • Renames the jobs resource URL from /jobs/jobs to /jobs/list using path: "list" — all route helpers (jobs_path, job_path) are unchanged
  • Updates gemspec summary/description to drop "read-only"

Test plan

  • CI lint and test matrix passes
  • Jobs at /jobs/list and failed jobs at /jobs/failed_jobs load correctly
  • Pagination nav appears when records exceed 25
  • Existing discard/retry actions still work

🤖 Generated with Claude Code

- Add pagy >= 43.0 as a runtime dependency; configure limit: 25 and load
  English locale in the engine initializer
- Paginate jobs and failed jobs lists; nav renders only when > 1 page
- Rename /jobs/jobs to /jobs/list to avoid the redundant double-jobs URL
- Update gemspec summary/description to drop "read-only"

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@eclectic-coding eclectic-coding merged commit b8f62f5 into main May 18, 2026
5 checks passed
@eclectic-coding eclectic-coding deleted the feature/pagination branch May 18, 2026 18:07
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.

1 participant