| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Fix label
* Fix icon size being flexible
* Add schema
* Add customSourceType option
* Update settings
* Pass customSourceType to the audio downloader
* Implement custom audio JSON mode
|
|
|
|
|
|
|
|
|
| |
* Wrap menu items in popup-menu-body
* Use bodyNode instead of node
* Update selector
* Update _setPosition to not use items
|
|
|
|
|
|
|
| |
* Move createExpressionAudio to DisplayAudio
* Move createAudioFromInfo to DisplayAudio
* Update TextToSpeechAudio
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* Simplify CacheMap, removing support for array path keys
* Update keys
* Update JsonSchemaValidator
* Update AudioSystem
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Rename menuOpened event to menuOpen
* Rename menuClosed event to menuClose
* Rename close event
* Assign _isClosed
* Reuse event detail
* Expose PopupMenu.openMenus
* Rename and expose properties
* Add cancelable argument to close
* Update menuOpen detail
* Update menuClose detail
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Simplify details
* Simplify audio creation
* Return an array of sources instead of a single item
* Use sourceIndex instead of index
* Rename APIs
* Return more info about the source
* Return source instead of sourceIndex
|
|
|
|
|
|
|
| |
* Update how _onCommandToggleTextScanning changes settings
* Make getFullOptions/getOptions private
* Remove unused isPrepared
|
|
|
|
|
|
|
|
|
|
|
| |
* Create HotkeyHelpController
* Expose getAllTemplates
* Update hotkeys on the context page
* Update hotkeys on the display pages
* Fix display issue where a hotkey used to be defined but no longer is
|
|
|
|
|
| |
* Change selectors
* Change openHelpPage to openInfoPage
|
|
|
|
|
|
|
|
|
| |
* Create HotkeyUtil
* Create tests
* Use HotkeyUtil
* Fix issues
|
|
|
|
|
| |
* Simplify API
* Move fallback audio
|
| |
|
|
|
|
|
|
|
| |
* Add support for frontend hotkeys; add scanSelectedText action
* Remove unused global
* Remove duplicate hotkey handler script
|
|
|
|
|
|
|
|
|
| |
* Add support for allowing HotkeyHandler to forward hotkeys
* Update hotkey registration
* Pass HotkeyHandler instance into Display* constructor
* Implement hotkey forwarding
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add support for allowing TextScanner.search to force focus
* Simplify query parser searched event forwarding
* Defer fallback creation
* Simplify event listeners
* Change type to pointerType
* Change cause to eventType
* Change empty to passive; make .search function passive
* Remove unused input index
|
| |
|
|
|
|
|
|
|
| |
* Change attribute
* Update hidden style
* Hide scope checkboxes when they are not supported for that action
|
|
|
|
|
|
|
|
|
| |
* Update settings v2 to be the default for existing users
* Update information on the old settings page
* Update information on the new settings page
* Update tests
|
| |
|
|
|
|
|
|
|
|
|
| |
* Add stroke-count definition
* Update options
* Update documentation
* Add helper
|
|
|
|
|
| |
* Create HotkeyHandler
* Update Display to use HotkeyHandler
|
|
|
|
|
| |
* Update commands
* Add command to open the popup window
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add popupWindow options
* Add toBoolean converter
* Add settings
* Use new options
* Add test link
* Fix window state not working
* Make the window section advanced only
|
|
|
|
|
| |
* Scroll to the bottom when adding inputs
* Skip if empty action
|
|
|
|
|
|
|
| |
* Add focusSearchBox hotkey
* Update close hotkey action
* Update hotkeys
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* Add new option: anki.suspendNewCards
* Update Anki APIs
* Suspend card based on options
* Add setting
* Disable wrap for toggle property
|
|
|
|
|
|
|
|
|
| |
* Add an event for when the number of profile conditions changes
* Update count
* Fix stale data being used
* Add "Remove group" option
|
|
|
|
|
|
|
|
|
| |
* Clarify the meaning of the 'None' option; rename to 'No key'
* Clarify Auto-hide search popup
* Clarify Scan delay
* Move Support inputs for devices with touch screens; make advanced
|
|
|
|
|
| |
* Add _setType and _setOperator
* Add reset value menu option
|
|
|
|
|
|
|
|
|
|
|
| |
* Set up hotkey inputs
* Improve key display
* Add setInput
* Add KeyboardShortcutController
* Update how display handles hotkeys
|
| |
|
|
|
|
|
|
|
| |
* Update KeyboardMouseInputField to use .code instead of .key
* Update Display to use .code instead of .key
* Remove unused function
|
|
|
|
|
|
|
|
|
| |
* Move super invocation
* Move active element check
* Simplify key handling
* Remove unused
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Assign missing type
* Update KeyboardMouseInputField to use an array instead of a string
* Use "modifiers" instead of "value" or "inputs"
* Simplify
* Add support for using keys
* Use bool args instead of a string
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Create AnkiNoteData
* Create AnkiNoteDataDefinitionProxyHandler
* Update media injection
* Create AnkiNoteDataDefinitionSecondaryProperties
* Update note context format
* Expose url and cloze on definition
* Simplify for understandability
* Remove unused _createNoteData
* Update public object
* Remove trims on sentence, since it should already be trimmed
* Fix unused global
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Pass url into setContent
* Update where url is checked from
* Add documentTitle to state information
* Update how _getNoteContext gets the document title
* Update how url is fetched for options context
* Pass document title in to 'searched' event
|
|
|
|
|
| |
* Refactor how options context is created and updated
* Udpate TextScanner/QueryParser to use getSearchContext instead of getOptionsContext
|
|
|
|
|
|
|
|
|
|
|
| |
* Refactor note adding/viewing functions
* Move _addDefinition
* Update where anki field templates are assigned
* Update _createNote to not include options/templates arguments
* Simplify getAnkiNoteInfo to not require duplicateScope
|
|
|
|
|
|
|
|
|
|
|
| |
* Move TemplateRendererProxy creation into AnkiNoteBuilder
* Simplify _stringReplaceAsync
* Organize note generation
* Rename API
* Make the template rendering function more generic
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add new sentenceParsing options
* Update TextScanner.setOptions
* Assign terminator/quote maps
* Pass sentence parsing info to extractSentence
* Simplify setting
* Add setting for enableTerminationCharacters
* Create new settings for sentence termination characters
|
|
|
|
|
|
|
| |
* Rename options.anki.sentenceExt to options.sentenceParsing.scanExtent
* Create sentence parsing icon
* Create new sentence parsing section
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Copy set intersection functions
* Remove unused functions
* Simplify url check
* Remove parseUrl
* Simplify stringReverse
* Remove hasOwn due to infrequent use
* Rename errorToJson/jsonToError to de/serializeError
For clarity on intended use.
* Fix time argument on timeout
* Add missing return value
* Throw an error for unexpected argument values
* Add documentation comments
|
| |
|
|
|
|
|
|
|
| |
* Create _injectAnkiNoteMedia function
* Remove unused code path
* Simplify modeOptions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add support for regex replacements during the translation process
* Allow assignment of textReplacements
* Rename
* Set up test data
* Write expected data
* Set up options
* Prevent infinite loop if regex matches empty string
* Implement setting controller
* Add support for testing pattern replacements
|