Commit e446094
committed
feat(ui): implement project organization and multi-selection support
Introduces first-class project support throughout the application, including:
- Task model updates to support a `project` field.
- New `ProjectSwitcher` UI component and `ctrl+e` keybinding.
- Configuration options for default projects and switcher behavior.
- Database migrations to persist project data.
- UI enhancements for project display in headers, task details, and editors.
Adds multi-selection capabilities to the task list:
- Toggle selection with `Space`.
- Bulk actions (complete/delete) for selected tasks.
- Visual indicators for selected items.
Implements tag highlighting via configuration:
- Support for custom hex codes and theme-aware `ui-*` aliases.
- Dynamic tag styling in the task list.
Other changes:
- Added task duplication functionality (`ctrl+d`).
- Updated keybindings to accommodate new features.
- Improved task editor with dedicated project input.1 parent 7d879b2 commit e446094
22 files changed
Lines changed: 637 additions & 223 deletions
File tree
- configs
- internal
- app
- config
- core
- lua
- search
- service
- storage
- ui
- detail
- editor
- help
- keymap
- styles
- tasklist
- theme
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
8 | 37 | | |
9 | 38 | | |
10 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
100 | 110 | | |
101 | 111 | | |
102 | 112 | | |
103 | 113 | | |
104 | 114 | | |
105 | 115 | | |
106 | 116 | | |
| 117 | + | |
107 | 118 | | |
108 | 119 | | |
109 | | - | |
110 | | - | |
| 120 | + | |
| 121 | + | |
111 | 122 | | |
112 | 123 | | |
| 124 | + | |
| 125 | + | |
113 | 126 | | |
114 | 127 | | |
115 | 128 | | |
116 | 129 | | |
117 | 130 | | |
118 | 131 | | |
119 | | - | |
| 132 | + | |
120 | 133 | | |
121 | 134 | | |
122 | 135 | | |
| |||
272 | 285 | | |
273 | 286 | | |
274 | 287 | | |
275 | | - | |
| 288 | + | |
276 | 289 | | |
277 | 290 | | |
278 | 291 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | | - | |
5 | | - | |
6 | 3 | | |
7 | | - | |
8 | | - | |
9 | 4 | | |
10 | | - | |
11 | | - | |
12 | 5 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | 6 | | |
19 | | - | |
20 | | - | |
21 | | - | |
| 7 | + | |
22 | 8 | | |
23 | | - | |
24 | | - | |
25 | 9 | | |
26 | 10 | | |
| 11 | + | |
27 | 12 | | |
28 | | - | |
29 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
30 | 17 | | |
31 | 18 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 19 | + | |
35 | 20 | | |
36 | 21 | | |
37 | | - | |
38 | | - | |
39 | 22 | | |
40 | 23 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | 24 | | |
54 | | - | |
55 | 25 | | |
56 | 26 | | |
57 | 27 | | |
58 | 28 | | |
59 | | - | |
60 | | - | |
61 | 29 | | |
62 | | - | |
63 | 30 | | |
64 | 31 | | |
65 | | - | |
66 | | - | |
67 | 32 | | |
68 | | - | |
69 | 33 | | |
70 | 34 | | |
71 | 35 | | |
72 | 36 | | |
73 | | - | |
74 | | - | |
75 | 37 | | |
76 | 38 | | |
77 | 39 | | |
78 | 40 | | |
79 | 41 | | |
80 | | - | |
81 | 42 | | |
82 | 43 | | |
83 | 44 | | |
84 | 45 | | |
85 | | - | |
86 | 46 | | |
87 | 47 | | |
88 | | - | |
89 | 48 | | |
90 | 49 | | |
91 | 50 | | |
92 | 51 | | |
93 | 52 | | |
94 | 53 | | |
95 | | - | |
96 | 54 | | |
97 | | - | |
98 | 55 | | |
99 | | - | |
| 56 | + | |
100 | 57 | | |
101 | 58 | | |
102 | | - | |
103 | 59 | | |
104 | 60 | | |
105 | 61 | | |
| |||
108 | 64 | | |
109 | 65 | | |
110 | 66 | | |
111 | | - | |
| 67 | + | |
0 commit comments