| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
* Fix firefox bug where themes do not set correctly in settings due to getOptions failing
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
| |
|
|
|
|
|
| |
* Update comma-dangle rule
* Fix dangling commas
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add option to import from URL
* Remove some debug code
* Improve import ui
* Add drag and drop option
* Add basic-only setting css
* Better sizing of import elements
* Hide import from url if advanced is not enabled
* Improve file drag and drop box look
* Remove redundant css
* Allow clicking on drag and drop box to open file picker
* Allow drag and drop for folders
* Prevent welcome page from breaking due to unnecessary imports
* Note that the drop zone can be clicked on
* Reject directories with item counts requiring more than 1000 processing steps (roughly 500 items)
* Improve import modal styling
* Fix typing
* Add book icon to drag zone
* Remove drag-over class on drop
* Filter only for .zip files in drag and drop
* Drop zone text rename Files to Dictionaries and add (.zip)
* Clarify not using instanceof in ts-expect-error
* Only show drag-over styling when file is zip or directory
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Cleanup and add language tag to renderResult
* Add language switching support to anki card templates scanned text
* Update search page search-textbox lang on language switch
* Set queryparser lang
* Allow updating language for display-generator
* Only use kanji-stroke-orders font for japanese
|
|
|
|
|
|
|
|
|
|
|
| |
* Add up and down buttons to dictionaries list
* Fix text wrapping on firefox when viewport is smaller than dict modal
* Cleanup
* Remove up and down options from kebab menu
* Hide priority under advanced
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* frontend
* wip
* minimum viable
* minor simplification
* simplify gradients in duplicate svg
* simplify add-duplicate svg
* colors good
* arrows shape
* disable overwrite if no valid duplicate IDs
* add warning
|
|
|
|
|
|
|
| |
* Differentiate between recommended and full permissions on welcome page
* Allow setting optional permissions from welcome page
* Fix early return causing firefox permission text to not update correctly
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add Scan selected text lazy
* Remove extra spaces
* Improve naming
* Use disallowExpandSelection instead of "lazy"
* Use "keyword arguments" for _scanSelectedText
* Revert Use "keyword arguments" for _scanSelectedText
|
|
|
|
|
|
|
| |
instead of requiring page refresh (#934)
* Update anki settings when Configure Anki card format is clicked instead of requiring page refresh
* Select by data-modal-action instead of id
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add and remove settings from advanced
* Add warning to Text scan length
* Move Frequency sorting dictionary under Dictionaries, remove it from advanced, add child element Frequency sorting mode to advanced
* Move Result grouping mode to Appearance
* Move General above Dictionaries
* Rename Popup Appearance to Appearance
* Move Reading mode from Text Parsing to Appearance
* Make Text scan length warning less scary
* Move anki dupe settings back to advanced
* Remove scan delay setting from welcome page
* Move Recommended Permissions to top of welcome page, add bold, and add warning text
* Improve wording of recommended permissions warning
* Rename Enable content scanning to Enable Yomitan
Co-authored-by: James Maa <jmaa@berkeley.edu>
Signed-off-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com>
* Remove Auto-hide search popup option from welcome page
* Fix appearance href and id
* Add Result Display category
* Add success text css
* Split off quick start guide from welcome page
* Add language selector on welcome page
* Add success or danger text if recommended permissions are on or off
* Remove unused placeholders in backup category
* Rename Popup to Popup Behavior
* Move Auto-hide search popup and Hide popup on cursor exit to Popup Behavior
* Move Term display style, Reading mode, and Frequency display style to advanced
* Move custom css to advanced
* Remove unused setting
* Add back setting with note and hidden
* Remove Auto-hide search popup
* Restore Auto-hide search popup
* Fix Auto-hide search popup description
---------
Signed-off-by: Kuuuube <61125188+Kuuuube@users.noreply.github.com>
Co-authored-by: James Maa <jmaa@berkeley.edu>
|
|
|
|
| |
instead of only dictionaries with frequency data (#924)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add option to bulk generate anki cards
* Fix tab replacement
* Set deckname and modelname in note builder
* Add addNotes to ankiconnect api implementation
* Add option to send word list to anki directly
* Add support for audio and media toggle
* Add support for dictionary media
* Remove unnecessary assignment
* Remove unused css
* Remove redundant html
* Start of progress bar implementation
* Remove redundant type annotation
* Remove unused import
* Rename words to terms
* Print progress to console
* Add confirmation to Export to file
* Improve progress logs
* Add unresponsive and console note
* Add progress bars
* Make cancel button actually cancel operation
* Remove unresponsive warnings
* Disable send and export buttons after they are clicked
* Remove unneeded Yomichan mention
* Mark as experimental
* Clarify description
* Add documentation on Anki Deck Generation
* Add experimental note in docs
* Add warning text to settings page
* Switch example text based on language
* Remove silly cancel function and bind directly
* Rename to model
* Add link to docs
* Make test text less confusing
* Rename deck to notes
* Clarify what is being sent to anki
* Fix incorrect modal header text
* Clarify wording
* Fix ankiconnect addNotes return types
* Add error handling to send to anki
* Fix wording and naming in docs
* Add option to prevent sending duplicates to anki
* Update anki deck and model without a page refresh
* Cleanup internal html naming
* Cleanup type definition styling
* Update example text without a page refresh
* Prevent closing the send/export confirm modal from messing up the ui and not allowing the user to see the current progress
* Fix cancel getting stuck on true
* Consolidate state changes
* Support idle download timeout
* Capitalize Failed to add cards error
* Add separate variable for idleTimeout calculation
* Remove redundant _cachedDictionaryEntryValue variable
* Use tags option to populate tags
* Include deck and tags when exporting to file
* Use date down to seconds and zero pad
* Remove unnecessary ternary
* Limit 'path' finding function to only being able to search for 'path'
* Rename _findPathsByKey to _findAllPaths
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Enable @typescript-eslint/no-unsafe-assignment
* Updates
* Add missing import
* Updates
* Fix types?
* Fix tests
* Address comments
* Move TextProcessorVariant to types
* Update types/ext/translation-internal.d.ts
Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com>
Signed-off-by: James Maa <jmaa@berkeley.edu>
---------
Signed-off-by: James Maa <jmaa@berkeley.edu>
Co-authored-by: toasted-nutbread <toasted-nutbread@users.noreply.github.com>
Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com>
|
|
|
|
|
|
|
| |
* add source and target language dictionary metadata
* validate iso
* add description and grc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add single dictionary handlebars
* fix dicts with kanji in title
* sort
* rename to single-glossary-XYZ
* add brief and no dict variants
* add docs, only terms no kanji
* allow testing single dict handlebars
* remove empty comment
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add profile switching
* add duplicate behavior dropdown (#853)
* duplicate behavior dropdown
* allow duplicate for existing users
* Update docs/anki-integration.md
Co-authored-by: James Maa <jmaa@berkeley.edu>
Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com>
* Update docs/anki-integration.md
Co-authored-by: James Maa <jmaa@berkeley.edu>
Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com>
* Update docs/anki-integration.md
Co-authored-by: James Maa <jmaa@berkeley.edu>
Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com>
* remove suggestion comment
---------
Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com>
Co-authored-by: James Maa <jmaa@berkeley.edu>
---------
Signed-off-by: StefanVukovic99 <stefanvukovic44@gmail.com>
Co-authored-by: James Maa <jmaa@berkeley.edu>
|
|
|
|
|
|
|
| |
* Add scanOnTouchTap
* Update version to 30
* Cleanup if statement
|
|
|
| |
Co-authored-by: StefanVukovic99 <stefanvukovic44@gmail.com>
|
| |
|
|
|
|
|
| |
* Move sandbox files
* Update order
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
|
| |
* Fix HTML collection
* Expose templates
* Fix menu setup
* Warn
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
| |
* Add API map type safety
* Add API map types
* Simplify names
* Remove unused type
|
| |
|
|
|
|
|
|
|
| |
* Move waitForBackendReady
* Add option to wait for DOM before running main
* Move script load to be earlier
|
|
|
|
|
| |
* Refactor DocumentUtil
* Isolate suppression
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Install unicorn
* Add rules
* Fix issues
* Install sonarjs
* Set up rules
* Fix issues
* Install eslint-plugin-import and fix import extensions
* Simplify permitted error names
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Show all duplicate notes on click
* Change 'notesView' to 'viewNotes'
* Replace api.noteView with api.viewNotes
* Update "viewNote" action to "viewNotes" in options util
* Update options-util test with "viewNotes" action
* Replace uses of "viewNote" with "viewNotes"
* Replace _viewNote with _viewNotes
* Rename /*ViewNote*/ methods to /*ViewNotes*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Padding newline rules
* Update rules
* Update rules
* Update rules
* Updates
* Update object quotes
* Merge similar ts and js rules
* Change export spacing rules
* Move typescript-eslint rules
* Spacing
* Actually save and commit changes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add json test
* Update vscode settings to better handle json
* Collapse eslint rules for easier readability
* Reorganize
* Update no-multi-spaces rule for JSON
* Rules updates
* Switch to @stylistic/eslint-plugin
* Update deprecated stylistic rules
* Group stylistic rules
* Simplify rules
* Move eslint env overrides to end of file
* Add test
* Move promiseAnimationFrame to separate file
* Remove unneeded eslint disable
* Remove unneeded
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Unify repeated code for getting anki field markers
* Throw because type safety exists
* Simplify
* Update order
* Update test data
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add frequencies-num handlebar
* Fix handlebar name
* Fix inconsistent variable name format
* Add frequency-number to anki tests
* Use full names for total and frequency variables
* Migrate handlebars to JS, split rank and occurance, add average
* Remove left behind frequency-number
* Fix "occurrence" spelling
* Cleanup types
* Add frequency support for kanji cards
* Fix code style
* Clean up most of duplicate code and merge functions
* Fix frequencies.length check
* Use less witchcraft and remove redundant type casting
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename Yomitan class to Application, change initialization style
* Rename file
* Update init
* Update config
* Remove dead code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Convert PronunciationGenerator into static functions
* Convert DictionaryDataUtil into static functions
* Convert AnkiNoteDataCreator into static functions
* Convert MediaUtil into static functions
* Convert RegexUtil into static functions
* Convert StringUtil into static functions
* Convert ArrayBufferUtil into static functions
* Convert AnkiUtil into static functions
* Convert PermissionsUtil into static functions
* Convert ProfileConditionsUtil into static functions
|