Damien Elmes
Damien Elmes
eg: ```rust pub mod pb { include!(concat!(env!("OUT_DIR"), "/example.rs")); } use pb::{union::Value, Choice, One, TopLevel, Union}; use std::borrow::Cow; impl TopLevel { fn tagged_union(&self) -> Cow { if let Some(inner) = self.tagged_union.as_ref()...
Please contact me directly before bothering upstream crate authors in the future. Fluent have already implemented a fix for this panic - the reason Anki is using a forked version...
Me either - lowercase type names don't seem to be idiomatic in Kotlin, and "did: DeckId" would make it much more readable for people not familiar with Anki's abbreviations.
Just a heads up that @rumovz's work on a new CSV importer/exporter was merged into Anki's main branch yesterday. The actual importing/exporting is handled in Rust, and there is a...
The new code can be enabled in the first tab of the preferences screen. The backend interface is strongly typed, so if it does happen to change in the future,...
1-2 should already be handled, and these pages are working in AnkiMobile. If there are Android-specific issues, patches are welcome :-) The frontend sends and receives binary protobuf payloads in...
The new backend code will have a large impact on the future of AnkiDroid development, so as someone who reviews other people's PRs, I'd recommend getting up to speed with...
In this case it requires keeping track of active/merged PRs - https://github.com/ankidroid/Anki-Android/pull/12175 is the one that will introduce the new decks screen. Related info: - https://github.com/ankidroid/Anki-Android/issues/11882 - https://github.com/ankidroid/Anki-Android-Backend/blob/main/docs/OVERVIEW.md
This looks like it's not based on latest main, as some of these changes were already made in https://github.com/ankidroid/Anki-Android/pull/11802
Some of the performance problems can likely be solved with col.newBackend.backend.browserRowForId(). It's intended to be used on demand (eg with a RecyclerView or similar)