Commit 1ffd7bc
committed
fix(web): auto-close popups after commit/cancel actions
Commit bar stayed visible showing "0 pending changes" after a
successful commit because the oob_save_ok template always included
the visible class. Now conditional on ChangeCount > 0.
Tool overlay confirm prompt stayed in the DOM after clicking Confirm
because only close/cancel had removal handlers. Added afterRequest
handler to remove the confirm overlay when the form completes.
Commit with conflicts returned a full page layout for HTMX requests,
breaking the diff modal. Now returns the modal fragment with the
conflict message so the user can see the error and cancel.1 parent 94b2bea commit 1ffd7bc
3 files changed
Lines changed: 24 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
582 | 582 | | |
583 | 583 | | |
584 | 584 | | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
585 | 592 | | |
586 | 593 | | |
587 | 594 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
832 | 832 | | |
833 | 833 | | |
834 | 834 | | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
835 | 851 | | |
836 | 852 | | |
837 | 853 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments