anki/qt/aqt/browser
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
..
sidebar .exec_() -> .exec() 2021-10-12 16:17:37 +10:00
table .exec_() -> .exec() 2021-10-12 16:17:37 +10:00
__init__.py new change notetype implementation for the frontend 2021-06-10 22:19:24 +10:00
browser.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
card_info.py Switch CardInfoDialog to ts page (#1414) 2021-10-14 19:22:47 +10:00
find_and_replace.py run pyupgrade over codebase [python upgrade required] 2021-10-04 15:05:48 +10:00
find_duplicates.py Keep the list of duplicates up-to-date before tagging (#1404) 2021-10-07 12:49:41 +10:00
previewer.py Revert "Allow <audio> to play without user interaction in accordance to autoplay setting" 2021-10-12 16:18:24 +10:00