mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-21 22:46:41 +02:00
1. Owner tracking (createdBy): - Add createdBy field to locations schema - Set createdBy to userId on location creation - Only owners can edit/delete their own locations - Seed/unowned locations remain editable by anyone 2. Edit/Delete UI: - Edit button + full edit form at /locations/:id/edit - Delete button with confirmation dialog on detail page - Both only visible to the location owner - ForbiddenException (403) if non-owner tries to modify 3. Pagination: - Backend returns paginated results (page, limit, total, totalPages) - Frontend "Load more" button for infinite scroll - Category filter reloads from API with server-side filtering - Default 20 items per page, max 100 Tests updated: 36 tests passing (5 new for ownership + pagination). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| apps | ||
| CLAUDE.md | ||