your personal website on atproto - mirror
blento.app
1# Sections: launch TODO
2
3Everything needed before sections can be enabled for all users (remove feature flag).
4
5## Critical / Blocking
6
7- [ ] **Page copy must include sections** — the copy route (`/p/[[page]]/copy/+page.svelte`) only copies cards today; section records are silently dropped, so the copied page loses all structure and non-grid section types
8- [ ] **Migration for existing users** — `ensureSections()` in `migrate.ts` synthesises a single grid section for legacy pages, but verify this works cleanly for users who already have cards with no `sectionId` across multiple pages
9
10## Section editing UI gaps
11
12- [ ] **Gallery section: column count control** — `sectionData.columns` is read but there's no UI to change it
13- [ ] **Gallery section: gap control** — `sectionData.gap` is read but there's no UI to change it
14- [ ] **Text section: alignment/size controls** — `textAlign` and `textSize` are in `sectionData` but no editing UI exposes them
15- [ ] **Row section: scroll mode control** — `sectionData.scrollMode` (`'scroll'` | `'fit'`) has no UI toggle
16- [ ] **Section renaming** — `section.name` field exists on the record but there's no input to edit it (SectionsModal only displays the name)
17- [ ] **Section duplication** — no way to duplicate a section (with or without its cards)
18
19## Cross-section interactions
20
21- [ ] **Move cards between sections** — cards are locked to the section they were created in; no drag-to-another-section or "move to section" action exists
22- [ ] **Section collapse/expand in editor** — all sections are always fully expanded; pages with many sections get unwieldy
23
24## Section styling / customisation
25
26- [ ] **Background color per section** — no way to set a section background (color, gradient, image)
27- [ ] **Padding / spacing controls** — no per-section padding or vertical gap control
28- [ ] **Section max-height** — only HeroSection enforces a height (`100dvh`); other sections grow unbounded
29
30## Mobile
31
32- [ ] **Mobile editing parity** — TextSection and RowSection don't have mobile-specific editing controls; the mobile editing warning modal is still shown as "experimental"
33
34## Polish / UX
35
36- [ ] **Empty state for TextSection editing** — no placeholder or guidance when the text content is blank
37- [ ] **SectionsModal improvements** — modal is functional but minimal; consider drag-to-reorder instead of up/down buttons, section type icons, and inline rename
38- [ ] **AddSectionButton visibility** — button is `opacity-0` until parent hover; may be hard to discover on touch devices
39- [ ] **Confirm before deleting a section with cards** — currently deletes immediately; should warn if the section contains cards
40
41## Deferred / post-launch
42
43- [ ] **External data sources** — see `docs/todo/external-section-sources.md`
44- [ ] **Section-level permissions / visibility** — e.g. hide a section from non-authenticated viewers
45- [ ] **Section templates** — pre-built section layouts users can pick from when adding a section