Skip to content

Commit 7579fb7

Browse files
authored
Remove ellipses from settings placeholders (#687)
1 parent 758d6f4 commit 7579fb7

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

apps/roam/src/components/DiscourseNodeMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ export const NodeMenuTriggerComponent = ({
443443
return (
444444
<InputGroup
445445
inputRef={inputRef}
446-
placeholder={isActive ? "Press keys ..." : "Click to set trigger"}
446+
placeholder={isActive ? "Press keys" : "Click to set trigger"}
447447
value={shortcut}
448448
onKeyDown={handleKeyDown}
449449
onFocus={() => setIsActive(true)}

apps/roam/src/components/settings/HomePersonalSettings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const HomePersonalSettings = ({ onloadArgs }: { onloadArgs: OnloadArgs }) => {
5959
settingKey={DISCOURSE_TOOL_SHORTCUT_KEY}
6060
label="Discourse Tool Keyboard Shortcut"
6161
description="Set a single key to activate the Discourse Tool in tldraw. Only single keys (no modifiers) are supported. Leave empty for no shortcut."
62-
placeholder="Click to set single key..."
62+
placeholder="Click to set single key"
6363
/>
6464
<Checkbox
6565
defaultChecked={

apps/roam/src/components/settings/KeyboardShortcutInput.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const KeyboardShortcutInput = ({
6767
settingKey,
6868
label,
6969
description,
70-
placeholder = "Click to set shortcut...",
70+
placeholder = "Click to set shortcut",
7171
}: KeyboardShortcutInputProps) => {
7272
const extensionAPI = onloadArgs.extensionAPI;
7373
const inputRef = useRef<HTMLInputElement>(null);
@@ -141,7 +141,7 @@ const KeyboardShortcutInput = ({
141141
<Description description={description} />
142142
<InputGroup
143143
inputRef={inputRef}
144-
placeholder={isActive ? "Press keys ..." : placeholder}
144+
placeholder={isActive ? "Press keys" : placeholder}
145145
value={shortcut}
146146
onKeyDown={handleKeyDown}
147147
onFocus={() => setIsActive(true)}

apps/roam/src/components/settings/PageGroupPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ const PageGroupsPanel = ({
132132
key={groupKey}
133133
value={newGroupName}
134134
onChange={(e) => handleNewGroupNameChange(e.target.value)}
135-
placeholder="Page group name ..."
135+
placeholder="Page group name"
136136
/>
137137
<Button
138138
icon="plus"

0 commit comments

Comments
 (0)