monkeytype/frontend/static
Jack 3c4212b718
refactor: commandline (#5180)
* initial rewrite

* remove title

* remove from dom on hide

* actual command dom
show active
keep active in view
update active index on keypress

* global event only shows commandline

* impr(dev): showing notifications with unhandled errors

* rename functions

* handle hover functions
handle nesting
handle exec
attaching handlers once

* void promise

* no need for async

* move font preview to ui

* add configkey to command

* add function to build single list

* add mouse mode
clearing preview on hide
add config icon

* using new function

* use fw icon

* fix incorrect type

* extract logic

* add support for input commands

* unused error

* update single list

* chevron icon margin

* only focusing when no popups and words are visible

* extract condition

* better type

* remove no icon

* only showing when nothing is already visible

* commandline lists no longer modify the commandline element
dynamically changing which funbox commnands are available
modified searching approach
showing active settings in single mode again
calling before list if needed

* ignore keydown on page transition

* add other ways to show the commandline

* always clearing previews

* incorrect icon being used

* extract logic

* support quick single list mode by starting input with >

* fix test words not being focused

* showing all if in quick single mode

* remove unused code

* rename entry to command

* remove more unused code

* add data- prefix

* rename to data-command-id

* fix input commands not refocusing words

* fix fontsize change not working as intended

* set active index to 0 when going back

* keeping active command in view

* remove console logs

* fix quick single mode

* move file

* add footer events

* add option for subgroup override
fix issue where commands would get hidden after clearing input field
fixed auto scrolling in mouse mode

* rename commands to lists

* add background after to avoid flashing

* getting config key from active subgroup

* updating active command after removing hidden class but before animating

* fix nasty hover behavior

* updating active before animation showing, keeping active after

* add keymap event

* remove comments

* invert if, use return, combine ifs to reduce nesting

* add test event

* popups events

* fix some commands not showing up on a single list

* use new animated modal

* use regex escaping function from misc

* add singlelistdisplay and singlelistdisplaynoicon properties

* add more navigation aliases

* not adding alias if not needed

* rework command filtering

* fix active icon not working

* add custom hide handlers

* fix active command not being kept in view after showing

* unused imports

* remove commandlinelists imports from other files

* delete old file

* remove unused file

* import commandline dynamically

* fix: if skeleton has wrapper, append before building animated modal

* using new parameters

* save skeleton on ready

* rename folder

* add util to get async modules

* remove empty imports

* remove unnecessary code

* unnecessary void

* catching errors and notifying user

* better error message

* making sure all the lists are fetched before getting the single command list

* add tab navigation
2024-03-05 19:34:35 +01:00
..
.well-known chore: expire security.txt 2024-06-03 (#5156) 2024-02-29 13:03:04 +01:00
about chore: update supporters 2024-01-30 22:51:25 +01:00
challenges revert: sourcecode text change 2023-08-22 22:24:47 +02:00
css refactor: replace select2 with slim-select (#5065) 2024-02-17 12:12:15 +01:00
fonts feat(font): add CommitMono (#4887) m2x07 2024-01-08 15:04:23 +01:00
funbox fix(funbox): missing background image and extra scrolling in space balls (yunfachi) (#4872) 2023-12-20 16:08:23 +01:00
images chore: add plushie banner 2024-03-01 17:39:46 +01:00
languages fix: remove °C from estorian language (fehmer) (#5178) 2024-03-04 14:02:04 +01:00
layouts feat(layout): add ergo‑l (anakojm) (#5001) 2024-02-05 14:13:00 +01:00
quotes fix(quote): missing dash 2024-03-05 18:32:49 +01:00
sound feat(sounds): add fist fight and rubber keys (Absalon43) (#4984) 2024-02-08 12:01:18 +01:00
themes refactor: commandline (#5180) 2024-03-05 19:34:35 +01:00
webfonts feat(font): add CommitMono (#4887) m2x07 2024-01-08 15:04:23 +01:00
robots.txt added sitemap link 2023-01-16 02:21:16 +01:00
sitemap.xml added sitemap 2023-01-16 01:48:48 +01:00