Offer scoped identity security review after a connection refusal
This commit is contained in:
1 parent
b5302b813a
commit
4ca8678e6b
19 files changed
+95
-11
No files matched your search
@@ -31,6 +31,7 @@ export global ShellBridge {
|
||||
in-out property <string> contact-add-command;
|
||||
in-out property <string> label-add-contact;
|
||||
in-out property <string> new-connection-command;
|
||||
in-out property <ShellCommand> identity-review;
|
||||
in-out property <string> away-command;
|
||||
in-out property <string> capture-command;
|
||||
in-out property <string> create-channel-command;
|
||||
@@ -659,7 +660,8 @@ component DesktopServerPane inherits Rectangle {
|
||||
item: item; active: root.chat-visible && item.key == ChatBridge.active-tree-key;
|
||||
} }
|
||||
}
|
||||
if ShellBridge.tree.length == 0: Text { x: 20px; y: 18px; width: max(0px, parent.width - 40px); height: parent.height - 18px; text: ShellBridge.label-tree-empty; color: ShellColors.client; wrap: word-wrap; }
|
||||
if ShellBridge.tree.length == 0 && ShellBridge.identity-review.id == "": Text { x: 20px; y: 18px; width: max(0px, parent.width - 40px); height: parent.height - 18px; text: ShellBridge.label-tree-empty; color: ShellColors.client; wrap: word-wrap; }
|
||||
if ShellBridge.identity-review.id != "": ActionButton { x: 10px; y: 12px; width: min(parent.width - 20px,self.preferred-width); text: ShellBridge.identity-review.label; clicked => { ShellBridge.invoke(ShellBridge.identity-review.id); } }
|
||||
}
|
||||
if ShellBridge.create-channel-command != "" || ShellBridge.capture-command != "" || (ShellBridge.has-voice && ShellBridge.ptt-enabled): parity-tree-status := Rectangle {
|
||||
height: 55px; background: Theme.bg;
|
||||
@@ -776,7 +778,8 @@ export component ShellScreen inherits Rectangle {
|
||||
ScrollView { height: Theme.touch-target; HorizontalLayout { for tab in ShellBridge.tabs: ActionButton { text: tab.title + (tab.microphone-owner ? " · " + ShellBridge.label-mute : "") + (tab.unread != "" ? " (" + tab.unread + ")" : ""); primary: tab.selected; clicked => { ShellBridge.select(tab.id); } } } }
|
||||
if root.compact && ShellBridge.tabs.length == 0: ListView { for item in ShellBridge.bookmarks: EntryRow { item: item; } }
|
||||
ListView { for item in ShellBridge.tree: EntryRow { item: item; } }
|
||||
if ShellBridge.tree.length == 0: Text { text: ShellBridge.label-tree-empty; color: Theme.muted; wrap: word-wrap; }
|
||||
if ShellBridge.tree.length == 0 && ShellBridge.identity-review.id == "": Text { text: ShellBridge.label-tree-empty; color: Theme.muted; wrap: word-wrap; }
|
||||
if ShellBridge.identity-review.id != "": ActionButton { text: ShellBridge.identity-review.label; clicked => { ShellBridge.invoke(ShellBridge.identity-review.id); } }
|
||||
if !root.desktop: CommandList { commands: ShellBridge.actions; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user