aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js
Commit message (Collapse)AuthorAge
* Json schema improvements (#1078)toasted-nutbread2020-11-30
| | | | | | | | | * Test multipleOf * Refactor defaulting * Use default if invalid for non-object/array properties * Add tests
* 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
* Fix kanji note creation (#1069)toasted-nutbread2020-11-26
| | | | | | | * Fix kanji note creation * Move try/catch for consistency * Move audio normalization
* Yomichan popup styles refactor (#1067)toasted-nutbread2020-11-26
| | | | | | | | | | | | | * Rename classes yomichan-float to yomichan-popup * Use attributes instead of classes * Refactor * Update popup outer scaling * Update outer theme usage * Move client.css to popup-outer.css in /mixed
* Popup style updates (#1066)toasted-nutbread2020-11-25
| | | | | | | | | | | * Replace compactGlossaries option with new glossaryLayoutMode option * Update attributes * Update attributes * Update color definitions * Fix default theme scrollbar
* Fix incorrect frequency field being used (#1059)toasted-nutbread2020-11-24
|
* Display updates (#1057)toasted-nutbread2020-11-24
| | | | | | | | | | | | | | | | | | | * Fix history assignment on the search page * Use clear instead of assigned * Simplify definitions assignment * Organize * Fix query not being cleared * Fix media loading * Fix potential issue with options not being assigned * Catch error when frameId is null, causing infinite loop * Fix frontend construction parameters
* Text scanner improvements (#1056)toasted-nutbread2020-11-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Only ignore nodes on non-web pages * Fix issue where options might not be assigned on nested frontends * Refactor default TextScanner options * Add option to enable search only on click * Simplify restore state assignment * Update options context passing * Fix empty title * Use TextScanner to scan content inside of Display * Rename ignoreNodes to excludeSelector(s) * Fix options update incorrectly triggering a re-search * Fix copy throwing an error on the search page * Replace _onSearchQueryUpdated with _search * Use include selector instead of exclude selector
* Popup setup refactoring (#1054)toasted-nutbread2020-11-23
| | | | | | | | | | | | | * Pass childrenSupported as a parameter to Frontend/Popup constructors * Remove setChildrenSupported * Use event listener instead of function override * Update options order * Expand options and use object for clarity * Fix childrenSupported not being fully propagated
* Merge float into display (#1053)toasted-nutbread2020-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update audio play delay * Move frame endpoint to Display * Move _invokeOwner and close implementation * Move browser info assignment * Move window message handler setup * Move copy implementation * Move document title function * Move extension unload handler * Move close handler * Move history event handlers * Remove DisplayFloat * Remove unused * Organize * Move event listeners into prepare
* Refactor nested popup/frontend setup (#1052)toasted-nutbread2020-11-22
|
* More display updates (#1050)toasted-nutbread2020-11-21
| | | | | | | | | | | * Use grid for layout * Add data-count attribute * Fix scroll issues during focus * Add index to entries * Simplify audio playback
* Hide profile button if only one profile exists (#1045)toasted-nutbread2020-11-19
|
* Context popup improvements (#1039)toasted-nutbread2020-11-19
| | | | | | | | | | | | | | | | | | | | | * Refactor context-main.js * Simplify tags * Use flex layout * Use image masks for icons, update styles * Remove old classes * Add profile button * Add support for profile selection * Add title * Swap the options and search link order * Fix title
* Display and query parser layout (#1043)toasted-nutbread2020-11-18
| | | | | | | * Update query parser text assignment * Update how padding is used * Hide query parser container by default
* Use an overridable property to control progress indicator visibility (#1041)toasted-nutbread2020-11-17
|
* Fix settings resetting not initializing dictionary settings properly (#1036)toasted-nutbread2020-11-15
|
* Fix term details not using the expanded tags (#1028)toasted-nutbread2020-11-14
|
* Clear cached definition when rendering a template (#1022)toasted-nutbread2020-11-12
|
* Compact tags refactor (#1021)toasted-nutbread2020-11-12
| | | | | | | | | | | | | * Update translator to flag redundant tags instead of remove * Update how compact tags are shown in the popup * Pass compactTags option to note builder * Update options templates * Add options upgrade * Add options upgrade test
* Options context updates (#1017)toasted-nutbread2020-11-08
| | | | | | | | | | | | | | | * Update event order * Update inputs * Add type and cause to input info * Update input info args * Simplify arguments * Update argument name * Change order
* Frontend options override refactor (#1016)toasted-nutbread2020-11-08
| | | | | * Update how options context overriding works * Make function private
* Update keyboard/mouse modifiers to return an array rather than a set (#1015)toasted-nutbread2020-11-08
|
* Remove unused functions from backend.js (#1014)toasted-nutbread2020-11-08
|
* Add duplicate check option (#1012)toasted-nutbread2020-11-08
| | | | | | | * Add anki.checkForDuplicates option * Use checkForDuplicates for button display * Add property to card creation
* Add api.isAnkiConnected (#1011)toasted-nutbread2020-11-08
|
* Remove unused default selected (#1010)toasted-nutbread2020-11-08
|
* Make query parser mode select in the base HTML (#1009)toasted-nutbread2020-11-08
|
* Merge QueryPaserGenerator into QueryParser (#1008)toasted-nutbread2020-11-08
|
* Update query parser to properly display multi-line content (#1007)toasted-nutbread2020-11-08
|
* Query parser generator refactor (#1006)toasted-nutbread2020-11-08
| | | | | | | | | | | | | * Simplify select generation * Refactor text generation * Change optional argument * Remove query-parser-templates.html * Simplify prepare * Simplify preview
* Search and display style updates (#1005)toasted-nutbread2020-11-08
| | | | | | | | | | | | | | | | | | | * Use same selectors * Use consistent stylesheet declaration * Fix query parser not being cleared * Set property upon load * Don't focus for Enter key press * Update search page styles * Update indent and nodes * Support dark style * Add missing var
* Fix search tab opening having some errors (#1004)toasted-nutbread2020-11-07
|
* Fix byte count labels (#998)toasted-nutbread2020-11-07
| | | | | | | * Add 'TB' label * Prevent overflow * Fix storage information on the old settings page
* Popup preview update (#994)toasted-nutbread2020-11-06
| | | | | | | | | * Add options.global.showPopupPreview option * Add preview visibility control using a checkbox * Add attribute on page load * Disable animation until page is loaded
* Settings controller changes (#990)toasted-nutbread2020-11-05
| | | | | * Make allowSecondarySearchesCheckbox optional * Move getDictionaryInfo into SettingsController
* Conjugation marker (#988)toasted-nutbread2020-11-04
| | | | | | | | | * Add {conjugation} marker * Add info * Add upgrade * Update test
* Pitch accents preview (#987)toasted-nutbread2020-11-03
| | | | | * Add public preparePitchAccents function to DisplayGenerator * Add pitch accents preview HTML, CSS, and JS
* Fix display issues (#984)toasted-nutbread2020-11-01
| | | | | | | | | | | | | | | * Remove unused function * Update expresionMulti detection * Simplify kanji early escape * Simplify frequency/pitch data creation * Update implementation of _buildTermMeta * Update how pitch accents sources are collected * Remove old _buildTermMeta
* Duplicate scope options (#955)toasted-nutbread2020-10-31
| | | | | * Add deck-root duplicate scope option * Implement support for deck-root scope
* Trigger event on property change (#979)toasted-nutbread2020-10-31
| | | | | * Add _triggerScanInputsChanged function * Trigger event when inputs are changed
* Add an 'other' option for when there is no matching main scanning input (#978)toasted-nutbread2020-10-31
|
* Update counts when an input entry is removed (#977)toasted-nutbread2020-10-31
|
* Fix addition/removal of middle mouse button input not always working (#976)toasted-nutbread2020-10-31
|
* Scan inputs controller refactor (#975)toasted-nutbread2020-10-31
| | | | | | | | | | | * Add public function to clear inputs * Return the promise * Pass input options directly * Assign showAdvanced * Add more menu options
* Scanning inputs refactor (#974)toasted-nutbread2020-10-31
| | | | | * Add support for count nodes * Add support for menu button
* Update PopupPreviewController to support settings v2 (#972)toasted-nutbread2020-10-30
|