aboutsummaryrefslogtreecommitdiff
path: root/ext/bg
Commit message (Collapse)AuthorAge
* 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
|
* Change global.useSettingsV2 default value to true (#1168)toasted-nutbread2020-12-28
|
* Improve document focus control (#1167)toasted-nutbread2020-12-28
| | | | | | | | | * Improve styles for #content-scroll-focus * Create new class to manage and control document focus * Use new focus class * Add a check to prevent redundant .blur calls
* Change popupCurrentIndicatorMode default to triangle (#1161)toasted-nutbread2020-12-22
|
* Add window settings (#1160)toasted-nutbread2020-12-22
| | | | | * Add window icon * Move some options to a new "Window" section
* Move scanning options higher up (#1159)toasted-nutbread2020-12-22
|
* Fix missing data-setting target for scanning.enablePopupSearch (#1156)toasted-nutbread2020-12-21
|
* Improve settings item button styles (#1155)toasted-nutbread2020-12-21
| | | | | | | * Improve styles for settings-item-button * Add hover/active styles to settings-item-button * Use consistent phrasing for setting buttons and include ellipsis
* Improve query parser scanning (#1154)toasted-nutbread2020-12-21
| | | | | * Improve how the search page updates after settings have changed * Always update the history on the first scan of the query parser
* Update the popup preview to always be visible on the settings v2 page (#1151)toasted-nutbread2020-12-20
|
* Fix description of scanning.autoHideResults setting (#1150)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
* Settings v2 headings improvements (#1148)toasted-nutbread2020-12-20
| | | | | | | * Improve spacing on h2 * Add icons to headings * Clarify font-size
* Settings v2 icon improvements (#1147)toasted-nutbread2020-12-20
| | | | | | | | | | | * Update navigation icons * Improve outline layout, fixing badge indicators * Change attribute value * Update icon buttons * Update settings page
* 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
|
* Popup action bar options (#1140)toasted-nutbread2020-12-19
| | | | | | | | | | | | | * Add options for action bar visibility and location * Add settings * Update styles * Expose properties * Update styles * Update tests
* Update termTags for termGrouped mode to include all definition tags (#1138)toasted-nutbread2020-12-19
| | | | | * Update termTags for termGrouped mode to include all definition tags * Update tests
* Entry indicator update (#1134)toasted-nutbread2020-12-19
| | | | | | | | | | | | | | | | | | | | | | | * Move entry current indicator rules * Simplify rules * Add popupCurrentIndicatorMode option * Add option to settings page * Expose popupCurrentIndicatorMode * Restore asterisk current indicator * Implement dot * Update action button vars * Fix tests * Add none option * Add triangle option
* Add support for using declarativeNetRequest (#1127)toasted-nutbread2020-12-18
|