aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Definition collapsing when overflowing (#1575)toasted-nutbread2021-03-31
| | | | | | | | | | | | | | | * Add double-down-chevron.svg * Add options * Update dictionary importers * Update settings * Add support for collapsible definitions * Improve case when there is a very small amount of overflow * Fix incorrect enabled state of newly imported dictionaries
* Fix incorrect state assignment when unbinding wanakana (#1573)toasted-nutbread2021-03-29
|
* Remove repeated disambiguations (#1572)toasted-nutbread2021-03-28
|
* Toggle option hotkey (#1571)toasted-nutbread2021-03-28
| | | | | | | | | | | * Set up toggleOption hotkey action settings * Update styles * Disable spell check and autocomplete * Add OptionToggleHotkeyHandler * Improve auto-close behaviour
* Add playAudioFromSource hotkey (#1570)toasted-nutbread2021-03-28
|
* Shimau inflection (#1569)toasted-nutbread2021-03-28
| | | | | * Add deinflection rule * Update tests
* -chimau inflection (#1568)toasted-nutbread2021-03-28
| | | | | * Update inflections * Update tests
* Add a modal to confirm hotkey reset (#1567)toasted-nutbread2021-03-27
|
* Add reset argument menu item (#1566)toasted-nutbread2021-03-27
|
* Hotkey arguments (#1565)toasted-nutbread2021-03-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Update display * Move scope definitions * Update scopes button after changing action * Don't show menu if empty * Improve scope updating * Update style * Simplify * Add argument to settings * Update convertToNumber implementation * Add support for arguments * Pass argument to action handler * Update hotkey action definitions * Remove x3 options
* Bump elliptic from 6.5.3 to 6.5.4 (#1506)dependabot[bot]2021-03-27
| | | | | | | | | Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4. - [Release notes](https://github.com/indutny/elliptic/releases) - [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update hotkey settings design (#1564)toasted-nutbread2021-03-27
| | | | | | | | | | | | | | | | | * Update PopupMenu event prevention * Use vars for button padding * Add button-inner-label style * Add input-button button * Update display of scope selection * Add hidden argument text input field * Remove unnecessary calls * Display a strike through the enabled button when no scopes are selected
* Update wording on the info page (#1563)toasted-nutbread2021-03-26
|
* Fix definitionDetails using expression instead of term (#1562)toasted-nutbread2021-03-26
|
* Add part of speech info (#1561)toasted-nutbread2021-03-26
| | | | | | | | | | | | | | | | | | | * Add part of speech info to headwords * Expose parts of speech to Anki template rendering * Expose parts of speech * Update pitch accent categories * Update docs * Add part-of-speech * Update options and tests * Update markers * Update test data
* Display fixes (#1560)toasted-nutbread2021-03-26
| | | | | * Fix _getDefinitionDetailsForNote * Fix _getExpressionAndReading
* Add join and concat utility functions for template rendering (#1559)toasted-nutbread2021-03-26
|
* Remove debug log (#1558)toasted-nutbread2021-03-25
|
* Fix incorrect sorting (#1557)toasted-nutbread2021-03-25
| | | | | | | * Sort by the maximum length of transformedText instead of deinflectedText * Update docs * Update tests
* Fix tag disambiguation (#1556)toasted-nutbread2021-03-25
| | | | | * Update display generator to use new data format for tag disambiguation * Add separator for multiple disambiguations
* Refactor Translator and dictionary entry format (#1553)toasted-nutbread2021-03-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Update test data * Move translator.js * Create new version of Translator * Update Backend * Update DictionaryDataUtil * Update DisplayGenerator * Create AnkiNoteDataCreator * Replace AnkiNoteData with AnkiNoteDataCreator * Update tests * Remove AnkiNoteData * Update test data * Remove translator-old.js * Add TypeScript interface definitions for the new translator data format
* Enable audio menu shift click (#1555)toasted-nutbread2021-03-25
| | | | | | | | | | | | | | | | | | | | | * Expose modifier keys * Add updateMenuItems * Don't close menu if shift key is held * Add _createMenuItems * Simplification * Maintain a list of open popup menus * Expose expression/reading * Reuse existing items * Update menu after a cache update * Update menu position
* Update simple test (#1551)toasted-nutbread2021-03-23
| | | | | * Test null for simple mode * Update test data
* Test AnkiNoteBuilder (#1550)toasted-nutbread2021-03-23
| | | | | * Add test for AnkiNoteBuilder * Add test data
* Fix case where {tags} returns an error (#1549)toasted-nutbread2021-03-23
|
* TranslatorVM (#1548)toasted-nutbread2021-03-22
| | | | | * Add TranslatorVM * Update test-translator.js
* Remove node data for 'simple' mode, since this is never used (#1538)toasted-nutbread2021-03-17
|
* Fix incorrect mode in translator test (#1537)toasted-nutbread2021-03-17
|
* Update display results style (#1536)toasted-nutbread2021-03-16
| | | | | * Expose resultOutputMode * Update display styles
* Update packages (#1534)toasted-nutbread2021-03-15
|
* Fix invalid commas in HTML (#1533)toasted-nutbread2021-03-15
|
* Fix furigana distribution when source/expression kana differs (#1532)toasted-nutbread2021-03-15
| | | | | * Fix furigana distribution when source/expression kana differs * Add an additional test
* Improve translator test data (#1531)toasted-nutbread2021-03-15
| | | | | | | * Organize files * Split translator test data into two files * Add test for AnkiNoteData
* Fix error for kanji note data (#1530)toasted-nutbread2021-03-15
|
* Fix search tab not focusing correctly (#1529)toasted-nutbread2021-03-15
|
* Remove old settings page (#1524)toasted-nutbread2021-03-14
| | | | | * Remove old settings page * Remove spinner.gif
* Dictionary database improvements (#1527)toasted-nutbread2021-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update formatting * Add _findMultiBulk * Update implementation of findTermsBySequenceBulk * Update tests * Generalize query creation * Remove _findGenericBulk * Reduce function creation * Add more bindings * Simplify findTermsExactBulk implementation * Update var names * Update _findMultiBulk to support multiple index queries * Update findTermsBulk * Update getMedia implementation * Pass data arg to getAll and findFirst to avoid having multiple closures
* Fix dictionary image support (#1526)toasted-nutbread2021-03-14
| | | | | | | | | | | | | * Fix content security policy for images * Add createBlobFromBase64Content to MediaUtil * Update MediaLoader to use MediaUtil * Use blob URLs when importing dictionaries * Update VM's URL to support createObjectURL and revokeObjectURL * Fix test
* Make MediaUtil a static class (#1525)toasted-nutbread2021-03-14
|
* Add css width var (#1523)toasted-nutbread2021-03-13
| | | | | * Rename --main-content-size to --content-width * Add --content-width-search variable
* Remove TODO comment from settings.css (#1522)toasted-nutbread2021-03-13
|
* Simplify _findFirstBulk (#1521)toasted-nutbread2021-03-13
|
* Database API updates (#1520)toasted-nutbread2021-03-13
| | | | | * Add Database.findFirst * Add DictionaryDatabase.findTagMetaBulk
* Fix sorting of non-top-level definitions (#1516)toasted-nutbread2021-03-10
|
* Fix tag height (#1515)toasted-nutbread2021-03-10
|
* Fix incorrect furigana distribution (#1514)toasted-nutbread2021-03-10
| | | | | * Improve distributeFuriganaInflected implementation * Update tests
* Fix permissions changes not being supported on some browsers (#1513)toasted-nutbread2021-03-10
|
* Fix previousStyles being recreated for every transparent element (#1512)toasted-nutbread2021-03-10
|
* Fix text selection during scanning (#1508)toasted-nutbread2021-03-09
| | | | | | | | | * Move function * Add _onSearchClick function * Move _onSearchClick after event prevention * Prevent search if selection is changed before a click occurs
* Clean up translator (#1505)toasted-nutbread2021-03-08
| | | | | | | | | | | | | | | * Remove unused: _removeUsedDefinitions * Remove unused: _scoreToTermFrequency * Remove unused: _getTermTagsScoreSum * Add RegexUtil * Update Translator to use RegexUtil * Update sw.js * Update tests