Anki/qt
RumovZ 3672b0fe73
Switch CardInfoDialog to ts page (#1414)
* 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
2021-10-14 19:22:47 +10:00
..
aqt Switch CardInfoDialog to ts page (#1414) 2021-10-14 19:22:47 +10:00
icons move remaining Filter button items into sidebar 2021-02-05 18:58:22 +10:00
linux Quote $PREFIX properly for paths with spaces 2021-09-23 01:24:52 +00:00
mac exclude Mac dylib from '...' 2021-02-04 20:41:08 +10:00
tests bump minimum Python to 3.9 2021-10-04 15:05:15 +10:00
tools add new hook: add_cards_did_change_deck (#1420) 2021-10-12 17:55:21 +10:00
.isort.cfg initial Bazel conversion 2020-11-01 14:26:58 +10:00
.pylintrc update Python deps 2021-10-02 23:52:23 +10:00
bazelfixes.py add missing copyright headers to *.py 2021-04-13 18:45:35 +10:00
BUILD.bazel update to latest mypy 2021-06-16 16:04:59 +10:00
dmypy.py move proto files into separate py_library in same namespace 2021-07-11 14:51:25 +10:00
mypy.ini bump minimum Python to 3.9 2021-10-04 15:05:15 +10:00
README.md minor doc updates 2020-12-11 22:37:12 +10:00
runanki.py add missing copyright headers to *.py 2021-04-13 18:45:35 +10:00

Python's Qt GUI is in aqt/