feat: activity-first home page (F11c) #36
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-docs-app#36
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?
Lineage
plan-pal-e-docs→ Phase F11 (Design System Overhaul) → F11c (Activity-First Home Page)Repo
forgejo_admin/pal-e-appUser Story
As a pal-e-docs user
I want the home page to show me what changed recently, what's in progress, and project health at a glance
So that I can quickly orient myself without clicking through multiple pages
Context
The current home page is a generic landing: project cards, board cards, and a tag cloud. It doesn't answer the key questions: "what changed?", "what's in progress?", "how are projects doing?"
A prototype was built at
~/html-playground/6-pal-e-home/index.htmland approved by Lucas on his phone. PR #181 (pal-e-docs backend) addedlimit/offsetparams toGET /notesand a newGET /boards/activitycross-board endpoint. PR #35 (pal-e-app) deployed the CSS design system with custom properties.This issue ports the approved prototype into the real SvelteKit app with live API data.
File Targets
Files the agent should modify:
src/lib/api.ts— update types (Board,BoardItem,Note,Projectto includeupdated_at,id,board_id) + updatelistNotes()to acceptlimit/offset/statusparams + add newlistBoardActivity()functionsrc/routes/+page.server.ts— fetch recent notes (limit=10), board activity (column=in_progress, limit=5), all boards (for progress bars + boardId lookup), all projectssrc/routes/+page.svelte— replace current home page with prototype layout (greeting, recently updated, in progress, projects, board progress bars)Files the agent should NOT touch:
src/routes/+layout.svelte— nav is handled here, prototype nav is just visual contextsrc/app.css— design system is already deployedsrc/lib/components/*— no new components neededAcceptance Criteria
in_progresscolumn with title, board name context, and yellow "in progress" badgeupdated_atDESC with board item countsapp.css— zero hardcoded hex values/notes/{slug}, project names link to/projects/{slug}Test Expectations
Constraints
<style>in Svelte — no Tailwind utility classes for layout structurevar(--color-*)custom properties for all colorsBoardItemOutfrom activity endpoint hasboard_id(int) — build aboardId → boardlookup map from the boards list to resolve board names<svelte:head>title taglistNotes()default sort isupdated_at DESC— no sort param needed, justlimit=10Checklist
Related
plan-pal-e-docs— parent planphase-pal-e-docs-design-overhaul— parent phase (F11)convention-frontend-css— CSS custom property rulessop-frontend-experiment— prototype-first workflow that produced this design