aboutsummaryrefslogtreecommitdiff
path: root/ext/js
Commit message (Collapse)AuthorAge
* Add normalization of combining dakuten and handakuten to ja preprocessors ↵Kuuuube2024-06-26
| | | | | | | | | | | | | (#1136) * Add normalization of combining dakuten and handakuten to ja preprocessors * Fix typo * Remove redundant variable assignment * Fix first character processed incorrectly when it is a character that gets combined * Add test for combining dakuten and handakuten
* Fix alt+scroll offset from elements above sticky header (#1131)Kuuuube2024-06-25
|
* Update theme after search update in popup preview (#1130)Kuuuube2024-06-24
|
* Auto resize search textbox when removing lines (#1126)Kuuuube2024-06-24
| | | | | * Disallow user resizing of search textbox * Allow search textbox to shrink when lines are removed
* More Spanish transforms (#1100)James Maa2024-06-24
| | | | | | | * Preterite and spanish bench * More spanish forms * Rename
* add cn reading processors (#1120)Cashew2024-06-24
| | | | | | | | | | | | | | | | | | | | | * add cn reading processors * remove meow * fix lint * add cn reading processors * remove meow * fix lint * wip * update names * update test * remove vestigial code
* Support dictionaryStylesMap in anki-deck-generator-controller and ↵Kuuuube2024-06-22
| | | | | | | | | | | | | | | | | anki-templates-controller (#1112) * Support dictionaryStylesMap in bulk anki card generation * Move getDictionaryStylesMap to anki-note-builder * Support dictionaryStylesMap in anki-templates-controller * Strip newline to prevent tsv breaking * Allow dictionaryStylesMap to be omitted in createNote --------- Signed-off-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com>
* Fix firefox search button 1px off of search textbox (#1115)Kuuuube2024-06-22
|
* fix dictionaryStylesMap undefined when testing anki templates (#1110)StefanVukovic992024-06-21
|
* Add diacritics normalization preprocessors for Vietnamese (#1107)Cashew2024-06-21
| | | | | | | | | | | | | * add viet diacritics normalization * move regexp construction outside of function * fix eslint * add 'off' option * fix lint * fix type
* Add profile selector to mobile action-popup (#1105)24.6.21.0Kuuuube2024-06-21
|
* support css file in dictionaries (#1080)StefanVukovic992024-06-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * get styles in db * get styles in settings * use styles * fix test * scope * fix comma separated * escape dict name in css selector * g regex * get styles in anki * fix tests * more specificity * whitespace * test importing * test handlebars * add styles to glossary-first
* Fix scrollbars on info, legal, and issues; add theming to legal and issues ↵Kuuuube2024-06-20
| | | | | | | | | | | (#1096) * Add theming support to generic-page-main.js * Mark scrollbars on info, issues, and legal * Remove quick-start-guide-main.js in favor of generic-page-main.js * Default body to hidden on issues and legal
* Fix settings display when shadow is on auto and body is light or dark (#1089)Kuuuube2024-06-20
|
* Show loading message before action popup is loaded (#1090)Kuuuube2024-06-20
|
* Remove flickering on page loads, reduce flashbangs, fix settings and popup ↵Kuuuube2024-06-19
| | | | | | | | | | | | | | | | | | | | | themes applying correctly (#1088) * Pull theme from settings on page load * Make dark mode default * Fix flickering on load * Invert shadow for auto shadow theme * Revert "Make dark mode default" This reverts commit 4cdfc39686a9faa3ce7a620be23025f97816f5f9. * Improve page load times * Fix flicker on load for popup preview without breaking theming when auto is selected * Revert shadow invert
* Add auto option to body theme (#1086)Kuuuube2024-06-19
| | | | | * Add auto option to body theme * Fix firefox bug where themes do not set correctly in settings due to getOptions failing
* Add full dark mode support (#1079)Kuuuube2024-06-18
| | | | | | | | | | | | | | | | | | | * Add full dark mode support * Fix welcome, permissions, and quick start scrollbars * Fix action popup dark mode on mobile * Add theme to info page * Reduce flashbang * Move position of settingsDisplayController to not break things * Fix dictionary import drag drop theming * Make dark shadow color less bad * Prepare themeController to avoid not being able to set browser theme
* Fix incorrect switch arm (#1084)Kuuuube2024-06-18
|
* [ja] Refactor Japanese transforms names and add English descriptions (#1007)24.6.17.0Lyroxide2024-06-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add -rya -cha -n * add tests * fix typos * resolve merge conflicts * add tests * change to -ya with chaining * fix -ge and add -garu * add descriptions * descriptions done * add back imperative negative * fix description * add string var * remove form * revert back to volitional * -ku * remove new causative * revert to negative and clarify -n * fix tests * clarify some desc * fix test
* use only longest substring that deinflects to headword (#1075)StefanVukovic992024-06-17
| | | | | | | * show only deinflection for longest matched text * cleanup * cleanup
* Fix DOMTextScanner entering initial div on backwards seeks (#1071)James Maa2024-06-17
| | | | | | | | | * Fix dom-text-scanner entering initial div on reverse seeks * Add new case * Add launch.json * Cleanup launch.json
* Don't move offset when disallowExpandSelection is true (#1065)James Maa2024-06-14
| | | | | * Don't move offset when disallowExpandSelection is true * merge conflict
* Add web option to profile switching keybinds (#933)Kuuuube2024-06-14
| | | | | | | | | | | | | | | * Add web option to profile switching keybinds * Fix spacing * Refactor * Fix comment on update * Make linter happy --------- Signed-off-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com>
* Error check context menu editing (#1063)Kuuuube2024-06-14
|
* Handle Unchecked runtime.lastError: Cannot create item with duplicate id ↵James Maa2024-06-14
| | | | yomitan_lookup (#1050)
* Change spanish sample word to 'leer' in language-descriptors.js (#1056)louisv202024-06-12
|
* [ro] preprocess romanian diacritics (#1057)Iurco Tiberiu-Iulian2024-06-12
| | | | | | | * remove romanian diacritics * linting fix * fixed redundancy
* #1054 language sorting by name (#1055)Iurco Tiberiu-Iulian2024-06-12
|
* Fix semantics of disallowExpandSelection (#1051)James Maa2024-06-12
| | | | | * Fix semantics of disallowExpandSelection * Missed one
* fix -masen verbs being deinflected as negative potential polite (#1046)StefanVukovic992024-06-10
| | | | | | | * test * fix * positive test
* Add context menu interface for Yomitan (#1028)James Maa2024-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | * --wip-- [skip ci] * Draft * Remove weird code * Use existing API instead of dulpicating * Small improvements * remove console.log * remove console.log * Add setting for contextMenu * Fix test * Address comments * Add option-util upgrade * fix option-utils
* [ko] Fix irregular ㄴ deinflection (#1010)24.6.10.0Lyroxide2024-06-09
| | | | | | | | | * fix * resolve conflict --------- Signed-off-by: Lyroxide <33834537+Lyroxide@users.noreply.github.com>
* escape dictionary name for dynamic handlebars (#1032)StefanVukovic992024-06-05
| | | | | * escape apostrophe in dict name for dynamic handlebars * try handling backslashes
* Add text length check to isTextLookupWorthy (#1026)James Maa2024-06-03
|
* [sh] preprocess accent marks (#1024)StefanVukovic992024-06-03
|
* display inflection rule descriptions (#1000)24.6.3.0StefanVukovic992024-06-03
| | | | | | | | | | | | | | | | | | | | | * load descriptions in deinflector * description functions in deinflectors * show descriptions in title * use toaster * use names without internal * css lint * reformat transform descriptors * fix merge errors * done? * rename method
* Add isTextLookupWorthy function for Chinese (#743)Cashew2024-05-31
| | | | | | | | | | | | | | * add is Chinese check move * fix lint * fix lint * fixes --------- Co-authored-by: Darius Jahandarie <djahandarie@gmail.com> Co-authored-by: Stefan Vukovic <stefanvukovic44@gmail.com>
* Allow trailing commas in ESLint (#1013)James Maa2024-05-31
| | | | | * Update comma-dangle rule * Fix dangling commas
* Disallow breaking on rb tags when layout aware scanning is enabled (#1006)Kuuuube2024-05-29
| | | | | * Disallow breaking on rb tags when layout aware scanning is enabled * Mark RB as enterable
* Add note about refreshing page in api invoke error (#1004)24.5.28.0Kuuuube2024-05-28
|
* Removed normalizeTermOrReading (#985)Matttttt2024-05-28
| | | | | | | | | | | | | | | * removed normalizeTermOrReading As it is not enabled, and enabling it would lead to unintended behavior for dictionaries, it makes sense to get rid of it. Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> * Re-added ternary operator Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com> --------- Signed-off-by: Matttttt <18152455+martholomew@users.noreply.github.com>
* Fix clipboard monitor in popups (#1003)Kuuuube2024-05-28
| | | | | | | * Fix naming of _clipboardReaderLike * Allow clipboard monitors in popup searches * Only run _onClipboardTextChange if a search tab does not exist
* Change mode to enum (#992)Brandon Rainey2024-05-28
| | | | | | | | | * converted mode to an enum * converted mode to an enum * created a Mode type in backend.d.ts, reverted enum in backend.js to use this type instead * removed old comment
* Clear mouse position on popup close (#997)Kuuuube2024-05-27
|
* Basic Spanish Transforms (#908)James Maa2024-05-23
| | | | | | | | | | | * Spanish transforms * Add more spanish transforms * Address comments * Fix types * Undo prefix change
* Fix detection of modifiers on Firefox in textarea or input and modifiers ↵Kuuuube2024-05-23
| | | | | | | | | | | sent through virtual keycodes (#986) * Fix firefox modifiers in textarea and input * Fix modifiers sent through virtual keycodes * Styling fix * Fix wording in comment
* [ja] add preprocessor for width of alphabetic characters (#964)StefanVukovic992024-05-22
| | | | | | | | | | | | | | | | | | | | | | * add japanese text preprocessor for variants in width of alphabetic characters * try combining with numeric to improve performance * Update ext/js/language/ja/japanese.js Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com> * Update ext/js/language/ja/japanese.js Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com> Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com> * fix tests --------- Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com> Co-authored-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com>
* improve preprocessing performance (#973)StefanVukovic992024-05-22
| | | | | | | | | | | * mvp * cleanup * cleanup types * descriptive variable * type
* Add check for counts and counts.termMeta (#984)Kuuuube2024-05-22
|