-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: custom text modal rework (#5278)
* start work on saved texts popup * passing options through, async fill to not block animation * handle apply * custom text modal start * full save custom text modal refactor * remove import * full finish on saved texts modal * fill when chain re-shows it * fix issues where opening chains within chains would show two modals * extract type * add support for passing data between modals * dont leave the popup if no words were found * use modalchaindata instead of setting popup state directly * handling set and append modes in chain data * move tab insertion code into the custom text modal file * use chain data instead of state module * move event handlers to a different file / to the setup function * move file * rename file * rename id * remove unused line * add generics to incoming and outgoing modal chain data * rework the way custom text textarea is handled * update long custom text warning * remove variable * remember to update the state
- Loading branch information
Showing
21 changed files
with
826 additions
and
885 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.