Moin
15. August 2024 um 09:16
1
Unabhängig davon, ob ich auf „Bestätigen“ oder „Zurücksetzen“ klicke, lautet der Text im Composer danach „SuperTool-Skript“.
Ich würde erwarten, dass es „supertool-Skript“ lautet, wenn ich zurücksetze.
4 „Gefällt mir“
keegan
(Keegan George)
16. August 2024 um 17:45
3
Danke @Moin , dass du das bemerkt hast! Dies sollte nun behoben sein mit:
main ← fix-diff-modal
opened 11:36PM - 15 Aug 24 UTC
In https://github.com/discourse/discourse-ai/pull/715, we refactored the compose… r helper menu to use `DMenu` instead of `popperJS`. Since the `AiComposerHelperMenu` component was an instance of `DMenu`, having modals defined in the component's template directly was likely resulting in various issues. For example, clicking anywhere on the `DiffModal` was closing the modal which led to issues such as [being unable to revert.](https://meta.discourse.org/t/the-revert-button-in-the-changes-popup-does-not-work/321783/2)
In this PR we update the usage of the Diff and Thumbnail Suggestion modals to be instantiated by the modal service using `this.modal.show()` instead of being directly defined in the template. This allows for the modals to work correctly.
3 „Gefällt mir“
keegan
(Keegan George)
Geschlossen,
17. August 2024 um 15:00
5
Dieses Thema wurde nach 21 Stunden automatisch geschlossen. Neue Antworten sind nicht mehr möglich.