forge
Explore
Log in

Don't you dare go Hollow

Home hint said 'Ctrl K Find user' but Ctrl+K opens the jump menu

Browse files at this commit

2d45643b99204ae93f97620edf3a6600eb4d5d7dAhmet Kaan GümüşParent: f9f0188
  • fix
    • home hint said 'Ctrl K Find user' but Ctrl+K opens the jump menu
    • now 'Ctrl K Where to?'
Show full message
🐛 fix: home hint said 'Ctrl K Find user' but Ctrl+K opens the jump menu; now 'Ctrl K Where to?'
crates/client/src/gui.rsmodified+1 -1
@@ -202,7 +202,7 @@ pub fn sync_theme(cx: &mut App) {
202 }202 }
203 203
204 const FIND_KEY: &str = "ctrl-k";204 const FIND_KEY: &str = "ctrl-k";
205-pub const FIND_HINT: &str = "Ctrl K";205+pub const JUMP_HINT: &str = "Ctrl K";
206 206
207 pub fn badge(palette: Palette, id: Id, name: &str, size: Pixels, font: Rems) -> Div {207 pub fn badge(palette: Palette, id: Id, name: &str, size: Pixels, font: Rems) -> Div {
208 let initial = name208 let initial = name
crates/client/src/gui/chat.rsmodified+3 -3
@@ -14,7 +14,7 @@ use crate::gui::social::InviteLookup;
14 use crate::gui::voice_stats::{self, SAMPLE_HISTORY};14 use crate::gui::voice_stats::{self, SAMPLE_HISTORY};
15 use crate::gui::wave::Waves;15 use crate::gui::wave::Waves;
16 use crate::gui::{16 use crate::gui::{
17- FIND_HINT, Palette, Tooltip as _, Yumush, avatar,17+ JUMP_HINT, Palette, Tooltip as _, Yumush, avatar,
18 builder::{BuilderTab, Transfer},18 builder::{BuilderTab, Transfer},
19 clickable, community_name,19 clickable, community_name,
20 community_settings::{BanSort, LogSort},20 community_settings::{BanSort, LogSort},
@@ -1335,9 +1335,9 @@ fn empty_state(palette: Palette) -> impl IntoElement {
1335 .border_1()1335 .border_1()
1336 .border_color(palette.border)1336 .border_color(palette.border)
1337 .text_size(text(text::CAPTION))1337 .text_size(text(text::CAPTION))
1338- .child(FIND_HINT),1338+ .child(JUMP_HINT),
1339 )1339 )
1340- .child(w().chat.find_user)1340+ .child(w().jump.placeholder)
1341 }1341 }
1342 1342
1343 pub(super) fn create_community(1343 pub(super) fn create_community(