anki/proto/anki
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
..
backend.proto Add links.proto and backend module 2021-07-22 10:05:38 +02:00
card_rendering.proto replace the old stripHTML() methods with the backend implementation 2021-10-01 23:15:45 +10:00
cards.proto support updating multiple cards in one transaction/undo op 2021-08-02 16:59:02 +10:00
collection.proto split out cards and collection 2021-07-10 19:52:31 +10:00
config.proto configs.proto plural workaround no longer necessary 2021-07-11 19:35:18 +10:00
deckconfig.proto adding options to sort by ascending/descending ease 2021-08-22 15:32:46 +10:00
decks.proto expose uncapped counts and total in tree node 2021-08-22 15:32:46 +10:00
generic.proto refactor protobuf handling for split/import 2021-07-10 19:17:05 +10:00
i18n.proto refactor protobuf handling for split/import 2021-07-10 19:17:05 +10:00
links.proto Remove native HelpPage enum 2021-07-22 16:32:49 +02:00
media.proto split out remaining tags, stats, media and rendering 2021-07-10 23:16:18 +10:00
notes.proto support updating multiple notes in one transaction/undo op 2021-08-02 17:07:26 +10:00
notetypes.proto Skip new notetype checks when importing apkg 2021-07-28 21:46:51 +02:00
scheduler.proto configs.proto plural workaround no longer necessary 2021-07-11 19:35:18 +10:00
search.proto Add tooltips for some browser columns 2021-09-30 13:15:09 +02:00
stats.proto Switch CardInfoDialog to ts page (#1414) 2021-10-14 19:22:47 +10:00
sync.proto split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
tags.proto bikeshedding: amount -> match_limit 2021-09-12 11:57:49 +10:00