Commit Graph

15 Commits

Author SHA1 Message Date
patrick 56b8e9956a refactor: simplify notes components to use service directly
- Remove prop drilling, components get notes from NoteService context
- NoteCard gets note by ID from service, uses {#key} for Markdown reactivity
- NotesGrid handles filtering internally via service methods
- NoteEditor gets service from context instead of prop
- Add PageState type for shallow routing selectedNoteId
- Add +layout.server.ts to pass user data to client

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-05 13:54:51 -05:00
patrick 9363bbcc76 refactor habit creation form to support both creation and editing 2026-03-05 06:04:32 -05:00
patrick 77d47cf4b0 fix TS type errors 2026-03-04 14:29:05 -05:00
patrick 70f935867d refactor note service interaction 2026-03-04 14:26:30 -05:00
patrick 81a710b763 remove trash and archive pages for notes in favor of tabs on note page 2026-03-04 14:24:49 -05:00
patrick 64321bc19c fix: revert tailwind preflight in carta markdown renderer
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-03 16:13:47 -05:00
patrick edbfe02ee0 feat: add notes UI components and routes
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-03-03 16:13:22 -05:00
patrick ea9d68f507 add dynamic text sizing in habit cells 2026-03-03 11:51:09 -05:00
patrick 1d67d3d60c feat: mark cell as failed when decrementing if value is already zero 2026-03-02 15:26:53 -05:00
patrick e9bee860d7 Fix habit cell morphing on focus in Chrome browsers
Prevent visual glitch where habit cells would shrink and borders would
   morph during NumberFlow animations when interacting via keyboard (shift
   key). Added focus-visible:outline-none to suppress global outline style
   that was causing layout shifts in Chrome's rendering engine.
2026-03-02 15:20:46 -05:00
hiperman 3b9c179643 add habit tracking page with grid layout\
\
- Add HabitGrid component with a responsive calendar-style layout\\
- Support variable habit durations with period-based cell rendering\
- Add skeleton loading states for better UX during data fetching
- Add CounterHabitButton component for cells with increment/decrement
  interactions\
- Create HabitCellContextMenu for period-based actions (reset, set values, fail)
- Add HabitCreationForm for creating new habits\
- Add HabitActionMenu component for additional  operations on habits
  (archive, delete, edit)\
- Add SetValueDialog component for editing the value of a cell
2026-02-25 01:15:58 -05:00
hiperman 884dc8e669 remove demo routes 2026-02-22 02:13:30 -05:00
hiperman 163c4a7fca create login page with login and signup forms 2026-02-22 01:44:53 -05:00
hiperman 861195900e add and initialize shadcn-svelte dependency 2026-02-21 19:36:22 -05:00
hiperman e5167165cb create skeleton project 2026-02-21 19:35:17 -05:00