mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-21 17:26:42 +02:00
feat(manacore/web): add habits module with tally board, inline create, and detail view
New habit tracking module: define habits (emoji, color, daily target), tap to log with timestamp, view streaks and 7-day charts. Includes workbench ListView with inline creation, full-page detail view, and drag/drop entity integration. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
0af8c7cec6
commit
5828f60934
21 changed files with 2455 additions and 1 deletions
|
|
@ -11,7 +11,16 @@
|
|||
|
||||
// ── Drag types ──────────────────────────────────────────────
|
||||
|
||||
export type DragType = 'tag' | 'task' | 'card' | 'photo' | 'file' | 'event' | 'link' | 'contact';
|
||||
export type DragType =
|
||||
| 'tag'
|
||||
| 'task'
|
||||
| 'card'
|
||||
| 'photo'
|
||||
| 'file'
|
||||
| 'event'
|
||||
| 'link'
|
||||
| 'contact'
|
||||
| 'habit';
|
||||
|
||||
export interface DragPayload<T = Record<string, unknown>> {
|
||||
type: DragType;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue