yomichan/ext/js/background
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
..
backend.js Show any custom tags on words that have anki cards created (#1628) 2021-04-30 17:57:53 -04:00
background-main.js Api prepare refactor (#1391) 2021-02-14 15:19:31 -05:00
environment.js Initial safari compatibility (#1609) 2021-04-10 23:55:11 -04:00
profile-conditions-util.js Util rename (#1389) 2021-02-14 11:32:30 -05:00
request-builder.js Move bg/js (#1387) 2021-02-14 11:19:54 -05:00