summaryrefslogtreecommitdiff
path: root/internal/client/ui/core
diff options
context:
space:
mode:
Diffstat (limited to 'internal/client/ui/core')
-rw-r--r--internal/client/ui/core/helppopup.go16
-rw-r--r--internal/client/ui/core/profile/profile.go1
2 files changed, 10 insertions, 7 deletions
diff --git a/internal/client/ui/core/helppopup.go b/internal/client/ui/core/helppopup.go
index 2fbb830..e64c124 100644
--- a/internal/client/ui/core/helppopup.go
+++ b/internal/client/ui/core/helppopup.go
@@ -247,16 +247,20 @@ func (m HelpPopup) HelpChat() [][]Keymap {
{"i", "Start typing a message"},
{"enter", "Snap to bottom and type"},
{"ctrl+q", "Exit typing mode"},
- }, {
+
{"x", "Delete selected message"},
{"e", "Edit selected message"},
-
+ }, {
{"K", "Kick message sender"},
{"M", "Mute message sender"},
{"U", "Unmute message sender"},
- {"B", "Ban message sender"}, // TODO: implement
+ {"B", "Ban message sender"},
{"P", "Promote sender to admin"},
{"D", "Demote sender from admin"},
+ {"b", "Block user"},
+ {"u", "Unblock user"},
+ {"T", "Trust/Untrust user"},
+ {"p", "View user profile"},
}}
}
@@ -269,7 +273,7 @@ func (m HelpPopup) HelpMemberList() [][]Keymap {
{"g", "Move to the top"},
{"G", "Move to the bottom"},
- {"p", "View member profile"}, // TODO: implement
+ {"p", "View member profile"},
{"T", "Trust/untrust member"},
}, {
{"K", "Kick selected member"},
@@ -288,7 +292,7 @@ func (m HelpPopup) HelpVim() [][]Keymap {
{"esc", "Go into normal mode from insert mode"},
{"q", "Exit typing from normal mode"},
{"ctrl+q", "Exit typing from insert mode"},
- {"Other", "The rest of the vim keys work as usual"},
+ {"other", "The rest of the vim keys work as usual"},
}, {}}
}
@@ -301,7 +305,7 @@ func (m HelpPopup) HelpBanList() [][]Keymap {
{"g", "Move to the top"},
{"G", "Move to the bottom"},
}, {
- {"p", "View user profile"}, // TODO: implement
+ {"p", "View user profile"},
{"U", "Unban user"},
{"V", "View ban reason"},
{"b", "Switch to member list view"},
diff --git a/internal/client/ui/core/profile/profile.go b/internal/client/ui/core/profile/profile.go
index 601b99c..19d2354 100644
--- a/internal/client/ui/core/profile/profile.go
+++ b/internal/client/ui/core/profile/profile.go
@@ -54,7 +54,6 @@ func (m Model) View() string {
Foreground(colors.Gold).
Render("")
paddingRight := lipgloss.NewStyle().
- MarginRight(2).
Background(colors.Background).
Foreground(colors.Gold).
Render("")