summaryrefslogtreecommitdiff
path: root/ext/bg
Commit message (Collapse)AuthorAge
* Update clipboard options organization (#1318)toasted-nutbread2021-01-26
| | | | | | | | | | | * Update options organization * Update general.enableClipboardPopups to clipboard.enableBackgroundMonitor * Update general.enableClipboardMonitor to clipboard.enableSearchPageMonitor * Update general.maximumClipboardSearchLength to clipboard.maximumSearchLength * Update general.autoSearchClipboardContent to clipboard.autoSearchContent
* Fix missing options for _onDisplayOptionsUpdated invocation (#1317)toasted-nutbread2021-01-26
|
* Fix search box resizing (#1316)toasted-nutbread2021-01-25
| | | | | * Don't resize the search box unless it's necessary * Allow search box to shrink under certain circumstances
* Fix clipboard monitor not persisting (#1315)toasted-nutbread2021-01-25
| | | | | | | * Add optionsUpdated event to Display * Update this._clipboardMonitorEnabled * Update settings to ensure no unexpected behaviour
* Clipboard lookup skip option (#1314)toasted-nutbread2021-01-25
| | | | | | | | | * Add autoSearchClipboardContent option * Hide header if there is any search text * Add setting for autoSearchClipboardContent * Add support for autoSearchClipboardContent
* Defer load of iframe on the settings page (#1313)toasted-nutbread2021-01-25
|
* Update Basic Usage section of the readme (#1307)toasted-nutbread2021-01-24
| | | | | * Update the Basic Usage section of the readme * Update wording on welcome page to match readme
* Update badges (#1309)toasted-nutbread2021-01-24
| | | | | | | * Update badge indications to be based off current profile * Update warning badge to display when no dictionaries are enabled * Show how many dictionaries are enabled
* Replace "Disabled" with "None", for better terminology consistency (#1304)toasted-nutbread2021-01-23
|
* Multiple custom audio sources (#1303)toasted-nutbread2021-01-23
| | | | | | | | | | | | | | | * Fix label * Fix icon size being flexible * Add schema * Add customSourceType option * Update settings * Pass customSourceType to the audio downloader * Implement custom audio JSON mode
* Audio button menu (#1302)toasted-nutbread2021-01-23
| | | | | | | | | * Fix popup menus not stoping events * Ensure non-stale use of buttons * Enable popup menus on the popup/search pages * Add audio menu
* 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