feat(todos): refonte formulaire + chips domaines + non-zoomable
- TodoForm : domaines en chips multi-select colorés, priorité en 3 boutons colorés (haute/moyenne/basse), date initialisée à aujourd'hui, description et URL toujours visibles, boutons photo et GPS - TodosPage : suppression filtres domaine/priorité, tags colorés par domaine dans les lignes, userSelect:none, groupage multi-domaines - todos.ts : ajout domains[], photo_path, gps_lat/lng dans les interfaces TS - index.html : viewport maximum-scale=1.0, user-scalable=no Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -4,13 +4,16 @@ export interface Todo {
|
||||
title: string
|
||||
body: string | null
|
||||
url: string | null
|
||||
domain: string | null
|
||||
domains: string[]
|
||||
category: string | null
|
||||
tags: string[]
|
||||
status: 'pending' | 'done' | 'cancelled'
|
||||
priority: 'low' | 'medium' | 'high'
|
||||
due_date: string | null
|
||||
postponed_count: number
|
||||
photo_path: string | null
|
||||
gps_lat: number | null
|
||||
gps_lng: number | null
|
||||
created_at: string
|
||||
updated_at: string | null
|
||||
owner_id: string | null
|
||||
@@ -21,11 +24,15 @@ export interface TodoCreate {
|
||||
body?: string
|
||||
url?: string
|
||||
domain?: string
|
||||
domains?: string[]
|
||||
category?: string
|
||||
tags?: string[]
|
||||
status?: 'pending' | 'done' | 'cancelled'
|
||||
priority?: 'low' | 'medium' | 'high'
|
||||
due_date?: string
|
||||
photo_path?: string
|
||||
gps_lat?: number
|
||||
gps_lng?: number
|
||||
}
|
||||
|
||||
export interface TodoUpdate {
|
||||
@@ -33,11 +40,15 @@ export interface TodoUpdate {
|
||||
body?: string
|
||||
url?: string
|
||||
domain?: string
|
||||
domains?: string[]
|
||||
category?: string
|
||||
tags?: string[]
|
||||
status?: 'pending' | 'done' | 'cancelled'
|
||||
priority?: 'low' | 'medium' | 'high'
|
||||
due_date?: string
|
||||
photo_path?: string
|
||||
gps_lat?: number
|
||||
gps_lng?: number
|
||||
}
|
||||
|
||||
export interface TodoFilters {
|
||||
|
||||
Reference in New Issue
Block a user