Repository navigation
Commit 6e21b52
committed
Consolidate preview ongoing modal logic into PanelProvider to prevent duplicate modal displays
- instead of [Fragment], the panel provider should have dedicated method that checks if there is a response history item that has 'files' undefined. if so, should not show 'preview ongoing' modal
- the logic in panel_provider.show_preview_ongoing_modal doesn't work because the response without 'files' is already there1 parent c19d090 commit 6e21b52
2 files changed
Lines changed: 17 additions & 3 deletions
File tree
- apps/editor/src
- commands/apply-chat-response-command
- views/panel/backend
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
114 | | - | |
| 112 | + | |
115 | 113 | | |
116 | 114 | | |
117 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
667 | 667 | | |
668 | 668 | | |
669 | 669 | | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
670 | 686 | | |
671 | 687 | | |
672 | 688 | | |
| |||
0 commit comments