chore(client): checkpoint deployed features and unfinished server management
User requested a checkpoint and stopped all agents. Deployed artifacts remain the last verified releases; unfinished settings/categories/forums are preserved as WIP. See TODO/roadmap for verification and remaining release/updater work.
This commit is contained in:
parent
15f03bf8df
commit
f04691c3cd
90 changed files with 9599 additions and 371 deletions
12
examples/audio_devices.rs
Normal file
12
examples/audio_devices.rs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
//! Diagnostic inventory only: does not open streams or capture microphone audio.
|
||||
fn main() -> anyhow::Result<()> {
|
||||
let lists = vnox_client::audio::devices::enumerate()?;
|
||||
println!("Audio backend: {}", cpal::default_host().id().name());
|
||||
for (kind, entries) in [("Input", lists.input), ("Output", lists.output)] {
|
||||
println!("{kind}: system default");
|
||||
for entry in entries {
|
||||
println!(" {} ({})", entry.label, entry.id);
|
||||
}
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
38
examples/clipboard_probe.rs
Normal file
38
examples/clipboard_probe.rs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
//! Native clipboard smoke test: `cargo run --example clipboard_probe`.
|
||||
//! Focus starts in the ordinary field. Paste a non-sensitive test string with
|
||||
//! Ctrl+V; Tab moves through password and multiline inputs.
|
||||
//! Set VNOX_CLIPBOARD_EXPECT to report equality without logging clipboard data.
|
||||
slint::slint! {
|
||||
import { LineEdit, TextEdit, VerticalBox } from "std-widgets.slint";
|
||||
export component ClipboardProbe inherits Window {
|
||||
title: "VNOX Clipboard Probe";
|
||||
width: 440px;
|
||||
height: 260px;
|
||||
callback changed(string, string);
|
||||
init => { ordinary.focus(); }
|
||||
VerticalBox {
|
||||
ordinary := LineEdit { placeholder-text: "Ordinary input";
|
||||
edited(value) => { root.changed("ordinary", value); }
|
||||
}
|
||||
LineEdit { placeholder-text: "Password input"; input-type: password;
|
||||
edited(value) => { root.changed("password", value); }
|
||||
}
|
||||
TextEdit { edited => { root.changed("multiline", self.text); } }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fn main() -> Result<(), slint::PlatformError> {
|
||||
let window = ClipboardProbe::new()?;
|
||||
let expected = std::env::var("VNOX_CLIPBOARD_EXPECT").ok();
|
||||
window.on_changed(move |field, text| {
|
||||
let matches = expected
|
||||
.as_deref()
|
||||
.map(|expected| expected == text.as_str());
|
||||
println!(
|
||||
"field={field} chars={} matches_expected={matches:?}",
|
||||
text.chars().count()
|
||||
);
|
||||
});
|
||||
window.run()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue