aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* add turkish (#783)24.4.7.0StefanVukovic992024-03-22
|
* expand deinflection format (#745)StefanVukovic992024-03-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * abstract deinflections * undo redundant changes * remove cast * switch to js * MultiLanguageTransformer * comments * comments * fix test * suffixInflection * fix bench * substring instead of replace * without heuristic * suffixMap * add other language deinflections * wip * catch cycles * fix tests * uninflect to deinflect * use less regex * add suru masu stem deinflection
* add suru verb masu stem deinflection (#774)StefanVukovic992024-03-18
|
* feat: support skipping already import dictionaries (#769)Birudo un2024-03-18
|
* Add an option to allow both viewing and adding duplicates (#693)Eloy Robillard2024-03-18
| | | | | * Detect duplicates when checking if can add note * Display the stacked add buttons
* Move sandbox files (#731)toasted-nutbread2024-03-04
| | | | | * Move sandbox files * Update order
* add arabic diacritics: maddah, hamza, subscript and superscript alef (#762)StefanVukovic992024-03-04
|
* Bump @typescript-eslint/eslint-plugin from 6.21.0 to 7.0.0 (#750)dependabot[bot]2024-03-03
| | | | | | | | | | | | | | | | Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.21.0 to 7.0.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.0.0/packages/eslint-plugin) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Support build.js target positional arguments (#759)Harrison2024-03-03
|
* Correct README English (#758)nottnottloop2024-03-03
| | | Signed-off-by: nottnottloop <6772127+nottnottloop@users.noreply.github.com>
* add diacritics (#756)StefanVukovic992024-03-03
|
* fix whitespace (#755)StefanVukovic992024-03-03
|
* Fix entry selection arrow padding in search (#754)Kuuuube2024-03-03
| | | | | * Fix entry selection arrow padding in search * Realign search-textbox and search-options
* enable new dicts only on added profile (#752)StefanVukovic992024-03-03
|
* Bump the minor group with 3 updates (#751)dependabot[bot]2024-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps the minor group with 3 updates: [dawidd6/action-download-artifact](https://github.com/dawidd6/action-download-artifact), [cardinalby/schema-validator-action](https://github.com/cardinalby/schema-validator-action) and [awalsh128/cache-apt-pkgs-action](https://github.com/awalsh128/cache-apt-pkgs-action). Updates `dawidd6/action-download-artifact` from 3.0.0 to 3.1.2 - [Release notes](https://github.com/dawidd6/action-download-artifact/releases) - [Commits](https://github.com/dawidd6/action-download-artifact/compare/e7466d1a7587ed14867642c2ca74b5bcc1e19a2d...71072fbb1229e1317f1a8de6b04206afb461bd67) Updates `cardinalby/schema-validator-action` from 3.1.0 to 3.1.1 - [Release notes](https://github.com/cardinalby/schema-validator-action/releases) - [Commits](https://github.com/cardinalby/schema-validator-action/compare/76c68bfc941bd2dc82859f2528984999d1df36a4...2166123eb256fa40baef7e22ab1379708425efc7) Updates `awalsh128/cache-apt-pkgs-action` from 1.3.1 to 1.4.1 - [Release notes](https://github.com/awalsh128/cache-apt-pkgs-action/releases) - [Commits](https://github.com/awalsh128/cache-apt-pkgs-action/compare/44c33b32f808cdddd5ac0366d70595ed63661ed8...2555a377dfb0ca4763693499998da808e8d5afa0) --- updated-dependencies: - dependency-name: dawidd6/action-download-artifact dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor - dependency-name: cardinalby/schema-validator-action dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor - dependency-name: awalsh128/cache-apt-pkgs-action dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump @types/wanakana from 4.0.6 to 5.3.0 (#748)dependabot[bot]2024-03-03
| | | | | | | | | | | | | | | Bumps [@types/wanakana](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/wanakana) from 4.0.6 to 5.3.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/wanakana) --- updated-dependencies: - dependency-name: "@types/wanakana" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump the minor group with 16 updates (#747)dependabot[bot]2024-03-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bump the minor group with 16 updates Bumps the minor group with 16 updates: | Package | From | To | | --- | --- | --- | | [@zip.js/zip.js](https://github.com/gildas-lormeau/zip.js) | `2.7.34` | `2.7.36` | | [dexie](https://github.com/dfahlander/Dexie.js) | `3.2.4` | `3.2.5` | | [dexie-export-import](https://github.com/dexie/Dexie.js) | `4.1.0` | `4.1.1` | | [@playwright/test](https://github.com/microsoft/playwright) | `1.41.2` | `1.42.0` | | [@stylistic/eslint-plugin](https://github.com/eslint-stylistic/eslint-stylistic/tree/HEAD/packages/eslint-plugin) | `1.6.0` | `1.6.3` | | [@stylistic/stylelint-plugin](https://github.com/stylelint-stylistic/stylelint-stylistic) | `2.0.0` | `2.1.0` | | [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome) | `0.0.260` | `0.0.262` | | [@types/firefox-webext-browser](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/firefox-webext-browser) | `120.0.0` | `120.0.1` | | [dotenv](https://github.com/motdotla/dotenv) | `16.4.1` | `16.4.5` | | [esbuild](https://github.com/evanw/esbuild) | `0.20.0` | `0.20.1` | | [eslint](https://github.com/eslint/eslint) | `8.56.0` | `8.57.0` | | [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) | `48.0.6` | `48.2.0` | | [eslint-plugin-sonarjs](https://github.com/SonarSource/eslint-plugin-sonarjs) | `0.23.0` | `0.24.0` | | [eslint-plugin-unused-imports](https://github.com/sweepline/eslint-plugin-unused-imports) | `3.0.0` | `3.1.0` | | [html-validate](https://gitlab.com/html-validate/html-validate) | `8.9.1` | `8.11.1` | | [husky](https://github.com/typicode/husky) | `9.0.10` | `9.0.11` | Updates `@zip.js/zip.js` from 2.7.34 to 2.7.36 - [Release notes](https://github.com/gildas-lormeau/zip.js/releases) - [Commits](https://github.com/gildas-lormeau/zip.js/compare/v2.7.34...v2.7.36) Updates `dexie` from 3.2.4 to 3.2.5 - [Release notes](https://github.com/dfahlander/Dexie.js/releases) - [Commits](https://github.com/dfahlander/Dexie.js/compare/v3.2.4...v3.2.5) Updates `dexie-export-import` from 4.1.0 to 4.1.1 - [Release notes](https://github.com/dexie/Dexie.js/releases) - [Commits](https://github.com/dexie/Dexie.js/commits) Updates `@playwright/test` from 1.41.2 to 1.42.0 - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](https://github.com/microsoft/playwright/compare/v1.41.2...v1.42.0) Updates `@stylistic/eslint-plugin` from 1.6.0 to 1.6.3 - [Release notes](https://github.com/eslint-stylistic/eslint-stylistic/releases) - [Commits](https://github.com/eslint-stylistic/eslint-stylistic/commits/v1.6.3/packages/eslint-plugin) Updates `@stylistic/stylelint-plugin` from 2.0.0 to 2.1.0 - [Release notes](https://github.com/stylelint-stylistic/stylelint-stylistic/releases) - [Changelog](https://github.com/stylelint-stylistic/stylelint-stylistic/blob/main/CHANGELOG.md) - [Commits](https://github.com/stylelint-stylistic/stylelint-stylistic/compare/v2.0.0...v2.1.0) Updates `@types/chrome` from 0.0.260 to 0.0.262 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chrome) Updates `@types/firefox-webext-browser` from 120.0.0 to 120.0.1 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/firefox-webext-browser) Updates `dotenv` from 16.4.1 to 16.4.5 - [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md) - [Commits](https://github.com/motdotla/dotenv/compare/v16.4.1...v16.4.5) Updates `esbuild` from 0.20.0 to 0.20.1 - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md) - [Commits](https://github.com/evanw/esbuild/compare/v0.20.0...v0.20.1) Updates `eslint` from 8.56.0 to 8.57.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v8.56.0...v8.57.0) Updates `eslint-plugin-jsdoc` from 48.0.6 to 48.2.0 - [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases) - [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc) - [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v48.0.6...v48.2.0) Updates `eslint-plugin-sonarjs` from 0.23.0 to 0.24.0 - [Release notes](https://github.com/SonarSource/eslint-plugin-sonarjs/releases) - [Commits](https://github.com/SonarSource/eslint-plugin-sonarjs/compare/0.23.0...0.24.0) Updates `eslint-plugin-unused-imports` from 3.0.0 to 3.1.0 - [Commits](https://github.com/sweepline/eslint-plugin-unused-imports/commits) Updates `html-validate` from 8.9.1 to 8.11.1 - [Release notes](https://gitlab.com/html-validate/html-validate/tags) - [Commits](https://gitlab.com/html-validate/html-validate/compare/v8.9.1...v8.11.1) Updates `husky` from 9.0.10 to 9.0.11 - [Release notes](https://github.com/typicode/husky/releases) - [Commits](https://github.com/typicode/husky/compare/v9.0.10...v9.0.11) --- updated-dependencies: - dependency-name: "@zip.js/zip.js" dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor - dependency-name: dexie dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor - dependency-name: dexie-export-import dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor - dependency-name: "@playwright/test" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: "@stylistic/eslint-plugin" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor - dependency-name: "@stylistic/stylelint-plugin" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: "@types/chrome" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor - dependency-name: "@types/firefox-webext-browser" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor - dependency-name: dotenv dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor - dependency-name: esbuild dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: eslint-plugin-jsdoc dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: eslint-plugin-sonarjs dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: eslint-plugin-unused-imports dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: html-validate dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix new html lint --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
* Ci updates (#757)toasted-nutbread2024-03-03
| | | | | | | | | * Add test:unit:options to CI * Add test:unit:options to full test * Change config targets * Add newline
* Fix sentence-furigana template (#733)Kuuuube2024-03-02
|
* Mark string and text glossary content as safe to avoid broken <br> (#732)Kuuuube2024-03-02
|
* Object utilities (#729)toasted-nutbread2024-02-27
| | | | | | | | | | | | | | | | | | | | | * Create utilities * Rename old isObject * Use new isObject * Remove old function * Add additional function * Simplify for now * Rename function for clarity * Rename function * Expand type * Update eslint
* Remove redundant escaping (#722)Kuuuube2024-02-27
|
* make deinflections language-specific (#720)StefanVukovic992024-02-27
| | | | | | | | | | | | | * abstract deinflections * undo redundant changes * remove cast * MultiLanguageTransformer * comments * comments
* Update to zip.js for tests (#698)toasted-nutbread2024-02-27
| | | | | | | * Use zip.js * Set compression level to 0 * Update comments
* "isJapanese" check move (#730)toasted-nutbread2024-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move isStringPartiallyJapanese out of ClipboardMonitor * Create isStringPartiallyJapanese function * Add textMayBeTranslatable * Rename API function * Rename internal function * Add helper * Update translatable check * Pass language to TextScanner * Pass language explicitly * Use textMayBeTranslatable * No redundant translatable check * Update eslint * Remove double newline * Collapse * Rename
* Turn on @typescript-eslint/no-unsafe-argument (#728)24.2.26.0toasted-nutbread2024-02-25
|
* Improve type safety for playwright stuff (#727)toasted-nutbread2024-02-25
|
* Fix anki template field marker menu (#725)toasted-nutbread2024-02-25
| | | | | | | | | * Fix HTML collection * Expose templates * Fix menu setup * Warn
* fix translator bug, simplify language-transformer (#687)24.2.23.0StefanVukovic992024-02-23
| | | | | | | | | | | | | | | * simplify transformer * use isPartOfSpeech * simplify * rename to isDictionaryForm * NOP --------- Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
* Package scripts update (#714)toasted-nutbread2024-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update license-report commands * Rename build-libs * Update test-lint-js * Rename test-lint-json * Update test-lint-css * Rename test-lint-html * Update test-ts * Update test-code * Update test-build * Rename * Test JSON types * Distinguish JS tests from JSON tests * Add bench test * Test markdown * Add fast test option * Rename test:code * Describe scripts * Add test-build action * Add test:static-analysis * Update CI * Fix path * Fix missing type definition
* add more languages (#684)StefanVukovic992024-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Copy functions from JapaneseUtil * Remove JapaneseUtil * Update usages of JapaneseUtil functions * part1 * frotend done? * fix tests * offscreen and type complications * add tests * start fixing tests * keep fixing tests * fix tests * Copy functions from JapaneseUtil * Remove JapaneseUtil * Update usages of JapaneseUtil functions * delete pt * renames * add tests * kebab-case filenames * lint * minor fixes * merge * fixes * fix part of comments * fix more comments * delete unused types * comment * comment * do backend * other files * move fetch utils to own file * remove extra line * add extra line * remove unnecessary export * simplify folder structure * remove redundant async * fix param type in api * fix language index * undo changes to cssStyleApplier * undo changes to utilities.js * undo changes to utilities.js * simplify language util * lint * undo phantom changes to anki integration * require textTransformations options * explicit locale in localeCompare * punctuate notes * prefer early exit * rename LanguageOptionsObjectMap * rename to textPreprocessor * tuple with names instead of boolean array * safe data setting * optional chaining * simplify LanguageOptions * encapsulate languages * delete language util * nullable language in text preprocessors controller * rename transform to process * remove settings * make translation advanced again * remove unused getTextTransformations api call * comments * change language types * RIP flags * comments * fix tests * lint * Text preprocessor type changes (#10) * Add types * Update types * Simplify type check * Refactor typing and structuring of language definitions * lint * update translator benchmark * undo markdown changes * undo markdown changes * undo markdown changes * more merge * add more languages * wip * refactoring * fixes * add comment, delete settings text * remove language from jsconfig --------- Co-authored-by: toasted-nutbread <toasted-nutbread@users.noreply.github.com> Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
* documentation updates (#703)StefanVukovic992024-02-20
| | | | | | | * first pass * wording * v2
* Add ignore links (#715)toasted-nutbread2024-02-20
| | | | | | | * Add ignore links * Why is this monstrosity needed? * Remove wildcards
* Constructor simplification (#713)toasted-nutbread2024-02-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update AudioDownloader * Update Translator * Update ClipboardMonitor * Update ClipboardReader * Update PanelElement * Update QueryParser * Update DisplayGenerator * Update DisplayHistory * Update DOMDataBinder * Remove unnecessary cast * Update Popup types * One declaration per line * Remove optionals from Frontend constructor * Fix Translator constructor
* Popup preview frame API map (#712)toasted-nutbread2024-02-20
| | | | | | | | | * Add API map type safety * Add API map types * Simplify names * Remove unused type
* Remove testMain (#711)toasted-nutbread2024-02-20
|
* Update eslint rules (#710)toasted-nutbread2024-02-19
|
* Application main updates (#708)toasted-nutbread2024-02-18
| | | | | | | * Move waitForBackendReady * Add option to wait for DOM before running main * Move script load to be earlier
* Refactor DocumentUtil (#706)toasted-nutbread2024-02-18
| | | | | * Refactor DocumentUtil * Isolate suppression
* Html templates update (#707)toasted-nutbread2024-02-18
| | | | | | | | | | | | | | | | | | | | | * Simplify display template loading * Add helper * Rename file * Rename for simplicity * Create templates file * Load * Remove templates * Move permissions templates * Remove "templates" from comments * Fix prepare
* Language descriptors organization (#704)toasted-nutbread2024-02-18
| | | | | | | | | | | | | | | | | | | | | * Move languageDescriptorMap * Move text preprocessors * Merge into language-descriptors.js * Merge typescript * Initialize inline * Move types * Update types * Update eslint * Update jsconfig reference * Rename
* disable kana conversion on search page for other languages (#705)StefanVukovic992024-02-18
| | | | | | | * disable kana conversion for other languages * ternary parentheses * css fix
* Log update (#701)toasted-nutbread2024-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Don't export Logger * Rename logger.js to log.js * Move helper function * Update extension name configuration * Simplify docs * Move issue URL to a field * Simplify context * Remove optional params that are never used * Configure backend * Update eslint * Simplify * Rename function * Simplify _api reference * Simplify docs * Remove unused log levels (except 'log') * Add log function * Rename for more clear intent * Use log.log
* switch preview popup's example text based on language (#700)StefanVukovic992024-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Copy functions from JapaneseUtil * Remove JapaneseUtil * Update usages of JapaneseUtil functions * part1 * frotend done? * fix tests * offscreen and type complications * add tests * start fixing tests * keep fixing tests * fix tests * Copy functions from JapaneseUtil * Remove JapaneseUtil * Update usages of JapaneseUtil functions * delete pt * renames * add tests * kebab-case filenames * lint * minor fixes * merge * fixes * fix part of comments * fix more comments * delete unused types * comment * comment * do backend * other files * move fetch utils to own file * remove extra line * add extra line * remove unnecessary export * simplify folder structure * remove redundant async * fix param type in api * fix language index * undo changes to cssStyleApplier * undo changes to utilities.js * undo changes to utilities.js * simplify language util * lint * undo phantom changes to anki integration * require textTransformations options * explicit locale in localeCompare * punctuate notes * prefer early exit * rename LanguageOptionsObjectMap * rename to textPreprocessor * tuple with names instead of boolean array * safe data setting * optional chaining * simplify LanguageOptions * encapsulate languages * delete language util * nullable language in text preprocessors controller * rename transform to process * remove settings * make translation advanced again * remove unused getTextTransformations api call * comments * change language types * RIP flags * comments * fix tests * lint * Text preprocessor type changes (#10) * Add types * Update types * Simplify type check * Refactor typing and structuring of language definitions * lint * update translator benchmark * undo markdown changes * undo markdown changes * undo markdown changes * more merge * use example text * comments * comments --------- Co-authored-by: toasted-nutbread <toasted-nutbread@users.noreply.github.com> Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
* Application data refactor (#699)toasted-nutbread2024-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Pass tabId and frameId to Application * Remove casts * Remove redundant frameInformationGet calls * Expose tabId and frameId * Remove unsed * Simplify * Update FrameAncestryHandler to not need a direct frameId * Remove frameId from FrameOffsetForwarder * Remove frameId from PopupFactory * Remove frameId from Frontend * Remove frameId from PopupPreviewFrame * Fix PopupFactory and Frontend constructor * Remove frameId from Display * Remove frameId from SearchDisplayController * Restore if check
* add language select, abstract text transformations (#584)StefanVukovic992024-02-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Copy functions from JapaneseUtil * Remove JapaneseUtil * Update usages of JapaneseUtil functions * part1 * frotend done? * fix tests * offscreen and type complications * add tests * start fixing tests * keep fixing tests * fix tests * Copy functions from JapaneseUtil * Remove JapaneseUtil * Update usages of JapaneseUtil functions * delete pt * renames * add tests * kebab-case filenames * lint * minor fixes * merge * fixes * fix part of comments * fix more comments * delete unused types * comment * comment * do backend * other files * move fetch utils to own file * remove extra line * add extra line * remove unnecessary export * simplify folder structure * remove redundant async * fix param type in api * fix language index * undo changes to cssStyleApplier * undo changes to utilities.js * undo changes to utilities.js * simplify language util * lint * undo phantom changes to anki integration * require textTransformations options * explicit locale in localeCompare * punctuate notes * prefer early exit * rename LanguageOptionsObjectMap * rename to textPreprocessor * tuple with names instead of boolean array * safe data setting * optional chaining * simplify LanguageOptions * encapsulate languages * delete language util * nullable language in text preprocessors controller * rename transform to process * remove settings * make translation advanced again * remove unused getTextTransformations api call * comments * change language types * RIP flags * comments * fix tests * lint * Text preprocessor type changes (#10) * Add types * Update types * Simplify type check * Refactor typing and structuring of language definitions * lint * update translator benchmark * undo markdown changes * undo markdown changes * undo markdown changes * more merge * simplify language controller --------- Co-authored-by: toasted-nutbread <toasted-nutbread@users.noreply.github.com> Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
* Even more eslint rules (#696)toasted-nutbread2024-02-17
| | | | | | | | | * capitalized-comments * Turn rules on * Add miscellaneous rules * More rules
* Make vitests idiomatic (#677)toasted-nutbread2024-02-17
|
* add docs (#685)StefanVukovic992024-02-15
|
* add missing setting (#680)StefanVukovic992024-02-15
|