summaryrefslogtreecommitdiff
path: root/ext
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
* 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
* 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
|
* 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
* 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
|
* 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
|
* 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 term details not using the expanded tags (#1028)toasted-nutbread2020-11-14
|
* 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
|
* Fix options not being propagated fully after being updated (#1025)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
* 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
* 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
* 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
|
* 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