aboutsummaryrefslogtreecommitdiff
path: root/src/lib
Commit message (Collapse)AuthorAge
* Show time since done or lateness instead of the last-done dateMartin Kagamino Lehoux13 days
|
* Allow granular routine frequencies like 5/2wMartin Kagamino Lehoux2026-09-30
|
* Add live search to the project routines listMartin Kagamino Lehoux2026-09-29
|
* Standardize input white background on .form-inputMartin Kagamino Lehoux2026-09-29
|
* Allow backdating a routine completionMartin Kagamino Lehoux2026-09-26
|
* Compress comments to terse single lines within line widthMartin Kagamino Lehoux2026-09-25
|
* Refresh page data on refocus after 10s away, skip edit pagesMartin Kagamino Lehoux2026-09-25
|
* use created_at as first due_atMartin Kagamino Lehoux2026-09-16
|
* Scope badges, titles, and one-off styles; add Button outlineMartin Kagamino Lehoux2026-09-12
| | | | | | | | | ScoreBadge/StatusBadge carry their own color scales, no bg-*/text-* globals. SectionTitle unifies category-name and section-title dupes (h2/h3 via level prop). Grocery add-bar buttons use Button, new outline variant for the secondary action. save-status moves into its only page. Delete dead globals and page overrides.
* Extract Row primitive, migrate all call sitesMartin Kagamino Lehoux2026-09-12
| | | | | | | | Variants card/ref/plain with scoped skin. Padding and wrap one-offs via style prop; draggable and handlers via rest spread. GroceryRow absorbs item-btn/ref-link globals with local names; BestRef scopes best-ref. Delete item-* globals and dead page overrides.
* Extract Button primitive, migrate all call sitesMartin Kagamino Lehoux2026-09-12
| | | | | | | Variants primary/accent/ghost/done with scoped styles. Disabled handling unified; block/size/style props cover login stretch, done-lg, save-check positioning. Delete btn-* globals and dead page overrides.
* improve projects layout on mobileMartin Kagamino Lehoux2026-09-12
|
* Migrate date handling from Date to Temporal APIMartin Kagamino Lehoux2026-09-08
| | | | | | | | Routine scheduling, health series, service stamps, session expiry, and date formatting move to native Temporal (Instant / ZonedDateTime in UTC), with ISO strings kept at DB and chart boundaries. Ambient types in src/temporal-ambient.d.ts cover the native runtime; no polyfill. Observable behavior and stored formats are unchanged.
* Late only after a full missed periodMartin Kagamino Lehoux2026-09-08
| | | | | | Status buckets shift a full period out: due until an occurrence is skipped entirely, late after one, very late after two. Health decay halves (100 - ratio*50) so 50 marks late and 0 marks veryLate.
* Project health chart on LayerChartMartin Kagamino Lehoux2026-09-08
| | | | | | | Project page gets a Sante chart: daily mean of per-routine health via computeProjectHealthSeries, ending at the current health score. Both charts share a HealthChart component built on LayerChart's AreaChart (time x-axis, fixed 0-100 y-axis, completion dots).
* Never-done routines are always at least dueMartin Kagamino Lehoux2026-09-08
| | | | | A routine with no completions shows due instead of ok, even right after creation; ok requires a completion within the current period.
* Replace routine status text chip with fixed-width glyph chipMartin Kagamino Lehoux2026-09-08
| | | | | | Status becomes a 1.5rem rounded-square chip (ok=check, due=clock, late=!, veryLate=double !) keeping the green-to-red colors, moved to the start of each routine row; label and overdue stay in title.
* Anchor routine due dates on UTC calendar daysMartin Kagamino Lehoux2026-09-08
| | | | | Daily routine done yesterday is due today regardless of time of day; same anchoring in health series so chart and badge agree.
* Share grocery row component and list-page form actionsMartin Kagamino Lehoux2026-09-08
| | | | | | | | - GroceryRow.svelte renders the toggle row (checkbox, name, best ref, arrow link) for both the list and catalog pages - grocery-actions.ts grows full form actions: addCategoryAction, addGroceryAction, addGroceryAndEditAction, deleteByIdAction; the categories/groceries route servers become thin wrappers
* Consolidate duplicated page CSS into app.css, share TestDb typeMartin Kagamino Lehoux2026-09-08
| | | | | | | | | | | | | - Move .page-header/.back-link/.input-invalid/.save-status/.btn-done (plus hover/variant rules) into app.css as shared route scaffolding; delete per-page scoped copies - Unify drifted values: page-header padding 1rem -> 1.25rem (routine page), empty-state spacing 0.75/1.5rem -> 1/2rem (grocery detail), save-status margin -0.25rem applied on both pages, back-link margin 1.5rem -> 1rem (grocery detail); routine page's large Fait button is kept via a .btn-done-lg modifier - Export TestDb from test-helper and use it in the five db/service test files to shrink duplicated fixture scaffolding
* Deduplicate routine actions and badges across project routesMartin Kagamino Lehoux2026-09-08
| | | | | | | | | - Share edit/complete/archive form actions in routine-actions.ts; route servers become thin wrappers (strictest guard semantics in one place) - Move parseFrequencyDays into validation.ts - Extract ScoreBadge/StatusBadge components; use on project pages and the home page instead of duplicated scoreClass/statusClass helpers - Fix archiveProject calling the routine archive with the project id
* Add routine archives: archive date, searchable archived list, frozen pageMartin Kagamino Lehoux2026-09-07
| | | | | | - Stamp archived_at on the archived snapshot; copy it on edit - loadArchived(projectId) + collapsible fuzzy-searched "Archivées" section on the project page - Archived routine pages open read-only with the health chart ending at the archive date; edit/complete actions reject archived routines
* Give FuzzyAutocomplete input a white surface backgroundMartin Kagamino Lehoux2026-09-07
| | | | | Matches the other add-bar inputs; the input previously fell back to the cream form-input background after the add-bar class rename.
* Extract shared groceries helpers and BestRef componentMartin Kagamino Lehoux2026-09-07
|
* Add routine detail page with editable description and health historyMartin Kagamino Lehoux2026-09-07
|
* Add projects with routines, urgency tracking and health scoresMartin Kagamino Lehoux2026-09-07
| | | | | | | | | | Projects group recurring routines (chores included) with an append-only snapshot table (id, version) so edits never rewrite history; completions reference the exact snapshot. Pure metrics compute due dates, urgency buckets (ok/due/late/veryLate) and 0-100 health scores per routine, project, and globally. Home page lists projects; project dashboard sorts routines most-urgent first with one-tap completion and interval parser inputs (1d/2w/3m/1y).
* Split groceries domain out of the app rootMartin Kagamino Lehoux2026-09-07
| | | | | | Move the grocery list, catalog, and categories routes under /groceries/ so the app home can host the projects/routines overview next. Update nav to exact-path matching, login redirect default, and layout title.
* feat: fuzzy autocomplete for add-item inputMartin Kagamino Lehoux2026-08-21
| | | | | | | | Replace the native <datalist> with a custom fuzzysort-driven component (FuzzyAutocomplete) with keyboard nav and highlighted matches, preserving exact-match auto-add. Extract a unit-tested fuzzy-search helper, and gitignore .juggler/. Fix the dev DB boot failure caused by a sibling project's ambient DATABASE_URL leaking in by overriding it (file:./data.db) in mise.toml.
* feat(auth): add persistent family loginMartin Kagamino Lehoux2026-08-13
|
* feat: drag-to-reorder categories with persistent orderMartin Kagamino Lehoux2026-07-29
|
* feat: multi-select and bulk-update category from catalogMartin Kagamino Lehoux2026-07-29
|
* fix: sticky form and navbar layout with consistent nav-heightMartin Kagamino Lehoux2026-07-28
|
* feat: oklch color palette and PWA install supportMartin Kagamino Lehoux2026-07-28
|
* feat: editable name and category in grocery detail pageMartin Kagamino Lehoux2026-07-28
|
* refactor: services layer, valibot validation, shared CSS utilities, aria ↵Martin Kagamino Lehoux2026-07-28
| | | | | | | | | | | | | | labels, and drizzle migrate - Extract groceries/categories/references services with db injection - Add valibot for form validation and safe numeric id parsing - Fix category delete FK behavior with onDelete: set null + migration - Replace custom migrate.js with drizzle-orm/libsql/migrator - Add shared CSS utility classes in app.css (forms, lists, buttons) - Add aria-pressed and aria-label on interactive elements - Remove redundant app.css imports and unused /stores import - Add integration tests for all services using drizzle migrate helper - Remove smoke test; add db:migrate and db:studio scripts
* feat: warm redesign, full French localization, compact sticky form, fixed ↵Martin Kagamino Lehoux2026-07-28
| | | | row heights, and show quality score in list
* refactor: rename brand to reference everywhereMartin Kagamino Lehoux2026-07-27
|
* feat: compact sticky add form with Add + Edit buttonsMartin Kagamino Lehoux2026-07-27
| | | | | | | - Sticky navbar + sticky add bar on list page - Add button: quick add to list - Edit button: add + redirect to detail page for references - Removed layout top padding for seamless sticky behavior
* feat: navbar + split list/catalog into separate pagesMartin Kagamino Lehoux2026-07-27
| | | | | | | | - Navbar component with List, Catalog, Categories tabs - / = shopping list (unchecked items with add form) - /catalog = full catalog with toggle - /categories = category management - Removed page titles (navbar indicates context)
* feat: product references + grocery detail pageMartin Kagamino Lehoux2026-07-27
| | | | | | | | - references table (brand, price, unit, quality_score) with FK to groceries - /grocery/[id] page for managing references per item - Unit dropdown (€/kg, €/L, €/u) defaulting to €/kg - → link on all items navigates to detail page - Delete item moved from catalog to detail page
* feat: separate categories table + /categories management pageMartin Kagamino Lehoux2026-07-27
| | | | | | | | - Categories table (id, name unique) with FK from groceries.category_id - /categories page for add/delete categories - Main page uses native <select> dropdown for category - Categories grouped by name in list/catalog views - Regenerated drizzle migrations from scratch
* feat: catalog section + deduplicate items by nameMartin Kagamino Lehoux2026-07-27
| | | | | | | | - Show all items split into List (unchecked) and Catalog (checked) sections - Tapping a catalog item unchecks it (returns to list) - Add action now upserts: unchecks existing item instead of creating duplicate - UNIQUE constraint on groceries.name as defense-in-depth - Tests for dedup behavior (insert, re-add from catalog, no-op on list)
* feat: minimal grocery list — add items, check them offMartin Kagamino Lehoux2026-07-27
- Groceries DB schema (id, name, checked, created_at) with Drizzle + libsql - /+page.server.ts: load (unchecked items, newest first), add & toggle actions - /+page.svelte: text input + Add button, item list with toggle buttons - Mobile-first styling with scoped CSS classes - AGENTS.md: project-specific rules including UI validation