toasted-nutbread
0e26d9a667
Remove code for old settings page ( #1588 )
2021-04-03 13:32:53 -04:00
toasted-nutbread
a9fe2d03b2
Update dictionary settings structure ( #1587 )
...
* Update dictionary settings structure to use an array instead of an object
* Update ensureDictionarySettings implementation
* Remove some usage of ObjectPropertyAccessor
2021-04-03 13:02:49 -04:00
toasted-nutbread
0d2d342cd3
Fix selectability of kanji text ( #1586 )
2021-04-03 11:39:46 -04:00
toasted-nutbread
dabda86259
Optimize template renderer ( #1585 )
...
* Add renderMulti
* Batch template rendering
* Update tests
2021-04-02 19:09:21 -04:00
toasted-nutbread
8179846e38
Refactor template rendering ( #1583 )
...
* Update _errorToJson to _serializeError
* Remove async
* Refactor render
* Simplify _getModifiedData
* Rename data => commonData
* Rename templates => template for consistency
* Improve errors check
* Update tests
2021-04-02 12:42:06 -04:00
toasted-nutbread
36b7e34cce
Update version
2021-04-01 19:17:53 -04:00
toasted-nutbread
c66fe71ee0
Remove debug statements ( #1582 )
2021-04-01 19:17:53 -04:00
toasted-nutbread
5d7309ed54
Log Anki data ( #1579 )
...
* Remove unused modifierPost
* Add _getModifier
* Add _getModifiedData
* Add getModifiedData
* Add getRenderingData
* Update logging to also log anki note data
* Fix dangling comma
2021-03-31 20:07:11 -04:00
toasted-nutbread
da612bbdd7
Fix missing document title on the search page ( #1578 )
2021-03-31 19:58:33 -04:00
toasted-nutbread
f4af3f31ef
Make secondary dictionary option controllers more consistent ( #1577 )
2021-03-31 18:53:08 -04:00
toasted-nutbread
bdec71976a
Fix dictionary settings being missing after importing settings ( #1576 )
2021-03-31 18:32:17 -04:00
toasted-nutbread
bcbd413e57
Definition collapsing when overflowing ( #1575 )
...
* 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
2021-03-31 18:17:28 -04:00
toasted-nutbread
cbcfdcacaf
Fix incorrect state assignment when unbinding wanakana ( #1573 )
2021-03-29 18:46:32 -04:00
toasted-nutbread
f58b4962f1
Remove repeated disambiguations ( #1572 )
2021-03-28 16:04:55 -04:00
toasted-nutbread
b4d6a5d3b4
Toggle option hotkey ( #1571 )
...
* Set up toggleOption hotkey action settings
* Update styles
* Disable spell check and autocomplete
* Add OptionToggleHotkeyHandler
* Improve auto-close behaviour
2021-03-28 14:04:20 -04:00
toasted-nutbread
98994d0b65
Add playAudioFromSource hotkey ( #1570 )
2021-03-28 11:27:37 -04:00
toasted-nutbread
1664cc75f1
Shimau inflection ( #1569 )
...
* Add deinflection rule
* Update tests
2021-03-28 00:19:47 -04:00
toasted-nutbread
5be2362350
-chimau inflection ( #1568 )
...
* Update inflections
* Update tests
2021-03-28 00:05:45 -04:00
toasted-nutbread
34f8d8a812
Add a modal to confirm hotkey reset ( #1567 )
2021-03-27 23:03:06 -04:00
toasted-nutbread
8fe0e5fdf5
Add reset argument menu item ( #1566 )
2021-03-27 22:56:48 -04:00
toasted-nutbread
2098d2faae
Hotkey arguments ( #1565 )
...
* 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
2021-03-27 22:30:45 -04:00
toasted-nutbread
422f011fac
Update hotkey settings design ( #1564 )
...
* 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
2021-03-27 13:21:34 -04:00
toasted-nutbread
af768624ac
Update wording on the info page ( #1563 )
2021-03-26 20:01:04 -04:00
toasted-nutbread
299720d799
Fix definitionDetails using expression instead of term ( #1562 )
2021-03-26 19:57:57 -04:00
toasted-nutbread
90f7d5ba07
Add part of speech info ( #1561 )
...
* 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
2021-03-26 19:50:54 -04:00
toasted-nutbread
482dd8c8d8
Display fixes ( #1560 )
...
* Fix _getDefinitionDetailsForNote
* Fix _getExpressionAndReading
2021-03-26 19:31:19 -04:00
toasted-nutbread
a14caaeab9
Add join and concat utility functions for template rendering ( #1559 )
2021-03-26 19:07:43 -04:00
toasted-nutbread
a756ce85c0
Remove debug log ( #1558 )
2021-03-25 22:42:24 -04:00
toasted-nutbread
4ddd3ec80c
Fix incorrect sorting ( #1557 )
...
* Sort by the maximum length of transformedText instead of deinflectedText
* Update docs
* Update tests
2021-03-25 21:40:27 -04:00
toasted-nutbread
6af0ee26b9
Fix tag disambiguation ( #1556 )
...
* Update display generator to use new data format for tag disambiguation
* Add separator for multiple disambiguations
2021-03-25 20:54:39 -04:00
toasted-nutbread
4be5c8fd9f
Refactor Translator and dictionary entry format ( #1553 )
...
* 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
2021-03-25 19:55:31 -04:00
toasted-nutbread
e7035dcff4
Enable audio menu shift click ( #1555 )
...
* 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
2021-03-25 19:22:34 -04:00
toasted-nutbread
0e1845c7ed
Fix case where {tags} returns an error ( #1549 )
2021-03-23 20:43:38 -04:00
toasted-nutbread
28f97ba40b
Update display results style ( #1536 )
...
* Expose resultOutputMode
* Update display styles
2021-03-16 18:48:24 -04:00
toasted-nutbread
8ae78449f2
Fix furigana distribution when source/expression kana differs ( #1532 )
...
* Fix furigana distribution when source/expression kana differs
* Add an additional test
2021-03-15 23:02:38 -04:00
toasted-nutbread
9ad9961ca8
Fix error for kanji note data ( #1530 )
2021-03-15 20:50:18 -04:00
toasted-nutbread
9addd3f6d1
Fix search tab not focusing correctly ( #1529 )
2021-03-15 18:53:03 -04:00
toasted-nutbread
49b603c756
Remove old settings page ( #1524 )
...
* Remove old settings page
* Remove spinner.gif
2021-03-14 22:51:48 -04:00
toasted-nutbread
a52d86a39e
Dictionary database improvements ( #1527 )
...
* 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
2021-03-14 22:51:20 -04:00
toasted-nutbread
07df1e0117
Fix dictionary image support ( #1526 )
...
* 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
2021-03-14 18:41:15 -04:00
toasted-nutbread
52a4d874ea
Make MediaUtil a static class ( #1525 )
2021-03-14 18:04:19 -04:00
toasted-nutbread
06b02c3cf2
Add css width var ( #1523 )
...
* Rename --main-content-size to --content-width
* Add --content-width-search variable
2021-03-13 13:08:50 -05:00
toasted-nutbread
f6b591fd1a
Remove TODO comment from settings.css ( #1522 )
2021-03-13 13:04:26 -05:00
toasted-nutbread
e1477adeec
Simplify _findFirstBulk ( #1521 )
2021-03-13 11:42:04 -05:00
toasted-nutbread
a00ed41838
Database API updates ( #1520 )
...
* Add Database.findFirst
* Add DictionaryDatabase.findTagMetaBulk
2021-03-13 11:25:10 -05:00
toasted-nutbread
638e5783ac
Fix sorting of non-top-level definitions ( #1516 )
2021-03-10 20:27:10 -05:00
toasted-nutbread
5fe40d7ec4
Fix tag height ( #1515 )
2021-03-10 20:27:06 -05:00
toasted-nutbread
800ce9ed9e
Fix incorrect furigana distribution ( #1514 )
...
* Improve distributeFuriganaInflected implementation
* Update tests
2021-03-10 20:27:01 -05:00
toasted-nutbread
63de9273b3
Fix permissions changes not being supported on some browsers ( #1513 )
2021-03-10 20:26:57 -05:00
toasted-nutbread
b1f96a7ca7
Fix previousStyles being recreated for every transparent element ( #1512 )
2021-03-10 20:26:53 -05:00