summaryrefslogtreecommitdiff
path: root/ext/js
Commit message (Collapse)AuthorAge
* Fix popup preview disappearing after changing a setting (#1707)toasted-nutbread2021-05-23
|
* Clean up settings v1 code from PopupPreviewController (#1706)toasted-nutbread2021-05-23
| | | | | * Clean up settings v1 code from PopupPreviewController * Remove unused global
* Fix incorrect selector causing invalid headword index to be used (#1705)toasted-nutbread2021-05-23
|
* Improve support for sandboxed iframes (#1704)toasted-nutbread2021-05-23
| | | | | | | * Add more tests * Improve handling of errors from setupFrame * Passively handle errors when contentDocument is null
* Rename internal JSON schema functions to match new return type (#1699)toasted-nutbread2021-05-22
|
* Json schema improvements (#1698)toasted-nutbread2021-05-22
| | | | | | | | | | | * Simplify schema multi-push/pop * Reverse order of schema path * Reverse order of value path * Simplify schema path structure * Rename for better clarity
* Json schema validation improvements (#1697)toasted-nutbread2021-05-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Create new JsonSchema class * Add proxy handler * Update tests * Update validation scripts * Update backend * Update audio downloader * Update options util * Update dictionary importer * Update json schema file reference * Remove old json-schema.js * Rename new json-schema.js * Update file names * Rename class
* Update schema tests (#1693)toasted-nutbread2021-05-22
| | | | | | | | | * Update helper functions * Rename file * Update deleteProperty * Add some basic proxy tests
* Structured content image size units (#1692)toasted-nutbread2021-05-20
| | | | | * Add support for sizeUnits on image content * Update test data
* Selection clear improvements (#1690)toasted-nutbread2021-05-19
| | | | | | | | | * Update selection clear process * Clean up old clearSelection API * Update clear order * Add clear event handling
* Add support for definitions with structured content (#1689)toasted-nutbread2021-05-19
| | | | | | | | | | | * Add structured content to schema * Add support for generating custom content * Update importer * Update test data * Add verticalAlign property
* Dictionary image display refactoring (#1687)toasted-nutbread2021-05-18
| | | | | | | | | | | | | | | * Generalize image definition generation * Enable optional aspect ratio * Move styles * Update styles * Add more options for collapsing images * Add image options for collapsing * Improve layout for images that are collapsed
* Expose search query to anki template renderer (#1686)toasted-nutbread2021-05-17
| | | | | | | | | | | * Expose query and fullQuery to Anki context * Add {search-query} marker * Update test data * Update tests * Wrap search query in multiLine
* Fix repeated dictionary image importing (#1685)toasted-nutbread2021-05-16
|
* Revert "Add support for custom text type generation (#1683)" (#1684)toasted-nutbread2021-05-16
| | | This reverts commit 39cabc4db61047923712edcca6bedfd001d5d151.
* Add support for custom text type generation (#1683)toasted-nutbread2021-05-16
|
* Sentence termination character mode (#1682)toasted-nutbread2021-05-16
| | | | | | | | | | | * Change enableTerminationCharacters to terminationCharacterMode * Update settings * Update sentence extraction * Update tests * Add tests
* Add support for generic && and || operations for settings transforms (#1681)toasted-nutbread2021-05-16
|
* Popup action search (#1678)toasted-nutbread2021-05-15
| | | | | | | | | * Set up search page in the action popup * Fix a style causing incorrect overflow * Fix error when trying to take a screenshot * Fix popup size on Firefox
* Fix incorrect _updateClipboardMonitorEnabled invocation (#1677)toasted-nutbread2021-05-15
|
* Add SearchPersistentStateController (#1676)toasted-nutbread2021-05-15
|
* Improve source term exact match count (#1674)toasted-nutbread2021-05-14
| | | | | * Update sourceTermExactMatchCount to be based on headword count * Update tests
* Improve the behaviour of the "Move to..." action (#1667)toasted-nutbread2021-05-11
|
* Remove more legacy settings page selectors (#1659)toasted-nutbread2021-05-10
|
* Fix invalid node/selectors being used in the dictionary delete process (#1658)toasted-nutbread2021-05-10
|
* Improve term grouping (#1653)toasted-nutbread2021-05-08
| | | | | | | | | | | | | | | * Rename _addUniqueStrings to _addUniqueSimple * Update definition merging to not depend the sequence number * Improve naming * Update AnkiNoteDataCreator * Update docs * Remove fields that no longer exist * Update test data
* Add "Move to" menu option for moving dictionary options to a specific ↵toasted-nutbread2021-05-02
| | | | | | | location (#1651) * Add "Move to" option * Fix IDs
* Fix the "Prefix wildcard searches supported" toggle having incorrect state ↵toasted-nutbread2021-05-02
| | | | (#1650)
* Display fixes (#1648)toasted-nutbread2021-05-01
| | | | | | | * Fix incorrect tabId/frameId being used * Only enable nested popups if the tabId is valid * Remove unused APIs
* Flags profile conditions (#1647)toasted-nutbread2021-05-01
| | | | | | | | | | | | | * Generalize modifier keys * Optimize bindings * Add support for flags * Add clipboard flag * Update tests * Add tests
* Update search tags to always be displayed in a consistent manner (#1645)toasted-nutbread2021-05-01
|
* Remove the mouseover tags that are shown in merge mode (#1644)toasted-nutbread2021-05-01
|
* Add support for reordering dictionary options (#1641)toasted-nutbread2021-04-30
|
* Improve dictionary options (#1640)toasted-nutbread2021-04-30
| | | | | | | | | | | | | | | | | | | * Update dictionary options layout * Update extras * Improve display when no dictionaries are installed * Implement "All" toggle * Move modal * Update welcome page * Remove resizer button * Fix ordering * Fix extra closing tag
* Replace collapsable with collapsible (#1639)toasted-nutbread2021-04-30
|
* Show any custom tags on words that have anki cards created (#1628)soriac2021-04-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Proof-of-concept for showing card tags (#1626) * Resolved most PR comments: - Added a snackbar notification when clicking tag button - Replaced magnifying glass icon with new tag icon - Button now contains a span w/icon, to use text color - Removed unnecessary attributes from button - Backend now returns full noteInfos object - Frontend now handles filtering tags * Add options to show/hide tag button & filter tags * Do not show tags button if, after filtering, we have zero tags. * Change tags option to enums, optimize tags intersection check & fix code style. * Update options-util.js to include new tag options. * Fix wording on new tag setting. * Add CSS to remove hidden buttons from the display layout. * getAnkiNoteInfo extra parameter for additional info. * Add new tag option to tests. * Remove unnecessary changes related to anki tags option. * Code style fixes.
* Use childNodes instead of children (#1638)toasted-nutbread2021-04-28
|
* Add pitch categories template helper (#1636)toasted-nutbread2021-04-28
| | | | | | | * Move utility function * Expose dictionary entry as a hidden property for internal use * Add pitchCategories helper
* Translator alphanumeric improvement (#1635)toasted-nutbread2021-04-28
| | | | | * Simplify alphanumeric check * Update option name for clarity
* Add scanTextAtCaret option (#1632)toasted-nutbread2021-04-26
|
* Add support for restoring the selection after using scanSelectedText (#1631)toasted-nutbread2021-04-26
|
* Improve kifuku detection to not include suru nouns (#1621)toasted-nutbread2021-04-26
|
* Fix incorrect return type causing an error (#1623)toasted-nutbread2021-04-21
|
* Translator refactoring for consistency (#1619)toasted-nutbread2021-04-18
| | | | | | | * Remove unused argument * Improve naming in _groupDictionaryEntriesByHeadword More consistent with _getRelatedDictionaryEntries.
* Remove redundant dictionary entry sequence (#1618)toasted-nutbread2021-04-18
| | | | | | | | | * Remove sequence/sequenceDictionary from dictionary entry objects * Expose isPrimary on definitions * Update sequence * Update test data
* Improve dictionary sequence info (#1617)toasted-nutbread2021-04-18
| | | | | | | | | | | * Ensure negative sequence is always -1 * Expose sequence on definition objects * Update how sequence is exposed for definitions * Update test data * Update TS docs
* Replace furigana with reading (#1614)toasted-nutbread2021-04-13
| | | | | * Use "reading" instead of "furigana" for reading distribution * Update tests
* Improve AnkiController to indicate when the model/deck is invalid (#1611)toasted-nutbread2021-04-12
|
* Initial safari compatibility (#1609)toasted-nutbread2021-04-10
| | | | | | | | | | | | | | | | | | | * Update environment info to return the 'safari' browser * Fix popup display on Safari * Update environment assignment * Add data-loading-stalled property when loading takes longer than expected * Add notification when loading has stalled * Allow getDictionaryInfo invocation on non-privileged contexts * Update _validatePrivilegedMessageSender * Don't listen to 'voiceschanged' event unless addEventListener is present Also expose an event
* Use consistent window size properties to improve popup positioning (#1607)toasted-nutbread2021-04-09
|