aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed
Commit message (Collapse)AuthorAge
* 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
* Display button improvements (#1065)toasted-nutbread2020-11-25
| | | | | * Use hidden and disabled properties instead of custom classes * Enable transitions on buttons
* Add plus-circle icons (#1064)toasted-nutbread2020-11-25
|
* Display style updates (#1062)toasted-nutbread2020-11-24
| | | | | | | * Change condition for scrollbar theme * Fix expression colors * Update colors
* Improve html templates (#1061)toasted-nutbread2020-11-24
| | | | | | | | | | | * Add template pre-processing * Remove whitespace * Add labels * Reuse tag template for search tags * Add space
* Frequency display improvements (#1060)toasted-nutbread2020-11-24
| | | | | | | * Hide redundant frequencies * Add dataset counters for unique expressions/readings * Update frequency display to include disambiguations
* 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
* Display updates (#1055)toasted-nutbread2020-11-23
| | | | | | | * Fix title assignment * Add event listeners as entries are being added * Focus entry when clicked
* 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
|