aboutsummaryrefslogtreecommitdiff
path: root/ext/bg
Commit message (Collapse)AuthorAge
* 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
* Refactor note document title (#1227)toasted-nutbread2021-01-12
| | | | | | | | | | | | | * Pass url into setContent * Update where url is checked from * Add documentTitle to state information * Update how _getNoteContext gets the document title * Update how url is fetched for options context * Pass document title in to 'searched' event
* Refactor text scanner options context generation (#1225)toasted-nutbread2021-01-11
| | | | | * Refactor how options context is created and updated * Udpate TextScanner/QueryParser to use getSearchContext instead of getOptionsContext
* Refactor display anki functions (#1224)toasted-nutbread2021-01-11
| | | | | | | | | | | * Refactor note adding/viewing functions * Move _addDefinition * Update where anki field templates are assigned * Update _createNote to not include options/templates arguments * Simplify getAnkiNoteInfo to not require duplicateScope
* 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
* Change popupActionBarLocation to top (#1222)toasted-nutbread2021-01-10
|
* Fix typo (#1218)toasted-nutbread2021-01-10
|
* Customizable sentence parsing (#1217)toasted-nutbread2021-01-10
| | | | | | | | | | | | | | | * Add new sentenceParsing options * Update TextScanner.setOptions * Assign terminator/quote maps * Pass sentence parsing info to extractSentence * Simplify setting * Add setting for enableTerminationCharacters * Create new settings for sentence termination characters
* Sentence parsing options (#1214)toasted-nutbread2021-01-09
| | | | | | | * Rename options.anki.sentenceExt to options.sentenceParsing.scanExtent * Create sentence parsing icon * Create new sentence parsing section
* Add links to settings v2 headings (#1212)toasted-nutbread2021-01-09
|
* 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
* CSS lint (#1201)toasted-nutbread2021-01-03
| | | | | | | | | | | | | * Use single quotes instead of double * Install stylelint * Set up config * Update package/tests * Fix lint issues * Update CSS rules
* Update permissions pages with info about MV3 permissions (#1200)toasted-nutbread2021-01-03
|
* Translator regex replacements (#1199)toasted-nutbread2021-01-03
| | | | | | | | | | | | | | | | | | | * Add support for regex replacements during the translation process * Allow assignment of textReplacements * Rename * Set up test data * Write expected data * Set up options * Prevent infinite loop if regex matches empty string * Implement setting controller * Add support for testing pattern replacements
* Group templates near their relevant modal definitions (#1198)toasted-nutbread2021-01-02
|
* Simplify collapseEmphaticOptions options (#1196)toasted-nutbread2021-01-01
|
* 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
|
* Fix incorrect body height on pitch accents preview page (#1186)toasted-nutbread2020-12-31
|
* Translator frequency data improvements (#1184)toasted-nutbread2020-12-30
| | | | | | | * Specify if a frequency has a specific reading * Make frequency data creation more standardized * Update test data
* Simplify CSS rule (#1182)toasted-nutbread2020-12-30
|
* Improve wrapping layout for small resolutions (#1181)toasted-nutbread2020-12-30
|
* Improve location of Anki error message (#1180)toasted-nutbread2020-12-30
|
* Add section heading comments (#1179)toasted-nutbread2020-12-30
|
* Split material css (#1175)toasted-nutbread2020-12-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Separate material styles into a separate file * Improve action button styles * Rename --font-size-default to --font-size * Remove px units * Remove some material vars * Fix some variable names * Define variables * Remove --shadow-vertical * Revert name change * Move var * Rename var * Update vars * Remove redundant vars * Update search styles * Update styles * Update colors * Update variable names * Include material.css on float.html page
* Fix modals not being hidden by default on the welcome page (#1174)toasted-nutbread2020-12-29
|
* Rename PopupElement to PanelElement; split classes into separate files (#1173)toasted-nutbread2020-12-29
|
* Remove top link code (#1172)toasted-nutbread2020-12-28
|
* Improve element hiding (#1171)toasted-nutbread2020-12-28
| | | | | * Use multi-line definition for transition * Update how PopupElement visibility is controlled
* Remove "Top" link from settings v2 page (#1169)toasted-nutbread2020-12-28
|