aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed
Commit message (Collapse)AuthorAge
* 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
* Fix cloze not using the raw source (#1049)toasted-nutbread2020-11-21
|
* Display scroll fixes (#1046)toasted-nutbread2020-11-20
| | | | | * Update focus when internal focus is changed * Update scroll layout
* Update selection indicator (#1044)toasted-nutbread2020-11-19
| | | | | * Add new current indicator * Remove old indicator
* 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
|
* Popup navigation style updates (#1035)toasted-nutbread2020-11-15
| | | | | | | | | * Add close function to Display * Add new sidebar with navigation and close buttons * Set up new navigation functionality * Remove old navigation
* Add cross icon (#1034)toasted-nutbread2020-11-15
|
* Display fixes (#1033)toasted-nutbread2020-11-14
| | | | | | | * Fix an entry not always being focused * Fix typo * Fix copy action not working on Firefox
* 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
* Scroll refactor (#1031)toasted-nutbread2020-11-14
| | | | | * Use private members * Reorganize
* 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 some word wrapping issues on the first line of definitions (#1027)toasted-nutbread2020-11-13
|
* Fix _areSame check not using correct array count property (#1026)toasted-nutbread2020-11-13
|
* Display updates (#1024)toasted-nutbread2020-11-13
| | | | | * Update display generation to use new format assumptions * Simplify how debug information is presented
* 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
* Text scanning options propagation (#1020)toasted-nutbread2020-11-12
| | | | | | | | | | | | | | | | | * Update Display.setOptionsContext to update options * Update how options context is updated in Popup * Omit optionsContext for some _showPopupContent calls * Remove extension unload * Disable modifier keys in frontend's options context * Update how text scanner passes modifiers to options context * Update how options context is passed to display * Update how display uses options context
* Add a core deepEqual function (#1018)toasted-nutbread2020-11-09
| | | | | * Add a core deepEqual function * Add tests
* 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
* Update keyboard/mouse modifiers to return an array rather than a set (#1015)toasted-nutbread2020-11-08
|
* Optimize Anki duplicate checks (#1013)toasted-nutbread2020-11-08
| | | | | * Move/rename functions * Prevent overlapping calls to check addable definitions
* 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
|
* Make query parser mode select in the base HTML (#1009)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
* Disable the audio button when no sources are enabled (#1003)toasted-nutbread2020-11-07
|
* 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
* Add popup size icon (#981)toasted-nutbread2020-11-01
|
* Add checkbox images (#973)toasted-nutbread2020-10-31
|
* Add exclamation point image (#966)toasted-nutbread2020-10-27
|
* Add radio button images (#951)toasted-nutbread2020-10-20
|
* Text source range refactor (#949)toasted-nutbread2020-10-20
| | | | | | | | | | | * Rename functions for better clarity * Remove unused properties * Add getNodesInRange function * Improve ignore nodes check * Use private fields
* Add kebab-menu icon (#928)toasted-nutbread2020-10-17
|
* SelectorObserver (#927)toasted-nutbread2020-10-17
| | | | | | | | | | | * Create new SelectorObserver class * Update DOMDataBinder to use SelectorObserver * Update names to be more clear * Remove attributeOldValue parameter, clarify attributes parameter * Add documentation
* Improve convertKatakanaToHiragana and convertHiraganaToKatakana (#916)toasted-nutbread2020-10-13
|
* Add spinner.svg (#911)toasted-nutbread2020-10-11
|
* Add additional transforms (#899)toasted-nutbread2020-10-08
|
* Template handler update (#896)toasted-nutbread2020-10-07
| | | | | | | | | * Rename TemplateHandler to HtmlTemplateCollection * Rename _templateHandler to _templates * Allow creation from both string and element * Simplify setup of templates, don't throw errors on invalid ID
* Fix primary audio source (#886)toasted-nutbread2020-10-04
| | | | | | | | | * Add abstraction: _getDefinitionPrimaryExpressionAndReading * Reuse existing definitions in a sequence * Revert change to related definition source/rawSource/sourceTerm * Update _getDefinitionPrimaryExpressionAndReading to return best match
* Move searchTerms/searchKanji to front of object definitions (#873)toasted-nutbread2020-09-27
|