anki/ts
Matthias Metelka 6c6a10c142
Fix some issues with the Tag Editor (#2215)
* Prevent global focus border on tag-input

* Fix margin issues with tag editor

* Remove redundant autocomplete call

that caused the addition of an empty tag when tag suggestions were selected with the Enter key.

* Prevent input text from overlapping with newly added tags

... at least when they're selected from the autocomplete list via mouse. If they're selected via keyboard, there's still an overlapping issue.

* Fix error on updateSuggestions

* Hide empty tag

* Make double-click to collapse/expand translatable
2022-11-27 10:45:33 +10:00
..
card-info Allow passing startup props to setupCardInfo() 2022-11-03 11:37:47 +10:00
change-notetype Add comments to Sass variables and tweak main window (#2137) 2022-10-29 10:48:53 +10:00
components UI size tweaks (#2184) 2022-11-23 16:50:15 +10:00
congrats UI size tweaks (#2184) 2022-11-23 16:50:15 +10:00
deck-options Prevent deck options switches from toggling on label click (#2166) 2022-11-04 10:06:57 +10:00
domlib Fix typos (#2210) 2022-11-24 20:18:57 +10:00
editable Fix inverted Ctrl+right/left handling in RTL fields (again) (#2191) 2022-11-15 11:14:18 +10:00
editor Fix some issues with the Tag Editor (#2215) 2022-11-27 10:45:33 +10:00
fields Add comments to Sass variables and tweak main window (#2137) 2022-10-29 10:48:53 +10:00
graphs Use custom scrollbar in stats screen, use grid layout and tweak CSS (#2154) 2022-11-02 18:23:08 +10:00
html-filter With the new duplicate appearance, excluding the bg color becomes viable 2022-10-24 09:26:02 +10:00
icons Add extra button group for cloze commands (#1756) 2022-03-31 13:30:00 +10:00
import-csv Avoid sticky containers in importing screen for now 2022-11-03 11:59:08 +10:00
lib Fix shortcuts for tag actions not working (#2214) 2022-11-27 10:29:58 +10:00
mathjax Use same config for editor and reviewer Mathjax (#1865) 2022-05-13 13:23:35 +10:00
patches Override older protobufjs pulled in via @bazel/typescript 2022-06-03 13:15:48 +10:00
reviewer Maybe preload images (#2165) 2022-11-04 10:07:51 +10:00
sql_format run buildifier/buildozer to tidy up BUILD files 2021-12-14 09:18:24 +10:00
svelte Improved add-on extension API (#1626) 2022-02-03 14:52:11 +10:00
sveltelib Fix typos (#2210) 2022-11-24 20:18:57 +10:00
tag-editor Fix some issues with the Tag Editor (#2215) 2022-11-27 10:45:33 +10:00
.eslintrc.js Add option to shrink editor images by default (#2071) 2022-09-26 09:47:50 +10:00
.gitignore Update eslint to 4.22.0 2021-04-22 19:19:39 +02:00
BUILD.bazel Add extra button group for cloze commands (#1756) 2022-03-31 13:30:00 +10:00
compile_sass.bzl Remove individual .html files + other refactorings (#1588) 2022-01-16 15:05:35 +10:00
copy.bzl include sourcemaps for pages/* in dev builds 2021-04-20 17:33:46 +10:00
esbuild.bzl Fix invisible tag input in Qt5 (thanks to Hikaru) 2022-04-05 09:53:36 +10:00
eslint.bzl Use eslint for sorting our imports (#1637) 2022-02-04 18:36:34 +10:00
format.sh prettier: don't depend on system node being available 2021-11-25 07:14:15 +10:00
generate_page.bzl Remove individual .html files + other refactorings (#1588) 2022-01-16 15:05:35 +10:00
jest.bzl Allow passing debug=True to jest_test for debugger support (#2013) 2022-08-16 10:55:16 +10:00
jest.config.js update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
licenses.json Update d3 deps for CWE 2022-09-30 14:22:23 +10:00
page.html Load page script after body created (#1802) 2022-04-19 17:16:56 +10:00
prettier.bzl prettier: don't depend on system node being available 2021-11-25 07:14:15 +10:00
proto.bzl update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
protobuf-no-long.js add a hack to avoid Long.js in Jest tests 2021-04-17 17:05:48 +10:00
protobuf.bzl Consider using --force-message for ts/protobuf.bzl (#1694) 2022-02-27 17:35:07 +10:00
README.md add add.sh helper for adding dependency and updating licenses 2020-12-31 12:20:51 +10:00
tsconfig.json Use same config for editor and reviewer Mathjax (#1865) 2022-05-13 13:23:35 +10:00
typescript.bzl Refactor i18n (#1405) 2021-10-07 23:31:49 +10:00
update-licenses.sh fix update-licenses.sh 2021-12-03 20:35:53 +10:00
update.sh add add.sh helper for adding dependency and updating licenses 2020-12-31 12:20:51 +10:00
vendor.bzl copy_bootstrap_css/icons were unused 2022-01-15 20:35:11 +10:00
yarn.sh Replace individual d3 libraries with encompassing d3 2021-01-30 00:00:22 +01:00

Anki's TypeScript and Sass dependencies. Some TS/JS code is also stored separately in ../qt/aqt/data/web/.

To update all dependencies:

./update.sh

To add a new dev dependency, use something like:

./add.sh -D @rollup/plugin-alias