Pond sidebar with page list and sort modes #26
Labels
No Label
area:auth
area:docs
area:export
area:ops
area:storage
area:supply-chain
auth
backend
blocked
collab
deployment
docs
effort:L
effort:M
effort:S
frontend
plugins
qa
vs-nfd
vs-nfd:blocker
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: stwaidele/dorfteich#26
Loading…
Reference in New Issue
Block a user
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?
Context
The vision specifies a collapsible left sidebar listing the pond's pages with alphabetical, creation-date, or manual order.
Scope
Implement the sidebar for a selected pond: page list from
GET /ponds/:id/pages(add the endpoint with sort support if missing), sort mode switch (alphabetical / created; manual arrives with #45) persisted in pond settings by the pond owner, active-page highlight, 'new page' button, collapse behavior from #4 refined (animation, keyboard shortcut), pond switcher dropdown in the top bar.Acceptance criteria
Technical notes
Dependencies
Depends on #21, #23, #25.
Size: ~1.5 days
Conventions: English code/comments, clear human-readable code, no hard-coded UI strings (ADR 0012, add
deanden), permission checks only via the shared guard (docs/architecture/permissions.md). Read the referenced ADRs before starting.Implemented and deployed to Test + Int; pipeline green (commit
49beb45):GET /ponds/:id/pageslists a pond's pages ordered by its persistedsidebarSortsetting (alpha default, created; manual arrives with #45). Owner-only sort switch persists via the existingPATCH /ponds/:id./p/:pondSlugroute gives it a landing spot that redirects to the pond's first page once loaded (or shows an empty-pond hint).apps/web/e2e/sidebar.spec.tspack (sort reorder + persistence, active highlight, new-page flow, collapse shortcut/persistence), all green locally.pnpm lint/typecheck/i18n:checkclean.CI: CD build, CI lint/typecheck/test, auth e2e, deploy Test, smoke, promote Int — all successful.