Skip to content

v0.5.0#94

Merged
jotuel merged 19 commits intomainfrom
v0.5.0
Feb 27, 2026
Merged

v0.5.0#94
jotuel merged 19 commits intomainfrom
v0.5.0

Conversation

@jotuel
Copy link
Member

@jotuel jotuel commented Feb 27, 2026

Refactored code so users are in nav_bar and fingerprints in dropdown. Also not showing whole nav if there is only one user opting instead to invisibly select that. It makes experimenting with the UI much easier.

For this decided to get users via DBus blocking, meaning synchronously, and constructing the whole nav before initializing AppModel. This makes startup slower. but in reality, there is stuff going on anyways. This makes has the additional property of making the code simpler as there was a bunch of asynchronous stuff going on. The other way would've required replacing nav with custom element or doing nav changes in places where self was mutable and it seemed sketchy to me.

Also fixed the icon to be icon_file. Did not get user icon's displayed yet (if it even is possible).

@jotuel jotuel linked an issue Feb 27, 2026 that may be closed by this pull request
@jotuel jotuel merged commit f53eb53 into main Feb 27, 2026
1 check passed
@jotuel jotuel deleted the v0.5.0 branch February 27, 2026 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ui] List the user on the side if more than one

1 participant