30c7cf1fdd
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. |
||
---|---|---|
.. | ||
congrats | ||
editor | ||
graphs | ||
lib | ||
patches | ||
sass | ||
.eslintrc.js | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
BUILD.bazel | ||
copy.bzl | ||
eslint.bzl | ||
format.sh | ||
licenses.json | ||
package.json | ||
prettier.bzl | ||
README.md | ||
rollup.aqt.config.js | ||
rollup.config.js | ||
sql_format.bzl | ||
sql_format.ts | ||
svelte.bzl | ||
tsconfig.json | ||
update-licenses.sh | ||
update.sh | ||
vendor.bzl | ||
yarn.lock | ||
yarn.sh |
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