fceae5529d
## New: Projects - Project model, API, repository, Riverpod provider - ProjectListScreen: active/archived sections, create dialog, long-press status/delete - ProjectSelector widget: DropdownButtonFormField for note + task editors - Projects tab added to shell (bottom nav + navigation rail, 4th position) - /projects route registered in GoRouter ShellRoute ## Updated: Note model - Added tags: List<String>, projectId: int?, milestoneId: int? - NotesApi.create/update pass tags and project_id - NotesRepository and NotesNotifier signatures updated - NoteEditScreen: chip-based tag input + ProjectSelector ## Updated: Task model - Added projectId: int?, milestoneId: int?, parentId: int? - TasksApi.create passes project_id; update payload includes project_id - TasksRepository and TasksNotifier signatures updated - TaskEditScreen: ProjectSelector added; project_id sent on save ## Provider fix - ProjectsNotifier.update renamed to updateProject to avoid conflict with AsyncNotifier.update(FutureOr<State> Function(State)) base method Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
18 lines
598 B
Dart
18 lines
598 B
Dart
abstract class Routes {
|
|
static const splash = '/';
|
|
static const setup = '/setup';
|
|
static const login = '/login';
|
|
static const notes = '/notes';
|
|
static const noteDetail = '/notes/:id';
|
|
static const noteEdit = '/notes/:id/edit';
|
|
static const noteNew = '/notes/new';
|
|
static const tasks = '/tasks';
|
|
static const taskNew = '/tasks/new';
|
|
static const taskEdit = '/tasks/:id/edit';
|
|
static const projects = '/projects';
|
|
static const conversations = '/chat';
|
|
static const chat = '/chat/:id';
|
|
static const quickCapture = '/quick-capture';
|
|
static const settings = '/settings';
|
|
}
|