Repository navigation
Commit 5288927
committed
Routines: one shared routine row and switch, On/Paused everywhere, Run now back as a row
- RoutineRow and RoutineSwitch (components/routines/routine-row.tsx): icon tile, the name as the
link, one line, a default Switch beside the link. The routine, goal and check-in writes are in
one hook. A failed switch says "Couldn't turn it on. Try again." (or off). Paused rows say
"Paused · <schedule>". routineCount() is the one count format.
- /routines draws each Bot's rows in one card with RoutineRow.
- Every page's switch says On or Paused. The goal page no longer says Active twice.
- Run now is a row again on the routine, goal and check-in pages. The header keeps the switch,
and Edit on a routine.
- The goal page's "Its ... start it." line is part of the page description.
- Advanced settings is a ghost Button.
- A run in progress says "Running now" on routine and goal pages.1 parent 1c56401 commit 5288927
13 files changed
Lines changed: 536 additions & 380 deletions
File tree
- app
- src
- components
- responsibilities
- routines
- suggestions
- lib/routines
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
| 273 | + | |
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
288 | 288 | | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | 289 | | |
306 | 290 | | |
307 | 291 | | |
308 | | - | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
309 | 303 | | |
310 | 304 | | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
| 305 | + | |
| 306 | + | |
324 | 307 | | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
325 | 338 | | |
326 | 339 | | |
327 | 340 | | |
| |||
597 | 610 | | |
598 | 611 | | |
599 | 612 | | |
600 | | - | |
| 613 | + | |
601 | 614 | | |
602 | 615 | | |
603 | 616 | | |
| |||
0 commit comments