aboutsummaryrefslogtreecommitdiff
path: root/ext/bg
Commit message (Collapse)AuthorAge
* Update popup menu structure (#1301)toasted-nutbread2021-01-23
| | | | | | | | | * Wrap menu items in popup-menu-body * Use bodyNode instead of node * Update selector * Update _setPosition to not use items
* Update text-color-light definitions to be more consistent (#1299)toasted-nutbread2021-01-23
|
* Remove unused settings2 CSS (#1298)toasted-nutbread2021-01-23
|
* Update display audio cache (#1292)toasted-nutbread2021-01-23
| | | | | | | | | | | | | * Use a standard map * Wrap function * Improve cache to support multiple different source arrays For the same reading/expression * Rename variable * Use null instead of an error
* Display audio update (#1291)toasted-nutbread2021-01-22
| | | | | | | * Move createExpressionAudio to DisplayAudio * Move createAudioFromInfo to DisplayAudio * Update TextToSpeechAudio
* Update audio validity checks to be based on the source (#1290)toasted-nutbread2021-01-22
|
* Fix numpad enter functioning differently than enter on the search page (#1289)toasted-nutbread2021-01-22
|
* Simplify CacheMap (#1287)toasted-nutbread2021-01-21
| | | | | | | | | * Simplify CacheMap, removing support for array path keys * Update keys * Update JsonSchemaValidator * Update AudioSystem
* Update data-menu-position to be space separated instead of comma separated ↵toasted-nutbread2021-01-21
| | | | (#1286)
* Move menu styles into material.css (#1283)toasted-nutbread2021-01-20
|
* Fix search page type (#1282)toasted-nutbread2021-01-20
|
* Fix missing script on the old setting page (#1281)toasted-nutbread2021-01-20
|
* Move popup-menu.js (#1280)toasted-nutbread2021-01-20
|
* Fix missing include on the welcome page (#1279)toasted-nutbread2021-01-19
|
* Update descriptions for configuring browser keyboard shortcuts (#1278)toasted-nutbread2021-01-19
|
* Menu refactor (#1277)toasted-nutbread2021-01-19
| | | | | | | | | | | | | | | | | | | | | * Rename menuOpened event to menuOpen * Rename menuClosed event to menuClose * Rename close event * Assign _isClosed * Reuse event detail * Expose PopupMenu.openMenus * Rename and expose properties * Add cancelable argument to close * Update menuOpen detail * Update menuClose detail
* Audio system refactoring (#1275)toasted-nutbread2021-01-18
| | | | | | | | | | | | | | | * Simplify details * Simplify audio creation * Return an array of sources instead of a single item * Use sourceIndex instead of index * Rename APIs * Return more info about the source * Return source instead of sourceIndex
* Backend options update (#1274)toasted-nutbread2021-01-18
| | | | | | | * Update how _onCommandToggleTextScanning changes settings * Make getFullOptions/getOptions private * Remove unused isPrepared
* Hotkey help controller (#1272)toasted-nutbread2021-01-18
| | | | | | | | | | | * Create HotkeyHelpController * Expose getAllTemplates * Update hotkeys on the context page * Update hotkeys on the display pages * Fix display issue where a hotkey used to be defined but no longer is
* Command refactor (#1271)toasted-nutbread2021-01-18
| | | | | * Change selectors * Change openHelpPage to openInfoPage
* Hotkey util (#1270)toasted-nutbread2021-01-18
| | | | | | | | | * Create HotkeyUtil * Create tests * Use HotkeyUtil * Fix issues
* Display audio (#1269)toasted-nutbread2021-01-18
| | | | | * Update display definition/definition node handling * Separate display audio controls into a separate class
* Audio system improvements (#1268)toasted-nutbread2021-01-17
| | | | | * Simplify API * Move fallback audio
* Update copyHostSelection to be popup-only (#1267)toasted-nutbread2021-01-17
|
* Add support for frontend hotkeys; add scanSelectedText action (#1266)toasted-nutbread2021-01-17
| | | | | | | * Add support for frontend hotkeys; add scanSelectedText action * Remove unused global * Remove duplicate hotkey handler script
* Hotkey forwarding support (#1263)toasted-nutbread2021-01-17
| | | | | | | | | * Add support for allowing HotkeyHandler to forward hotkeys * Update hotkey registration * Pass HotkeyHandler instance into Display* constructor * Implement hotkey forwarding
* Text scanner improvements (#1261)toasted-nutbread2021-01-17
| | | | | | | | | | | | | | | | | * Add support for allowing TextScanner.search to force focus * Simplify query parser searched event forwarding * Defer fallback creation * Simplify event listeners * Change type to pointerType * Change cause to eventType * Change empty to passive; make .search function passive * Remove unused input index
* If scopes are now empty but weren't previously, add all valid scopes (#1259)toasted-nutbread2021-01-16
|
* Update keyboard shortcut controller (#1258)toasted-nutbread2021-01-16
| | | | | | | * Change attribute * Update hidden style * Hide scope checkboxes when they are not supported for that action
* Update default settings page (#1254)toasted-nutbread2021-01-16
| | | | | | | | | * Update settings v2 to be the default for existing users * Update information on the old settings page * Update information on the new settings page * Update tests
* Clarify Anki card type dropdown (#1253)toasted-nutbread2021-01-16
|
* Shorten options upgrade list (#1252)toasted-nutbread2021-01-16
|
* Stroke count marker (#1251)toasted-nutbread2021-01-16
| | | | | | | | | * Add stroke-count definition * Update options * Update documentation * Add helper
* Refactor hotkey handling (#1250)toasted-nutbread2021-01-16
| | | | | * Create HotkeyHandler * Update Display to use HotkeyHandler
* Update extension shortcuts (#1246)toasted-nutbread2021-01-16
| | | | | * Update commands * Add command to open the popup window
* Popup window options (#1245)toasted-nutbread2021-01-16
| | | | | | | | | | | | | | | * Add popupWindow options * Add toBoolean converter * Add settings * Use new options * Add test link * Fix window state not working * Make the window section advanced only
* Update hotkey issues (#1244)toasted-nutbread2021-01-15
| | | | | * Scroll to the bottom when adding inputs * Skip if empty action
* Add hotkeys to change dictionary (#1243)toasted-nutbread2021-01-15
| | | | | * Add nextEntryDifferentDictionary and previousEntryDifferentDictionary hotkeys * Update settings
* Separate close hotkey (#1242)toasted-nutbread2021-01-15
| | | | | | | * Add focusSearchBox hotkey * Update close hotkey action * Update hotkeys
* Fix note context on settings page (#1241)toasted-nutbread2021-01-15
|
* Support suspending new anki cards (#1240)toasted-nutbread2021-01-14
| | | | | | | | | | | * Add new option: anki.suspendNewCards * Update Anki APIs * Suspend card based on options * Add setting * Disable wrap for toggle property
* Fix profile conditions issues (#1239)toasted-nutbread2021-01-14
| | | | | | | | | * Add an event for when the number of profile conditions changes * Update count * Fix stale data being used * Add "Remove group" option
* Clarify some settings descriptions (#1238)toasted-nutbread2021-01-14
| | | | | | | | | * Clarify the meaning of the 'None' option; rename to 'No key' * Clarify Auto-hide search popup * Clarify Scan delay * Move Support inputs for devices with touch screens; make advanced
* Add reset input to profile condition (#1237)toasted-nutbread2021-01-14
| | | | | * Add _setType and _setOperator * Add reset value menu option
* Hotkeys (#1236)toasted-nutbread2021-01-14
| | | | | | | | | | | * Set up hotkey inputs * Improve key display * Add setInput * Add KeyboardShortcutController * Update how display handles hotkeys
* Convert getDefaultOptions to a utility function (#1235)toasted-nutbread2021-01-14
|
* Use code instead of key (#1234)toasted-nutbread2021-01-14
| | | | | | | * Update KeyboardMouseInputField to use .code instead of .key * Update Display to use .code instead of .key * Remove unused function
* Search key handling refactor (#1233)toasted-nutbread2021-01-14
| | | | | | | | | * Move super invocation * Move active element check * Simplify key handling * Remove unused
* Update KeyboardMouseInputField (#1232)toasted-nutbread2021-01-14
| | | | | | | | | | | | | * Assign missing type * Update KeyboardMouseInputField to use an array instead of a string * Use "modifiers" instead of "value" or "inputs" * Simplify * Add support for using keys * Use bool args instead of a string
* Anki note data abstraction (#1228)toasted-nutbread2021-01-12
| | | | | | | | | | | | | | | | | | | | | | | * Create AnkiNoteData * Create AnkiNoteDataDefinitionProxyHandler * Update media injection * Create AnkiNoteDataDefinitionSecondaryProperties * Update note context format * Expose url and cloze on definition * Simplify for understandability * Remove unused _createNoteData * Update public object * Remove trims on sentence, since it should already be trimmed * Fix unused global