José Almeida
08aa04c505
refactor(web): move task-create-dialog prop builders to sibling file
...
3a0c45a0 introduced buildDialogFormBodyProps + buildDialogFooterProps
to slim TaskCreateDialog under the function-line cap, but adding them
in-file pushed task-create-dialog.tsx to 612 raw lines. Local eslint
still passes (skipBlankLines + skipComments brings the effective count
under 600), but Claude's review flagged the raw-line growth as a
blocker — and the prop builders are pure projections from setup state
to plain JS objects, no JSX, so they belong outside the component
module anyway.
Move computeHasAllBranches and both builders to a new
task-create-dialog-prop-builders.ts. Export TaskCreateDialogProps and
useTaskCreateDialogSetup from dialog.tsx so the builders can derive
their parameter types via ReturnType<typeof useTaskCreateDialogSetup>.
task-create-dialog.tsx: 612 → 522 raw lines.
2026-05-13 00:14:28 +01:00
..
2026-03-13 00:44:06 +00:00
2026-05-02 20:26:42 +01:00
2026-04-27 10:22:58 +01:00
2026-05-12 18:06:14 +01:00
2026-05-03 16:15:28 +01:00
2026-05-03 20:48:10 +01:00
2026-05-10 19:44:56 +01:00
2026-05-05 08:28:09 +01:00
2026-05-04 07:46:56 +01:00
2026-05-11 22:40:36 +01:00
2026-05-03 16:15:28 +01:00
2026-05-02 20:26:42 +01:00
2026-04-24 17:14:03 +01:00
2026-05-07 00:44:44 +01:00
2026-05-11 23:02:20 +01:00
2026-05-02 18:53:59 +01:00
2026-05-05 09:03:42 +01:00
2026-05-01 21:02:41 +01:00
2026-05-12 23:39:12 +01:00
2026-04-17 23:12:45 +01:00
2026-05-02 20:26:42 +01:00
2026-02-19 22:18:01 +00:00
2026-05-01 13:24:12 +01:00
2026-05-02 20:26:42 +01:00
2026-05-08 16:32:06 +01:00
2026-05-08 16:32:06 +01:00
2026-02-19 22:18:01 +00:00
2026-02-24 00:48:55 +00:00
2026-03-07 18:55:03 +00:00
2026-04-25 23:53:43 +01:00
2026-02-19 22:18:01 +00:00
2026-04-15 13:22:32 +01:00
2026-05-12 01:10:22 +01:00
2026-04-27 22:50:08 +01:00
2026-02-19 22:18:01 +00:00
2026-04-01 23:29:49 +01:00
2026-05-12 18:54:14 +01:00
2026-05-01 15:18:18 +01:00
2026-05-01 15:18:18 +01:00
2026-05-10 19:44:56 +01:00
2026-05-05 14:13:43 +01:00
2026-05-11 13:33:18 +01:00
2026-05-05 14:13:43 +01:00
2026-05-05 14:13:43 +01:00
2026-05-11 17:51:26 +01:00
2026-05-11 17:51:26 +01:00
2026-05-05 14:13:43 +01:00
2026-05-05 14:13:43 +01:00
2026-05-05 14:13:43 +01:00
2026-05-01 21:02:41 +01:00
2026-05-11 13:33:18 +01:00
2026-02-19 22:18:01 +00:00
2026-05-01 15:18:18 +01:00
2026-05-04 07:46:56 +01:00
2026-05-10 19:44:56 +01:00
2026-02-19 22:18:01 +00:00
2026-03-29 15:33:40 +01:00
2026-03-05 00:47:58 +00:00
2026-04-20 22:31:09 +01:00
2026-04-20 13:44:24 +01:00
2026-02-19 22:18:01 +00:00
2026-02-19 22:18:01 +00:00
2026-04-16 10:14:45 +01:00
2026-05-03 22:45:52 +01:00
2026-05-03 22:45:52 +01:00
2026-05-04 21:10:32 +01:00
2026-05-01 21:02:41 +01:00
2026-05-12 01:10:22 +01:00
2026-05-12 23:39:12 +01:00
2026-05-12 23:39:12 +01:00
2026-05-04 21:11:22 +01:00
2026-05-12 23:39:12 +01:00
2026-04-25 23:53:43 +01:00
2026-04-25 23:53:43 +01:00
2026-05-03 16:15:28 +01:00
2026-05-12 01:10:22 +01:00
2026-05-02 20:26:42 +01:00
2026-05-05 22:05:01 +01:00
2026-05-12 01:10:22 +01:00
2026-05-02 20:26:42 +01:00
2026-05-04 21:11:22 +01:00
2026-05-04 21:11:22 +01:00
2026-05-03 16:15:28 +01:00
2026-05-11 22:58:54 +01:00
2026-05-13 00:14:28 +01:00
2026-05-04 17:22:28 +01:00
2026-05-12 01:10:22 +01:00
2026-05-02 20:26:42 +01:00
2026-05-03 16:15:28 +01:00
2026-05-12 01:10:22 +01:00
2026-05-12 01:10:22 +01:00
2026-05-01 21:02:41 +01:00
2026-05-12 23:39:12 +01:00
2026-05-12 01:10:22 +01:00
2026-05-12 23:39:12 +01:00
2026-05-13 00:14:28 +01:00
2026-05-01 18:01:17 +01:00
2026-02-19 22:18:01 +00:00
2026-02-19 22:18:01 +00:00
2026-03-05 00:47:58 +00:00
2026-05-02 20:26:42 +01:00
2026-05-02 20:26:42 +01:00
2026-05-12 18:54:14 +01:00
2026-02-19 22:18:01 +00:00