Files
nuzlocke-tracker/.beans/nuzlocke-tracker-d68l--frontend-journal-entry-editor-and-list-view.md
Julian Tabel c9d42b091f
All checks were successful
CI / backend-tests (push) Successful in 26s
CI / frontend-tests (push) Successful in 29s
Daedalus and Talos integration test
2026-03-20 16:31:19 +01:00

36 lines
1.2 KiB
Markdown

---
# nuzlocke-tracker-d68l
title: 'Frontend: Journal entry editor and list view'
status: todo
type: task
priority: normal
created_at: 2026-03-20T15:15:55Z
updated_at: 2026-03-20T15:15:59Z
parent: nuzlocke-tracker-mz16
blocked_by:
- nuzlocke-tracker-vmto
---
Create the frontend UI for writing and viewing journal entries.
## Design Decisions
- Plain markdown textarea (no WYSIWYG)
- Images via markdown URL syntax (`![alt](url)`)
- Blank slate — no templates
- Private only (no sharing UI)
## Checklist
- [ ] Add `JournalEntry` TypeScript types to `frontend/src/types/`
- [ ] Create API client functions for journal CRUD
- [ ] Create `JournalList` component — chronological list of entries for a run
- Show title, date, preview snippet, and linked boss (if any)
- Link each entry to its detail/edit view
- [ ] Create `JournalEditor` component — markdown textarea with title input
- Optional boss result selector dropdown (link entry to a boss battle)
- Preview tab to render markdown
- Save and delete actions
- [ ] Create `JournalEntryView` component — rendered markdown display
- [ ] Add journal section/tab to the run detail page
- [ ] Add route for journal entry detail/edit view