yomichan/ext/js
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
..
app Add scanTextAtCaret option (#1632) 2021-04-26 21:11:43 -04:00
background Show any custom tags on words that have anki cards created (#1628) 2021-04-30 17:57:53 -04:00
comm Show any custom tags on words that have anki cards created (#1628) 2021-04-30 17:57:53 -04:00
data Show any custom tags on words that have anki cards created (#1628) 2021-04-30 17:57:53 -04:00
debug Use consistent number of newlines at the start of files (#1402) 2021-02-15 12:43:24 -05:00
display Show any custom tags on words that have anki cards created (#1628) 2021-04-30 17:57:53 -04:00
dom Fix autofocus sometimes not working on the search page (#1597) 2021-04-07 19:07:42 -04:00
general Clean up translator (#1505) 2021-03-08 21:01:55 -05:00
input Hotkey arguments (#1565) 2021-03-27 22:30:45 -04:00
language Add pitch categories template helper (#1636) 2021-04-28 21:57:49 -04:00
media Initial safari compatibility (#1609) 2021-04-10 23:55:11 -04:00
pages Use childNodes instead of children (#1638) 2021-04-28 22:07:11 -04:00
script Move api to yomichan object (#1392) 2021-02-14 15:53:35 -05:00
templates Add pitch categories template helper (#1636) 2021-04-28 21:57:49 -04:00
core.js Cleanup yomichan api (#1394) 2021-02-14 18:18:02 -05:00
yomichan.js Cleanup yomichan api (#1394) 2021-02-14 18:18:02 -05:00