yomichan/ext/js/display
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
..
display-audio.js Update dictionary entry terminology (#1592) 2021-04-04 16:22:35 -04:00
display-generator.js Add pitch categories template helper (#1636) 2021-04-28 21:57:49 -04:00
display-history.js Move mixed/js (#1383) 2021-02-13 22:52:28 -05:00
display-notification.js Move mixed/js (#1383) 2021-02-13 22:52:28 -05:00
display-profile-selection.js Move api to yomichan object (#1392) 2021-02-14 15:53:35 -05:00
display-resizer.js Separate display resizer (#1494) 2021-03-06 14:31:23 -05:00
display.js Show any custom tags on words that have anki cards created (#1628) 2021-04-30 17:57:53 -04:00
element-overflow-controller.js Update dictionary settings structure (#1587) 2021-04-03 13:02:49 -04:00
option-toggle-hotkey-handler.js Toggle option hotkey (#1571) 2021-03-28 14:04:20 -04:00
popup-main.js Separate display resizer (#1494) 2021-03-06 14:31:23 -05:00
query-parser.js Fix text being overwritten when generating the query parser content (#1483) 2021-03-03 18:06:12 -05:00
search-display-controller.js Update dictionary entry terminology (#1592) 2021-04-04 16:22:35 -04:00
search-main.js Fix autofocus sometimes not working on the search page (#1597) 2021-04-07 19:07:42 -04:00