Diego Rodrigues de Sa e Souza
c49757b3b8
feat(dashboard): Done button in model picker for combo creation
...
Adds an opt-in `keepOpenOnSelect` prop to `ModelSelectModal`. When the
combos page sets it, picking a model no longer auto-closes the modal and
a full-width "Done" button is rendered in the footer (via Modal's
`footer` slot) so users can add several models in a row and confirm
explicitly. All other single-select callers keep the existing
auto-close-on-select behaviour (the prop is off by default). When
`multiSelect` is on, the existing Clear+Done footer wins to avoid two
competing footers.
The upstream JS variant gates the Done button on `!closeOnSelect`.
TDD coverage: tests/unit/ui/model-select-modal-keep-open.test.tsx
asserts the Done button is absent by default, present when
`keepOpenOnSelect=true`, fires only `onClose` (not a stray `onSelect`),
and that `multiSelect` still renders exactly one Done button.
Inspired-by: decolua/9router#1031
Co-authored-by: Zanuar Tri Romadon <triromadon@gmail.com >
2026-06-21 14:09:46 -03:00
..
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-19 06:49:01 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-21 08:56:51 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-20 14:55:24 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-20 14:55:24 -03:00
2026-06-01 14:30:17 -03:00
2026-06-20 14:55:24 -03:00
2026-06-17 02:43:21 -03:00
2026-06-17 19:26:32 -03:00
2026-06-14 10:45:22 -03:00
2026-06-14 10:45:22 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-19 06:49:01 -03:00
2026-06-19 06:49:01 -03:00
2026-06-15 03:32:11 -03:00
2026-06-19 06:49:01 -03:00
2026-06-14 10:45:22 -03:00
2026-06-21 14:02:56 -03:00
2026-06-17 02:43:21 -03:00
2026-06-21 08:56:51 -03:00
2026-06-21 08:56:51 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-14 10:45:22 -03:00
2026-06-19 06:49:01 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-15 03:32:11 -03:00
2026-06-01 14:30:17 -03:00
2026-06-15 03:32:11 -03:00
2026-06-21 08:56:51 -03:00
2026-06-14 10:45:22 -03:00
2026-06-14 10:45:22 -03:00
2026-06-14 10:45:22 -03:00
2026-06-07 07:20:02 -03:00
2026-06-05 13:12:52 -03:00
2026-06-01 14:30:17 -03:00
2026-06-19 06:49:01 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-21 14:09:46 -03:00
2026-06-05 13:12:52 -03:00
2026-06-19 06:49:01 -03:00
2026-06-21 14:02:56 -03:00
2026-06-19 06:49:01 -03:00
2026-06-20 14:55:24 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-17 19:26:32 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-19 06:49:01 -03:00
2026-06-01 14:30:17 -03:00
2026-06-17 19:26:32 -03:00
2026-06-12 23:49:22 -03:00
2026-06-10 13:49:08 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-21 08:56:51 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-19 06:49:01 -03:00
2026-06-14 10:45:22 -03:00
2026-06-17 02:43:21 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-01 14:30:17 -03:00
2026-06-14 10:45:22 -03:00