toasted-nutbread
34451ebf71
JapaneseUtil normalization ( #1076 )
...
* Use JapaneseUtil as a class which is manually instantiated
* Use alias function for toKana
2020-11-29 13:09:02 -05:00
toasted-nutbread
a8cd03cbec
Fix outer CSS being incorrectly injected ( #1075 )
2020-11-29 12:00:41 -05:00
toasted-nutbread
008ffdb6bf
Frequencies marker ( #1074 )
...
* 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
2020-11-28 14:30:50 -05:00
toasted-nutbread
94d63f4f87
Display style updates ( #1072 )
...
* 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
2020-11-27 15:22:06 -05:00
toasted-nutbread
8449322e1c
Fix kanji note creation ( #1069 )
...
* Fix kanji note creation
* Move try/catch for consistency
* Move audio normalization
2020-11-26 22:53:58 -05:00
toasted-nutbread
3f7c76dbc7
Yomichan popup styles refactor ( #1067 )
...
* 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
2020-11-26 14:13:53 -05:00
toasted-nutbread
92e9f69c80
Popup style updates ( #1066 )
...
* Replace compactGlossaries option with new glossaryLayoutMode option
* Update attributes
* Update attributes
* Update color definitions
* Fix default theme scrollbar
2020-11-25 23:22:05 -05:00
toasted-nutbread
496af0b5f2
Fix incorrect frequency field being used ( #1059 )
2020-11-24 11:55:25 -05:00
toasted-nutbread
de299c64ae
Display updates ( #1057 )
...
* 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
2020-11-24 11:54:08 -05:00
toasted-nutbread
068b1eef71
Text scanner improvements ( #1056 )
...
* 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
2020-11-23 20:31:48 -05:00
toasted-nutbread
01ff7436ee
Popup setup refactoring ( #1054 )
...
* 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
2020-11-23 15:23:47 -05:00
toasted-nutbread
2971f262f9
Merge float into display ( #1053 )
...
* 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
2020-11-22 15:29:51 -05:00
toasted-nutbread
7234cce4ae
Refactor nested popup/frontend setup ( #1052 )
2020-11-22 11:19:21 -05:00
toasted-nutbread
7b6a4c4e36
More display updates ( #1050 )
...
* Use grid for layout
* Add data-count attribute
* Fix scroll issues during focus
* Add index to entries
* Simplify audio playback
2020-11-21 21:17:39 -05:00
toasted-nutbread
1216926fbd
Hide profile button if only one profile exists ( #1045 )
2020-11-19 18:49:30 -05:00
toasted-nutbread
e5255a03e6
Context popup improvements ( #1039 )
...
* 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
2020-11-19 18:37:02 -05:00
toasted-nutbread
1588f6210c
Display and query parser layout ( #1043 )
...
* Update query parser text assignment
* Update how padding is used
* Hide query parser container by default
2020-11-18 20:15:30 -05:00
toasted-nutbread
a48ac37815
Use an overridable property to control progress indicator visibility ( #1041 )
2020-11-17 19:40:19 -05:00
toasted-nutbread
d66a5e3b87
Fix settings resetting not initializing dictionary settings properly ( #1036 )
2020-11-15 14:14:52 -05:00
toasted-nutbread
112f08a13e
Fix term details not using the expanded tags ( #1028 )
2020-11-14 12:09:14 -05:00
toasted-nutbread
20f3d09aa4
Clear cached definition when rendering a template ( #1022 )
2020-11-12 20:35:11 -05:00
toasted-nutbread
ec021964b7
Compact tags refactor ( #1021 )
...
* 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
2020-11-12 20:34:11 -05:00
toasted-nutbread
eb8069a494
Options context updates ( #1017 )
...
* Update event order
* Update inputs
* Add type and cause to input info
* Update input info args
* Simplify arguments
* Update argument name
* Change order
2020-11-08 22:55:43 -05:00
toasted-nutbread
3a23f081d1
Frontend options override refactor ( #1016 )
...
* Update how options context overriding works
* Make function private
2020-11-08 22:49:40 -05:00
toasted-nutbread
8edb478d0a
Update keyboard/mouse modifiers to return an array rather than a set ( #1015 )
2020-11-08 22:19:54 -05:00
toasted-nutbread
681065e554
Remove unused functions from backend.js ( #1014 )
2020-11-08 17:06:44 -05:00
toasted-nutbread
16321a1f8c
Add duplicate check option ( #1012 )
...
* Add anki.checkForDuplicates option
* Use checkForDuplicates for button display
* Add property to card creation
2020-11-08 16:25:07 -05:00
toasted-nutbread
4e30409410
Add api.isAnkiConnected ( #1011 )
2020-11-08 15:53:06 -05:00
toasted-nutbread
0cbc6523e6
Remove unused default selected ( #1010 )
2020-11-08 14:24:39 -05:00
toasted-nutbread
6081e3bef0
Make query parser mode select in the base HTML ( #1009 )
2020-11-08 13:25:07 -05:00
toasted-nutbread
8dc961a61f
Merge QueryPaserGenerator into QueryParser ( #1008 )
2020-11-08 12:50:16 -05:00
toasted-nutbread
948605a1fe
Update query parser to properly display multi-line content ( #1007 )
2020-11-08 12:43:41 -05:00
toasted-nutbread
12e6e37785
Query parser generator refactor ( #1006 )
...
* Simplify select generation
* Refactor text generation
* Change optional argument
* Remove query-parser-templates.html
* Simplify prepare
* Simplify preview
2020-11-08 12:35:32 -05:00
toasted-nutbread
8cf10d685d
Search and display style updates ( #1005 )
...
* 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
2020-11-08 12:34:23 -05:00
toasted-nutbread
db9ec4c449
Fix search tab opening having some errors ( #1004 )
2020-11-07 22:43:14 -05:00
toasted-nutbread
f4325b7db9
Fix byte count labels ( #998 )
...
* Add 'TB' label
* Prevent overflow
* Fix storage information on the old settings page
2020-11-07 09:58:46 -05:00
toasted-nutbread
9c6ff387a0
Popup preview update ( #994 )
...
* Add options.global.showPopupPreview option
* Add preview visibility control using a checkbox
* Add attribute on page load
* Disable animation until page is loaded
2020-11-06 22:14:00 -05:00
toasted-nutbread
3216a9e263
Settings controller changes ( #990 )
...
* Make allowSecondarySearchesCheckbox optional
* Move getDictionaryInfo into SettingsController
2020-11-05 18:45:57 -05:00
toasted-nutbread
5b9d709d40
Conjugation marker ( #988 )
...
* Add {conjugation} marker
* Add info
* Add upgrade
* Update test
2020-11-04 20:39:23 -05:00
toasted-nutbread
255c8b724e
Pitch accents preview ( #987 )
...
* Add public preparePitchAccents function to DisplayGenerator
* Add pitch accents preview HTML, CSS, and JS
2020-11-03 22:30:20 -05:00
toasted-nutbread
a8ff38eec3
Fix display issues ( #984 )
...
* 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
2020-11-01 21:24:35 -05:00
toasted-nutbread
215ef627f1
Duplicate scope options ( #955 )
...
* Add deck-root duplicate scope option
* Implement support for deck-root scope
2020-10-31 19:03:45 -04:00
toasted-nutbread
94620f4f22
Trigger event on property change ( #979 )
...
* Add _triggerScanInputsChanged function
* Trigger event when inputs are changed
2020-10-31 17:13:24 -04:00
toasted-nutbread
11c5dbac64
Add an 'other' option for when there is no matching main scanning input ( #978 )
2020-10-31 17:03:22 -04:00
toasted-nutbread
f78e243853
Update counts when an input entry is removed ( #977 )
2020-10-31 16:38:48 -04:00
toasted-nutbread
164c7b4375
Fix addition/removal of middle mouse button input not always working ( #976 )
2020-10-31 16:33:48 -04:00
toasted-nutbread
21cae0e38e
Scan inputs controller refactor ( #975 )
...
* Add public function to clear inputs
* Return the promise
* Pass input options directly
* Assign showAdvanced
* Add more menu options
2020-10-31 16:26:01 -04:00
toasted-nutbread
ab98caf842
Scanning inputs refactor ( #974 )
...
* Add support for count nodes
* Add support for menu button
2020-10-31 13:40:10 -04:00
toasted-nutbread
54768ca6e4
Update PopupPreviewController to support settings v2 ( #972 )
2020-10-30 22:21:56 -04:00
toasted-nutbread
f5d6573bec
Add supoprt for modal dimmer element ( #971 )
2020-10-30 22:20:50 -04:00