feat(client): polish connect, settings, chat, voice and friends UI; finish forums UI
All checks were successful
ci / check (push) Successful in 6m19s
All checks were successful
ci / check (push) Successful in 6m19s
- connect: remove the empty account plate overlay, align header controls, make Connect the primary action - settings: centered wider column, narrower nav, themed scrollbar, empty device lists state - chat/sidebar: neutral borders, stronger separators and avatars, channel welcome state, consistent icon sizes - voice: adaptive participant grid, single control dock - friends: per-tab empty states, ID hints; wire online count - forum: compact topic rows, grammatical reply count, bounded editors; add headless snapshots - i18n: translate image/forum errors at display time, server texts via catalogue, re-render image status on language switch
This commit is contained in:
parent
66e0b2726c
commit
ed065de4aa
24 changed files with 891 additions and 224 deletions
|
|
@ -148,6 +148,7 @@ export component MainWindow inherits Window {
|
|||
in-out property <[FriendItem]> pending-requests;
|
||||
in-out property <[string]> blocked-users;
|
||||
in-out property <string> friends-active-tab;
|
||||
in-out property <int> friends-online-count: -1;
|
||||
in-out property <string> add-friend-input;
|
||||
|
||||
in-out property <[VoiceMemberItem]> voice-members;
|
||||
|
|
@ -309,6 +310,8 @@ export component MainWindow inherits Window {
|
|||
connecting: root.connecting;
|
||||
auto-reconnect <=> root.auto-reconnect;
|
||||
node-name: root.node-name;
|
||||
account-name: root.account-name;
|
||||
sign-out => { root.account-sign-out(); }
|
||||
trust-kind: root.trust-kind;
|
||||
trust-address: root.trust-address;
|
||||
trust-received: root.trust-received;
|
||||
|
|
@ -435,6 +438,7 @@ export component MainWindow inherits Window {
|
|||
}
|
||||
if root.show-friends : FriendsPanel {
|
||||
friends: root.friends;
|
||||
online-count: root.friends-online-count;
|
||||
pending-requests: root.pending-requests;
|
||||
blocked-users: root.blocked-users;
|
||||
active-tab <=> root.friends-active-tab;
|
||||
|
|
@ -548,17 +552,6 @@ export component MainWindow inherits Window {
|
|||
import-keyfile(input, pass) => { root.import-keyfile(input, pass); }
|
||||
}
|
||||
|
||||
if root.account-authenticated && node-name == "" && !root.settings-open : Rectangle {
|
||||
x: parent.width - self.width - 12px; y: 6px;
|
||||
width: Math.min(340px, parent.width / 3); height: 32px;
|
||||
background: Theme.bg-elevated; border-radius: 6px;
|
||||
HorizontalLayout {
|
||||
padding-left: 10px; padding-right: 4px; spacing: 8px;
|
||||
Text { text: root.account-name; color: Theme.text-primary; font-size: 12px; overflow: elide; vertical-alignment: center; horizontal-stretch: 1; }
|
||||
ActionButton { text: @tr("Sign out of Central"); icon: "log-out"; width: 28px; clicked => { root.account-sign-out(); } }
|
||||
}
|
||||
}
|
||||
|
||||
if root.pending-delete-id != "" : Rectangle {
|
||||
background: Theme.overlay;
|
||||
TouchArea { }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue