Mobile UI pass: responsive tables, deck-view drill-down, dialog fixes
- Library/Card Search/Deck tables stack into dense card-style rows below 720px instead of scrolling horizontally (floated thumbnail, wrapping chips for MV/Owned/color pips). - Deck view: fix desktop min-widths and a non-wrapping button row that forced horizontal scroll on phones; split the deck list and the deck-building pane into separate drill-down screens with a back button so a long deck list doesn't bury the builder. - Suggested Cards modal: fix action buttons crushing the card name down to one word per line by giving them their own full-width row. - Add a close (X) button to the shared dialog title bar — mobile has no Escape key and wide dialogs leave little backdrop to tap. - Info tab, bottom-nav loading/safe-area fixes, and Gradle NDK_HOME inheritance fix carried over from the Android bring-up work.
This commit is contained in:
@@ -53,7 +53,17 @@ fn status_of(s: &AppState) -> Status {
|
||||
|
||||
#[tauri::command]
|
||||
pub fn get_status(db: Db) -> Res<Status> {
|
||||
Ok(status_of(&db.lock().unwrap()))
|
||||
let status = status_of(&db.lock().unwrap());
|
||||
// Only ever called once per launch (from the frontend's one status-fetch
|
||||
// effect, retried on failure/timeout) — cheap to log unconditionally, and
|
||||
// it's the one way to tell "this invoke never reached Rust" (nothing
|
||||
// logged at all) apart from "it reached Rust and returned not-ready".
|
||||
crate::mlog!(
|
||||
"get_status: reference_ready={} card_count={}",
|
||||
status.reference_ready,
|
||||
status.card_count
|
||||
);
|
||||
Ok(status)
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
|
||||
Reference in New Issue
Block a user