2df3698e8c
* Add thousands comma separator for card counts graph * Fix Answer Buttons graph's tooltip Changes to the "times pressed" heading * Shows the percent of that button out of all the presses * Comma separates total on thousands * Update CONTRIBUTERS * Wider spacing for graph tables * Switch to locale-based stats numbers * Update CONTRIBUTORS Wrong email? * Fix counts graph on narrow devices Graph and table now align in a column when the device's screen is narrow. Columns widths are bounded to not get too wide * Rename toLocaleXXX functions * toLocaleNumber -> localizedNumber * toLocaleString -> localizedDate Also cleans up sketchy "card counts" table formatting * Localize more numbers Uses locale-based rounding for more numbers now * Localize graph axis ticks * Fix future-due graph tooltip * avoid div by zero (dae) Ignoring NaN in localizedNumber() could potentially mask a mistake in the future - better to explicitly handle the invalid case at the source instead. |
||
---|---|---|
.. | ||
card-info | ||
change-notetype | ||
components | ||
congrats | ||
deck-options | ||
domlib | ||
editable | ||
editor | ||
graphs | ||
html-filter | ||
lib | ||
patches | ||
reviewer | ||
sql_format | ||
svelte | ||
sveltelib | ||
.eslintrc.js | ||
.gitignore | ||
BUILD.bazel | ||
compile_sass.bzl | ||
copy.bzl | ||
esbuild.bzl | ||
eslint.bzl | ||
format.sh | ||
jest.bzl | ||
jest.config.js | ||
licenses.json | ||
prettier.bzl | ||
proto.bzl | ||
protobuf-no-long.js | ||
protobuf.bzl | ||
README.md | ||
tsconfig.json | ||
typescript.bzl | ||
update-licenses.sh | ||
update.sh | ||
vendor.bzl | ||
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