anki/ts
Damien Elmes 30c7cf1fdd fade out webview when pending updates; do some reviewer updates immediately
Issues that need fixing:
- when the editor saves the note with perform_op(), if it isn't modified,
no new undo entry is created, and perform_op then returns the changes
made by the previous operation instead
- the approach of fetching the last action in a subsequent backend
method is unsound, as another queued operation may sneak in first before
we have a chance to query the result - it would be better if it were
returned in a single atomic action
- redrawing the current card while editing is likely to make sound
autoplay annoyingly, and it has an unpleasant redraw. We may be better off
fading it out instead

Side note: the editor cursor moves to the start of the field when the
note is updated in another window - it might be nicer to have it move
the cursor to the end instead.
2021-03-19 19:45:21 +10:00
..
congrats render deck description with markdown; strip images 2021-02-06 15:02:40 +10:00
editor Fix bug with initially enabled toolbar in browser 2021-03-10 19:28:08 +01:00
graphs Satisfy formatter 2021-02-22 14:44:31 +01:00
lib Revert "sanitize deck description HTML with html-sanitize" 2021-02-06 13:25:40 +10:00
patches update to rules_nodejs 3.0.0 2020-12-23 16:05:15 +10:00
sass fade out webview when pending updates; do some reviewer updates immediately 2021-03-19 19:45:21 +10:00
.eslintrc.js initial Bazel conversion 2020-11-01 14:26:58 +10:00
.gitignore Add Mathjax filegroup 2020-11-14 14:14:25 +01:00
.prettierignore make 'bazel run ts:format' work 2020-11-12 20:49:00 +10:00
.prettierrc initial Bazel conversion 2020-11-01 14:26:58 +10:00
BUILD.bazel Move editor to /ts/editor 2021-01-31 14:15:03 +01:00
copy.bzl Move copy_page to ts/copy.bzl and rename to copy_files_into_group 2021-02-02 18:20:11 +01:00
eslint.bzl initial Bazel conversion 2020-11-01 14:26:58 +10:00
format.sh make 'bazel run ts:format' work 2020-11-12 20:49:00 +10:00
licenses.json Remove explicit popperjs again, because it's included in bootstrap.bundle 2021-03-09 13:37:56 +01:00
package.json Remove explicit popperjs again, because it's included in bootstrap.bundle 2021-03-09 13:37:56 +01:00
prettier.bzl make 'bazel run ts:format' work 2020-11-12 20:49:00 +10:00
README.md add add.sh helper for adding dependency and updating licenses 2020-12-31 12:20:51 +10:00
rollup.aqt.config.js Move editor to /ts/editor 2021-01-31 14:15:03 +01:00
rollup.config.js Revert "sanitize deck description HTML with html-sanitize" 2021-02-06 13:25:40 +10:00
sql_format.bzl move exports_files call into ts/BUILD.bazel 2021-01-09 18:03:26 +10:00
sql_format.ts add .sql file formatter 2021-01-09 14:22:49 +10:00
svelte.bzl Restore "Merge pull request #1007 from hgiesel/sveltesass2"" 2021-02-06 08:39:36 +10:00
tsconfig.json Add PreferenceStore with gettable/settable preferences 2021-01-22 13:14:33 +01:00
update-licenses.sh add add.sh helper for adding dependency and updating licenses 2020-12-31 12:20:51 +10:00
update.sh add add.sh helper for adding dependency and updating licenses 2020-12-31 12:20:51 +10:00
vendor.bzl Remove explicit popperjs again, because it's included in bootstrap.bundle 2021-03-09 13:37:56 +01:00
yarn.lock Remove explicit popperjs again, because it's included in bootstrap.bundle 2021-03-09 13:37:56 +01: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