Stabilize table layouts#124
Conversation
📝 WalkthroughWalkthroughAdds a Region column to the queue submissions table by computing a JSONB lateral join of effective region flags in the SQL query, deserializing them into ChangesRegion Flags in Queue
Latin-fold Disc Search
Disc Table and Home Page UI Polish
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ed6507f to
560e34f
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/routes/discs.rs`:
- Around line 186-193: The folded search in the disc query now uses
latin_fold_sql in the search predicates, so the existing trigram indexes on
LOWER(...) no longer match these LIKE clauses. Update the index definitions for
the disc search fields to use the same folded expression shape produced by
latin_fold_sql (for example in the migration or schema where the
title/title_foreign/serial/edition/comments indexes are created) so PostgreSQL
can use them for the folded search in the discs route.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 8d403a96-7656-498a-b8ab-7b169f3b5213
📒 Files selected for processing (8)
src/db/models.rssrc/routes/discs.rssrc/routes/queue.rssrc/services/queue_service.rsstatic/css/app.csstemplates/discs.htmltemplates/main.htmltemplates/queue.html
Summary
/discstable column sizing so fixed columns do not shift after load.EgyptmatchingÉgypte.Validation
docker compose up -d --build appSummary by CodeRabbit
New Features
Bug Fixes
Style