toasted-nutbread
f3cf4d10c7
Dictionary image display refactoring ( #1687 )
...
* 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
2021-05-18 17:41:27 -04:00
toasted-nutbread
66d048832f
Sentence termination character mode ( #1682 )
...
* Change enableTerminationCharacters to terminationCharacterMode
* Update settings
* Update sentence extraction
* Update tests
* Add tests
2021-05-16 15:24:38 -04:00
toasted-nutbread
2c752fd89d
Popup action search ( #1678 )
...
* 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
2021-05-15 16:30:33 -04:00
toasted-nutbread
de57d73826
Improve overflow wrap ( #1663 )
2021-05-10 20:02:06 -04:00
toasted-nutbread
b50f5e1cf6
Improve internal page overflow ( #1660 )
...
* Improve overflow of internal pages
* Improve wrapping of the Origin: example text
2021-05-10 19:06:07 -04:00
toasted-nutbread
f935623f35
Fix secondary search dictionary options layout ( #1654 )
2021-05-08 15:18:41 -04:00
toasted-nutbread
32f5544021
Add "Move to" menu option for moving dictionary options to a specific location ( #1651 )
...
* Add "Move to" option
* Fix IDs
2021-05-02 21:04:39 -04:00
toasted-nutbread
c433819c1b
Update search tags to always be displayed in a consistent manner ( #1645 )
2021-05-01 11:53:56 -04:00
toasted-nutbread
076e201225
Improve dictionary options ( #1640 )
...
* 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
2021-04-30 18:01:16 -04:00
soriac
ba3f7b3e96
Show any custom tags on words that have anki cards created ( #1628 )
...
* 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.
2021-04-30 17:57:53 -04:00
toasted-nutbread
0a7def1c01
Fix triangle current selection indicator using incorrect rule ( #1637 )
2021-04-28 21:57:56 -04:00
toasted-nutbread
83e73800b0
Add tag icon ( #1629 )
2021-04-26 19:59:49 -04:00
toasted-nutbread
20d60a2ba7
Initial safari compatibility ( #1609 )
...
* 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
2021-04-10 23:55:11 -04:00
toasted-nutbread
331b164900
Remove settings-old.css ( #1604 )
2021-04-08 22:55:09 -04:00
toasted-nutbread
51c9bef032
Add PermissionsOriginController ( #1603 )
2021-04-08 22:52:28 -04:00
toasted-nutbread
c2aa51fdbb
Minor updates to settings styles ( #1601 )
2021-04-08 22:04:11 -04:00
toasted-nutbread
c73ee13086
More terminology updates ( #1600 )
...
* Update terminology
* Update display
* Rename expression-list to headword-list
* Rename expression-current-indicator
* Rename expression classes
* Update dictionary entry container
* Rename glossary => gloss
* Rename heading
* Rename gloss classes to gloss-content
2021-04-08 19:59:55 -04:00
toasted-nutbread
0d2d342cd3
Fix selectability of kanji text ( #1586 )
2021-04-03 11:39:46 -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
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
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
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
28f97ba40b
Update display results style ( #1536 )
...
* Expose resultOutputMode
* Update display styles
2021-03-16 18:48:24 -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
5fe40d7ec4
Fix tag height ( #1515 )
2021-03-10 20:27:06 -05:00
toasted-nutbread
aa6a547da7
Add CSS variable to control tag height ( #1495 )
2021-03-06 15:08:21 -05:00
toasted-nutbread
75d7e5dc32
Fix and improve some CSS vars ( #1465 )
2021-02-28 14:23:51 -05:00
toasted-nutbread
990d3611cd
Update color of name tag to not overlap with frequency tag color ( #1457 )
2021-02-27 23:19:16 -05:00
toasted-nutbread
7d6915ec3b
Misc display style updates ( #1454 )
...
* Remove unused style
* Update inflection separator
2021-02-27 17:58:28 -05:00
toasted-nutbread
c7caea7203
Improve expression variables ( #1453 )
...
* Improve how colors are used for expressions
* Add more color definitions
2021-02-27 17:29:59 -05:00
toasted-nutbread
c4b2e83cb4
Organize display styles ( #1452 )
...
* Improve grouping for inflection and expression styles
* kanji-link => expression-kanji-link
* Remove unnecessary entry-header2 and entry-header3
* Move tag list into header for consistency with term definitions
* Move styles
* Add clear
2021-02-27 16:54:15 -05:00
toasted-nutbread
8d3436fca3
Refactor display styles ( #1451 )
...
* term-expression => expression
* term-pitch-accent => pitch-accent
* term-reason => inflection, term-reasons => inflection-list
* term-details => expression-list-details
* term-glossary => glossary
* Update tag list classes
* term-definition => definition
2021-02-27 16:32:44 -05:00
toasted-nutbread
2a5aa53411
Refactor expression vars ( #1449 )
...
* Group expression styles
* Rename var
* Update var name and style
* Group --kanji* vars
* Rename var
* Rename vars
2021-02-27 15:28:40 -05:00
toasted-nutbread
1a7c264165
Add standalone reading ( #1448 )
...
* Add option
* Update display
* Hide redundant readings
* Improve label and description
2021-02-27 14:04:52 -05:00
toasted-nutbread
b994414b14
Improve Anki card type selection ( #1445 )
...
* Update separator line styles
* Add tabs
* Add support for radio select
* Remove old select
* Move out of scroll region
* Fix missing line
2021-02-26 18:15:04 -05:00
toasted-nutbread
5197b6cb9a
Disambiguation style strings ( #1442 )
...
* Add strings section
* Add disambiguation prefix/suffix strings
* Add separator strings
* Add padding definition
2021-02-25 18:48:42 -05:00
toasted-nutbread
ec495bd7b2
Improve frequency display ( #1438 )
...
* Add frequencyDisplayMode option
* Update tests
* Add setting
* Update frequency display styles
* Improve wrapping
2021-02-25 17:48:39 -05:00
toasted-nutbread
0a76de1b44
Update tag styles ( #1437 )
2021-02-23 18:42:04 -05:00
toasted-nutbread
7abb8a6056
Update tag display styles ( #1433 )
2021-02-21 17:47:46 -05:00
toasted-nutbread
e8d22b883b
Fix missing spacing after frequency disambiguation ( #1432 )
2021-02-21 16:54:32 -05:00
toasted-nutbread
b778974938
Improve tag styles ( #1431 )
...
* Update tag styles
* Refactor _createTag
* Update padding
2021-02-21 13:57:28 -05:00
toasted-nutbread
75d0d333d8
Improve some values based on the font-size ( #1430 )
2021-02-21 11:34:55 -05:00
toasted-nutbread
1e4545107d
Rename context.css to action-popup.css ( #1428 )
2021-02-21 00:22:21 -05:00
toasted-nutbread
ae1f7ad9fe
Improve button styles ( #1427 )
...
* Update variable names
* Update standard button styles
* Update styles
* Update button styles
* Update styles
* Add current styles
* Update button styles
* Update styles
* Update outline item styles
* Update styles
* Update styles
* Update notification button styles
* Update button styles
2021-02-21 00:18:43 -05:00
toasted-nutbread
ad0f8bfe39
Focus visible styles ( #1426 )
...
* Add focus-visible styles
* Add focus-visible styles
* Add focus-visible styles
* Add focus-visible styles
* Add focus-visible styles
2021-02-20 20:56:20 -05:00
toasted-nutbread
7315ecdd1a
Refactor styles ( #1425 )
...
* Replace :not(:disabled) styles
* Use var for style
* Update active styles
* Update disabled styles for <input> elements
* Update button disabled styles
* Add focus styles to checkbox
* Update style name
2021-02-20 17:09:58 -05:00
toasted-nutbread
98ac73260e
Remove section headings ( #1413 )
2021-02-16 21:25:21 -05:00
toasted-nutbread
53d02ca3d3
Fix search tags in split and grouped display modes ( #1412 )
2021-02-16 21:19:52 -05:00