Port: dashboard home page from playground #69

Closed
opened 2026-03-27 21:14:27 +00:00 by forgejo_admin · 2 comments
Contributor

Type

Feature

Lineage

Depends on #68 (CSS + sidebar foundation). Part of SvelteKit port pipeline.

Repo

forgejo_admin/pal-e-app

User Story

As a reader, I want an activity-first dashboard as the home page, so I can see recent notes, stats, and quick actions at a glance.

Context

Port ~/pal-e-docs-playground/index.html dashboard to src/routes/+page.svelte. Copy HTML structure, replace hardcoded data with API bindings. The dashboard has stats cards, recent notes list, and quick action links.

Note: Both / (src/routes/+page.svelte) and /dashboard (src/routes/dashboard/+page.svelte) routes exist. The / route is the activity-first home. The /dashboard route is a board-overview dashboard. Specify which is the restyle target — likely / (home) since that maps to playground index.html. Data fetching uses client-side onMount, not SvelteKit load functions — no +page.ts needed.

File Targets

  • src/routes/+page.svelte — restyle home page to match playground index.html (this is the / route)

Acceptance Criteria

  • Dashboard layout matches playground index.html
  • Stats cards wired to real API data
  • Recent notes list fetched from API
  • App builds without errors

Test Expectations

  • Run command: cd ~/pal-e-app && npm run build

Constraints

  • Copy playground HTML literally, swap data bindings. Don't redesign.
  • Depends on #68 being merged first.

Checklist

  • Page ported
  • Data bindings wired
  • Build passes
  • forgejo_admin/pal-e-app#68 — foundation (dependency)
  • board-pal-e-docs — project board

Closes #68 is NOT this ticket — this is a separate port.

### Type Feature ### Lineage Depends on #68 (CSS + sidebar foundation). Part of SvelteKit port pipeline. ### Repo `forgejo_admin/pal-e-app` ### User Story As a reader, I want an activity-first dashboard as the home page, so I can see recent notes, stats, and quick actions at a glance. ### Context Port `~/pal-e-docs-playground/index.html` dashboard to `src/routes/+page.svelte`. Copy HTML structure, replace hardcoded data with API bindings. The dashboard has stats cards, recent notes list, and quick action links. **Note:** Both `/` (`src/routes/+page.svelte`) and `/dashboard` (`src/routes/dashboard/+page.svelte`) routes exist. The `/` route is the activity-first home. The `/dashboard` route is a board-overview dashboard. Specify which is the restyle target — likely `/` (home) since that maps to playground `index.html`. Data fetching uses client-side `onMount`, not SvelteKit load functions — no `+page.ts` needed. ### File Targets - `src/routes/+page.svelte` — restyle home page to match playground index.html (this is the `/` route) ### Acceptance Criteria - [ ] Dashboard layout matches playground index.html - [ ] Stats cards wired to real API data - [ ] Recent notes list fetched from API - [ ] App builds without errors ### Test Expectations - Run command: `cd ~/pal-e-app && npm run build` ### Constraints - Copy playground HTML literally, swap data bindings. Don't redesign. - Depends on #68 being merged first. ### Checklist - [ ] Page ported - [ ] Data bindings wired - [ ] Build passes ### Related - `forgejo_admin/pal-e-app#68` — foundation (dependency) - `board-pal-e-docs` — project board Closes #68 is NOT this ticket — this is a separate port.
Author
Contributor

Scope Review: NEEDS_REFINEMENT

Review note: review-471-2026-03-27

Two issues found:

  • src/routes/+page.ts does not exist — app uses client-side fetching via onMount, not SvelteKit load functions. Remove from file targets.
  • Ambiguity: there is ALSO src/routes/dashboard/+page.svelte (a board-centric dashboard). Ticket doesn't clarify what happens to it — delete? keep? merge?
## Scope Review: NEEDS_REFINEMENT Review note: `review-471-2026-03-27` Two issues found: - `src/routes/+page.ts` does not exist — app uses client-side fetching via `onMount`, not SvelteKit load functions. Remove from file targets. - Ambiguity: there is ALSO `src/routes/dashboard/+page.svelte` (a board-centric dashboard). Ticket doesn't clarify what happens to it — delete? keep? merge?
Author
Contributor

Issue body updated per scope review corrections.

Issue body updated per scope review corrections.
Commenting is not possible because the repository is archived.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ldraney/pal-e-app#69
No description provided.