feat: add category-based discovery and shareable record URLs
MR: Category Discovery + Shareable URLs in Peer Review
This Merge Request introduces non-breaking UI enhancements to the Peer Review flow to improve discoverability, navigation, and sharing of records.
The changes are fully scoped to /peer-review, reuse existing APIs, and gracefully fall back on failures.
- Category-based Discovery:
Category labels displayed on each peer review record card
Clickable category tags rendered near the search bar
Single-category filtering with toggle-to-clear behavior
Category filtering works seamlessly with existing text search
Silent fallback to current behavior if category APIs fail
- Individual Record Pages:
Each record now has its own dedicated page
Enables direct navigation to a specific record
Improves clarity, focus, and shareability
No changes to existing authenticated workflows
- Copy URL / Share Actions:
Copy URL / Share buttons added
Available in:
Individual record pages
Peer Review list (copy link button for every record)
Enables quick sharing for review, reference, or collaboration
🧪 How to Test:
-
Category Discovery
-
Navigate to /peer-review
-
Verify category labels on record cards
-
Click a category tag → records filter correctly
-
Click the active tag again → filter clears
-
Combine with text search → both filters apply
Sharing & Record Pages:
-
Open a record from Peer Review
-
Verify individual record page loads
-
Click Copy URL / Share:
-
Open the link in incognito / logged-out browser
-
Confirm record is visible in read-only mode
-
Wait until expiry → access should be denied
In Scope
-
Category labels & filtering
-
Individual record pages
-
Copy URL / Share buttons
-
Temporary shareable URLs
-
Read-only unauthenticated access
Out of Scope
-
Multi-category filtering
-
Category management
-
Permanent public access
-
Editing via shared URLs
-
Backend changes
Thanks for reviewing — excited to get this merged!





