feat: "My Notes" view + identity-aware dashboard + attribution display #103
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/pal-e-app#103
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Depends on user attribution on pal-e-api (backend must return created_by/updated_by). Part of pal-e-app "app definition" compliance.
Repo
forgejo_admin/pal-e-productionUser Story
As a pal-e-app user, I want to see notes I created and recently edited so that I can quickly find my own work.
As a note reader, I want to see who created/edited a note so I know who to ask about it.
Context
pal-e-app dashboard shows global activity with no user filtering. Note detail shows
updated_atbut not who edited. With user attribution landed on the API (created_by_name, updated_by_name, filter by created_by_sub), the frontend can build identity-aware views. This is the ticket that turns pal-e-app from "authenticated website" into a real app perdefinition-app.File Targets
Files the agent should modify or create:
src/routes/my-notes/+page.svelte(new) — notes filtered by logged-in user's subsrc/routes/dashboard/+page.svelte— add "My Recent Edits" sectionsrc/routes/notes/[slug]/+page.svelteorNoteLayout.svelte— displaycreated_by_name/updated_by_namesrc/routes/+layout.svelte— add "My Notes" nav link when authenticatedsrc/lib/api-client.ts— add user-filtered API calls (?created_by_sub=X)Files the agent should NOT touch:
src/lib/keycloak.ts— already handled in role extraction ticketAcceptance Criteria
/my-notesshows only notes created by logged-in userTest Expectations
npm run buildConstraints
/notesrouteChecklist
npm run build)Related
pal-e-app— project this affectsdefinition-app— the app definition driving this work