3672b0fe73
* Only collect card stats on the backend ... ... instead of rendering an HTML string using askama. * Add ts page Card Info * Update test for new `col.card_stats()` * Remove obsolete CardStats code * Use new ts page in `CardInfoDialog` * Align start and end instead of left and right Curiously, `text-align: start` does not work for `th` tags if assigned via classes. * Adopt ts refactorings after rebase #1405 and #1409 * Clean up `ts/card-info/BUILD.bazel` * Port card info logic from Rust to TS * Move repeated field to the top https://github.com/ankitects/anki/pull/1414#discussion_r725402730 * Convert pseudo classes to interfaces * CardInfoPage -> CardInfo * Make revlog in card info optional * Add legacy support for old card stats * Check for undefined instead of falsy * Make Revlog separate component * drop askama dependency (dae) * Fix nightmode for legacy card stats |
||
---|---|---|
.. | ||
support | ||
__init__.py | ||
run_format.py | ||
run_mypy.py | ||
run_pylint.py | ||
run_pytest.py | ||
shared.py | ||
test_cards.py | ||
test_collection.py | ||
test_decks.py | ||
test_exporting.py | ||
test_find.py | ||
test_flags.py | ||
test_importing.py | ||
test_latex.py | ||
test_media.py | ||
test_models.py | ||
test_sched2021.py | ||
test_schedv1.py | ||
test_schedv2.py | ||
test_stats.py | ||
test_template.py | ||
test_undo.py |