(migration) Move to a graphical interface #16
Labels
No labels
bug
critical
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
kir68k/lattice#16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I think moving from plain CLI prompts to a cross-platform GUI, like Iced, would make developing a bit easier for me. I'm currently making a separate branch with a prototype version before making a PR.
I haven't worked much with interactive CLI prompting and printing before this project. I think that can be easily seen with the hard-coded
stdout().execute()calls toMoveToandClear. I don't think CLI/TUI is inherently hard, but I've had more experience with making graphical stuff.So for a new version, maybe v0.2.0 as this would be a relatively large change, I think the best would be:
-vflag is set, maybe?)So if the GUI doesn't work (like right now during my testing), there's a fallback method.
For the headless method, if I want to avoid interaction, I think the session and verification status should be stored like a full client would. Otherwise, with an ephemeral session, cross-signing wouldn't be available.
The SAS (emoji) method can be printed, but the main goal of headless is to be used as a long-running service to keep a track of new events.
This was due to Vulkan/Wayland/GL runtime dependencies from winit and wgpu, which Iced uses.
Had a bit of a pain trying to make it all link properly through nix. I prefer using
nix buildovernix develop->cargo buildin these projects.The final solution was a
runtimeDepsvar added tobuildInputs+ a wrapper:Now to actually make the UI work :D
Was thinking about this while working on
github.com/kir68k/matrix-export-tool@643ab9a8bb, between the last comment and today I tried egui/eframe for a small private project. I might use it instead, if it's viable.Move to a graphical interfaceto (migration) Move to a graphical interface