Commit 561c61d
committed
fix(webapp): suppress sheet spinner on bg reload + uniquify form id
- UpsertScheduleForm: derive a per-schedule `useForm` id
(`edit-schedule-{friendlyId}` vs `create-schedule`) so both sheets
can coexist in the DOM without clashing `htmlFor` targets or
conform's internal error routing.
- ScheduleSheet: drop `detailFetcher.state === "loading"` from
`isDetailLoading`. The stale-schedule and no-data-yet checks already
cover the cases where we genuinely lack good data; a background
reload (e.g. after enable/disable) now keeps the inspector visible
with its current values until the fresh data arrives, instead of
flashing a spinner.1 parent f1da4da commit 561c61d
2 files changed
Lines changed: 7 additions & 4 deletions
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
653 | 656 | | |
654 | | - | |
655 | | - | |
656 | | - | |
| 657 | + | |
657 | 658 | | |
658 | 659 | | |
659 | 660 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
185 | 187 | | |
186 | 188 | | |
187 | 189 | | |
| |||
0 commit comments