Anki/rslib/src
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 Switch CardInfoDialog to ts page (#1414) 2021-10-14 19:22:47 +10:00
card support updating multiple cards in one transaction/undo op 2021-08-02 16:59:02 +10:00
collection fix a clippy lint in latest Rust 2021-10-02 14:13:49 +10:00
config Add pylib/browser.py for literal config keys 2021-07-05 12:44:48 +02:00
deckconfig handle AnkiDroid's two element new intervals 2021-10-07 23:15:51 +10:00
decks expose uncapped counts and total in tree node 2021-08-22 15:32:46 +10:00
error Check for invalid conditionals on templates 2021-07-28 11:53:31 +02:00
media Strip isolation chars from filenames in Check Media screen 2021-09-27 22:15:37 +03:00
notes support updating multiple notes in one transaction/undo op 2021-08-02 17:07:26 +10:00
notetype don't panic when invalid note id provided to change notetype 2021-08-29 14:00:55 +10:00
revlog filtered decks w/ scheduling disabled in v3 now log reviews 2021-08-19 20:25:29 +10:00
scheduler handle filtered case when repositioning 2021-09-13 14:57:41 +10:00
search Fix double quotes being escaped twice in dupe search 2021-08-09 05:05:20 +03:00
stats Switch CardInfoDialog to ts page (#1414) 2021-10-14 19:22:47 +10:00
storage add basic tag completion to backend 2021-09-09 15:38:08 +02:00
sync check for invalid collections in full_upload() 2021-09-13 11:50:13 +10:00
tags bikeshedding: amount -> match_limit 2021-09-12 11:57:49 +10:00
undo update undo skipping; exclude deck/tag expand/collapse 2021-06-25 09:16:15 +10:00
adding.rs expose undoable config changes to frontend; refresh sidebar 2021-05-21 17:50:41 +10:00
backend_proto.rs Add links.proto and backend module 2021-07-22 10:05:38 +02:00
browser_table.rs Add tooltips for some browser columns 2021-09-30 13:15:09 +02:00
cloze.rs Add check for out-of-place/missing clozes 2021-06-12 10:02:21 +02:00
dbcheck.rs Skip new notetype checks when importing apkg 2021-07-28 21:46:51 +02:00
findreplace.rs Fix find & replace for notes without 'field_name' 2021-07-13 16:21:13 +02:00
i18n.rs drop the legacy enum from rslib, and pass separate module/message idx 2021-03-27 11:56:31 +10:00
latex.rs tidy up Rust imports 2021-04-18 18:38:54 +10:00
lib.rs Add links.rs for checking and building links 2021-07-22 10:03:03 +02:00
links.rs use separate integration test for links 2021-07-24 10:12:25 +10:00
log.rs tidy up Rust imports 2021-04-18 18:38:54 +10:00
markdown.rs render deck description with markdown; strip images 2021-02-06 15:02:40 +10:00
ops.rs update undo skipping; exclude deck/tag expand/collapse 2021-06-25 09:16:15 +10:00
preferences.rs allow customization of default search text 2021-06-24 11:24:30 +10:00
prelude.rs support undo for (renamed) unbury_deck() action 2021-04-30 20:03:20 +10:00
serde.rs tidy up Rust imports 2021-04-18 18:38:54 +10:00
template.rs Use existing 'no such field' tr string 2021-07-29 08:30:49 +02:00
template_filters.rs Pronounce "[...]" as "blank" with TTS 2021-05-20 09:42:38 +02:00
text.rs handle ampersand entities in image filenames 2021-08-19 23:43:40 +10:00
timestamp.rs fix test scheduler undo + implement look-ahead 2021-05-14 22:16:53 +10:00
types.rs update scheduling ops 2021-04-06 16:38:42 +10:00
version.rs tidy up Rust imports 2021-04-18 18:38:54 +10:00