monkeytype/frontend
Jack ff7816aac0
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
2024-04-05 13:18:26 +02:00
..
__tests__ refactor(utils): distribute color, numbers, strings and other group of functions into separate util files from misc.ts (sanidhyas3s) (#5254) 2024-04-03 22:12:48 +02:00
docker chore: improve docker files for local development (#5157) 2024-03-04 16:10:22 +01:00
scripts chore: quote lengths script 2024-03-11 22:32:40 +01:00
src refactor: custom text modal rework (#5278) 2024-04-05 13:18:26 +02:00
static feat: add incognito theme (fehmer) (#5272) 2024-04-05 13:09:51 +02:00
.eslintignore
.firebaserc_example chore: add missing example file 2023-08-21 11:16:10 +02:00
firebase.json fix: dont rewrite static assets to index 2024-02-23 19:43:33 +01:00
gulpfile.js build: replace webpack with vite (#5096) 2024-02-22 02:24:20 +01:00
knip.json added knip to find unused exports 2023-08-10 18:32:33 +02:00
package-lock.json impr: replace JSONSchema with ajv for faster validation (sanidhyas3s) (#5145) 2024-03-11 20:00:10 +01:00
package.json impr: replace JSONSchema with ajv for faster validation (sanidhyas3s) (#5145) 2024-03-11 20:00:10 +01:00
tsconfig.json test: replace jest with vitest on frontend (fehmer) (#5105) 2024-02-26 12:23:50 +01:00
vite.config.js impr: add selfhosting using docker only (fehmer) (#5170) 2024-03-12 12:02:13 +01:00
vitest.config.js test: replace jest with vitest on frontend (fehmer) (#5105) 2024-02-26 12:23:50 +01:00