aboutsummaryrefslogtreecommitdiff
path: root/ext/bg
Commit message (Collapse)AuthorAge
* 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
* Update indentation (#1047)toasted-nutbread2020-11-20
|
* Display scroll fixes (#1046)toasted-nutbread2020-11-20
| | | | | * Update focus when internal focus is changed * Update scroll layout
* 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
* Update progress indicator styles (#1042)toasted-nutbread2020-11-18
|
* Use an overridable property to control progress indicator visibility (#1041)toasted-nutbread2020-11-17
|
* Update layout to have better sizing properties (#1040)toasted-nutbread2020-11-16
|
* Add support for dark theme scrollbar colors (#1038)toasted-nutbread2020-11-15
|
* Move "Enable native popups" option and make advanced (#1037)toasted-nutbread2020-11-15
|
* Fix settings resetting not initializing dictionary settings properly (#1036)toasted-nutbread2020-11-15
|
* Display layout updates (#1032)toasted-nutbread2020-11-14
| | | | | | | * Fix display scroll not always using the right position * Update display layout and scroll method * Fix border size
* Display styles update (#1030)toasted-nutbread2020-11-14
| | | | | | | | | | | | | | | * Make section comments into single line comments * Update :before/:after to be ::before/::after * Organize and compact CSS * Remove obsolete style * Add padding var * Use calc and var for layout units and common values * Update search page styles
* Display updates (#1029)toasted-nutbread2020-11-14
| | | | | | | | | | | | | * Simplify expression creation * Add attribute indicating whether the reading is the same or not * Update kanji debug info * Remove some unnecessary null checks * Simplify iterable check * Update float and search HTML to be more consistent
* 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
* Use <strong> styling for list keys (#991)toasted-nutbread2020-11-05
|
* 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
|