aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/settings
Commit message (Collapse)AuthorAge
* Modal refactor (#1335)toasted-nutbread2021-01-30
| | | | | | | | | * Rename modal-container to modal * Update how modal IDs are handled * Fix invalid modal check * Update modal IDs
* Permissions requesting fixes (#1334)toasted-nutbread2021-01-30
| | | | | | | | | * Fix permissions requests not occurring during user interaction * Update toggle after changing permissions * Update functions * Update clipboard requests
* Fix the alt key opening the menu in KBM input fields on Firefox (#1332)toasted-nutbread2021-01-30
|
* Add note errors (#1329)toasted-nutbread2021-01-30
| | | | | | | | | | | | | | | | | | | * Update _addAnkiNote to track errors * Change comparison * Update anki note adding to show errors * Fix template * Show errors when Anki card creation behaves unexpectedly * Update some errors related to anki media injection * Update addAnkiNote error handling * Improve Anki errors * Simplify error messages related to template rendering
* Remove the dictionary tag from the definitionTags (#1324)toasted-nutbread2021-01-28
| | | | | | | | | | | * Remove dictionary tag from term definitionTags and kanji tags * Update test data * Update templates * Update tests * Update information
* Clipboard settings organization (#1319)toasted-nutbread2021-01-26
| | | | | | | | | | | | | * Create clipboard icon * Move clipboard options * Update clipboard options * Update labels * Add info * Update all clipboard settings to request permissions
* 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
* 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
* 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
* Display audio update (#1291)toasted-nutbread2021-01-22
| | | | | | | * Move createExpressionAudio to DisplayAudio * Move createAudioFromInfo to DisplayAudio * Update TextToSpeechAudio
* Move popup-menu.js (#1280)toasted-nutbread2021-01-20
|
* 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
* Hotkey util (#1270)toasted-nutbread2021-01-18
| | | | | | | | | * Create HotkeyUtil * Create tests * Use HotkeyUtil * Fix issues
* Audio system improvements (#1268)toasted-nutbread2021-01-17
| | | | | * Simplify API * Move fallback audio
* 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
* Stroke count marker (#1251)toasted-nutbread2021-01-16
| | | | | | | | | * Add stroke-count definition * Update options * Update documentation * Add helper
* 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
* Fix note context on settings page (#1241)toasted-nutbread2021-01-15
|
* 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
* 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
* Refactor anki note building (#1223)toasted-nutbread2021-01-10
| | | | | | | | | | | * Move TemplateRendererProxy creation into AnkiNoteBuilder * Simplify _stringReplaceAsync * Organize note generation * Rename API * Make the template rendering function more generic
* Core refactor (#1207)toasted-nutbread2021-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | * Copy set intersection functions * Remove unused functions * Simplify url check * Remove parseUrl * Simplify stringReverse * Remove hasOwn due to infrequent use * Rename errorToJson/jsonToError to de/serializeError For clarity on intended use. * Fix time argument on timeout * Add missing return value * Throw an error for unexpected argument values * Add documentation comments
* Fix AnkiCardController using stale data (#1204)toasted-nutbread2021-01-06
|
* Refactor anki note generation (#1202)toasted-nutbread2021-01-03
| | | | | | | * Create _injectAnkiNoteMedia function * Remove unused code path * Simplify modeOptions
* Update copyright year (#1194)toasted-nutbread2021-01-01
| | | | | * Update copyright year * Remove redundant Author info
* Simplify glossary layout setting (#1188)toasted-nutbread2020-12-31
| | | | | * Add conditionalConvert transform * Convert glossaryLayoutMode option to a toggle
* Improve settings transforms (#1187)toasted-nutbread2020-12-31
|
* Improve location of Anki error message (#1180)toasted-nutbread2020-12-30
|
* Rename PopupElement to PanelElement; split classes into separate files (#1173)toasted-nutbread2020-12-29
|
* Improve element hiding (#1171)toasted-nutbread2020-12-28
| | | | | * Use multi-line definition for transition * Update how PopupElement visibility is controlled
* Update the popup preview to always be visible on the settings v2 page (#1151)toasted-nutbread2020-12-20
|
* Settings v2 modal size toggle (#1149)toasted-nutbread2020-12-20
| | | | | | | | | | | | | * Add collapse/expand icons * Update header layout * Allow size animation * Add styles for modal header buttons * Support action buttons * Update modals to support size changing
* Dictionary display updates (#1146)toasted-nutbread2020-12-20
| | | | | | | | | | | | | | | | | * Display dictionary-list as flex * Move styles * Move enabled toggle * Update details * Disable sorting based on priority * Update styles * Update title color when disabled * Update display style of secondary search dictionaries
* Indicate if first Anki card field is invalid (#1145)toasted-nutbread2020-12-20
| | | | | * Add AnkiNoteBuilder.containsAnyMarker * Flag first field as invalid when there is no marker
* Improve styles for invalid inputs (#1143)toasted-nutbread2020-12-20
|
* Display an indication when Anki field order/existence doesn't match (#1119)toasted-nutbread2020-12-18
|
* Include permissions info in backup files (#1116)toasted-nutbread2020-12-16
|
* Updated welcome page (#1107)toasted-nutbread2020-12-13
| | | | | | | | | | | | | | | * Make storage controller optional * Make more elements optional * Update styles * Create new welcome page * Update URL for welcome guide * Remove old guide * Fix unused global
* Fix storage stats update error during dictionary deletion (#1106)toasted-nutbread2020-12-13
|
* Add info page (#1102)toasted-nutbread2020-12-12
| | | | | | | | | | | * Add api.getAnkiConnectVersion * Enable basic functionality when certain features/elements aren't present * Add info page * Update information links * Update info link on the settings v2 page
* Fix global declarations check (#1101)toasted-nutbread2020-12-12
| | | | | * Fix getSubstringCount not properly checking word boundaries * Remove unused global declarations
* JapaneseUtil normalization (#1076)toasted-nutbread2020-11-29
| | | | | * Use JapaneseUtil as a class which is manually instantiated * Use alias function for toKana
* Fix outer CSS being incorrectly injected (#1075)toasted-nutbread2020-11-29
|
* Frequencies marker (#1074)toasted-nutbread2020-11-28
| | | | | | | | | | | * Update japanese.js tests * Simplify fallback/early exit * Add overloads to furigana and furiganaPlain handlebars helper functions * Expose unique expression/reading arrays (and subsequently counts) * Add {frequencies} marker
* Display style updates (#1072)toasted-nutbread2020-11-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add variables for tag styles * Add variable for compact list separator * Improve compactness of pitch accents * Improve kanji link styles * Improve coloring for lists * Move styles * Update styles for lists * Move conditional styles * Simplify definitions * Remove unused styles * Cleanup * Use strings for dataset properties * Don't always collapse pitch accents