monkeytype/frontend
Sanidhya Singh 39e611d276
refactor(utils): distribute color, numbers, strings and other group of functions into separate util files from misc.ts (sanidhyas3s) (#5254)
* fix: Prevent theme switch when opening theme commandline from the footer

fixes #5103

* refactor(utils/misc): move functions and adjust usages
also renamed some functions for clarity
for #5187

* refactor(utils/misc): move color utils into separate file & add docstring
for #5187

* refactor(utils/misc): separte out number-related utils and more
add docstring to the functions in `utils/numbers`
also, move `getDiscordAvatarUrl` back into misc
because it was causing mt to not open somehow
for #5187

* refactor(utils/misc): move get-text functions into separate file & add docstring for them
    for #5187

* refactor(utils/misc): move get-data type functions into separate file & add docstrings
    for #5187

* Fix cyclic dependency by moving function

* Move strings utils to separate file and other minor changes to utils

* Shift Date & Time util functions to a separate file and add docstrings

* Shift more string functions to string util file

* separate out Arrays functions from misc utils

* Rename some utility files and move some functions

* lowercase filename

* rename module imports

* move ddr stuff into its own file

* temp file rename

* file rename

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-04-03 22:12:48 +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(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
static refactor: run prettier (#5265) 2024-04-02 15:01:25 +02:00
.eslintignore
.firebaserc_example
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
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