Skip to content

Commit 13875df

Browse files
asimoneclaude
andcommitted
Rewrite Help modal content with updated text and new sections
- Updated intro paragraphs: share-focused copy, local storage + no tracking note - Renamed settings heading to "Settings Details" - Updated Split Modifiers, Physical Layout, and Language body copy - Added Mouse/HOTAS and Cross-Format Conflict Warnings items - Renamed Reset All to "Return to Defaults" with updated description - Added credit section with email link and language note Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 9e0e54a commit 13875df

3 files changed

Lines changed: 39 additions & 11 deletions

File tree

src/components/HelpModal.jsx

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,34 @@ export default function HelpModal({ onClose }) {
1010
<div className="help-body">
1111
<p className="mobile-only mobile-notice">{t('mobileWarning')}</p>
1212

13-
<p><strong>Keybindr</strong> {t('helpIntro1')}</p>
1413
<p>{t('helpIntro2')}</p>
1514
<p>{t('helpIntro3')}</p>
1615

17-
<h4>{t('settingsTitle')}</h4>
16+
<h4>{t('helpSettingsTitle')}</h4>
1817
<p>
1918
<strong>{t('helpSplitLabel')}</strong> {t('helpSplitBody')}
2019
</p>
2120
<p>
2221
<strong>{t('physicalLayout')}</strong> {t('helpPhysBody1')}
2322
</p>
24-
<p>{t('helpPhysBody2')}</p>
2523
<p>
2624
<strong>{t('languageRegion')}</strong> {t('helpLangBody')}
2725
</p>
26+
<p>{t('helpMouseHotasBody')}</p>
27+
<p>
28+
<strong>{t('helpConflictsLabel')}</strong> {t('helpConflictsBody')}
29+
</p>
2830
<p>
2931
<strong>{t('helpResetLabel')}</strong> {t('helpResetBody')}
3032
</p>
31-
{t('helpOutro') && <p>{t('helpOutro')}</p>}
33+
34+
<p className="help-credit">
35+
Built by Andrew{' — '}
36+
<a href="mailto:andrew@keybinds.help">andrew@keybinds.help</a>
37+
</p>
38+
<p className="help-credit-note">
39+
(I speak English and a small amount of French and German, but we both always have computer translation to help our communication if you have questions, feature requests, or bug reports.)
40+
</p>
3241
</div>
3342
<div className="modal-actions">
3443
<button className="btn-primary" onClick={onClose}>{t('gotIt')}</button>

src/index.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,21 @@ html, body {
652652
margin-top: 6px;
653653
}
654654
.help-body strong { color: var(--accent2); }
655+
.help-credit {
656+
margin-top: 6px;
657+
font-size: 12px;
658+
color: var(--text-dim);
659+
}
660+
.help-credit a {
661+
color: var(--accent);
662+
text-decoration: none;
663+
}
664+
.help-credit a:hover { text-decoration: underline; }
665+
.help-credit-note {
666+
font-size: 11px;
667+
color: var(--text-dim);
668+
font-style: italic;
669+
}
655670

656671
/* Settings modal */
657672
.modal-settings { width: 400px; }

src/translations.js

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,19 @@ const en = {
7272
mitLicense: 'MIT License',
7373
mobileWarning: 'This is a desktop focused application and, given the nature of it, will likely never be totally optimized for mobile. - Management',
7474
helpIntro1: 'is a visual keyboard binding planner.',
75-
helpIntro2: 'Map actions to key combinations, customize colors, name your layout, and export it for reference.',
76-
helpIntro3: 'All data is stored on your computer, so exporting at the end of a session is recommended.',
75+
helpIntro2: 'Map actions to key combinations, customize colors, name your layout, and share it with others.',
76+
helpIntro3: 'All data is stored locally in your browser, so exporting at the end of a session is recommended to avoid losing work. There is no user tracking on the site.',
77+
helpSettingsTitle: 'Settings Details',
7778
helpSplitLabel: 'Split Modifiers',
78-
helpSplitBody: 'toggles between unified modifier keys (Shift) or separate left/right keys (LShift / RShift).',
79-
helpPhysBody1: 'switches between keyboard form factors ANSI 104, ISO 105, TKL, 75%, 65%, and 60%.',
79+
helpSplitBody: 'toggles between unified modifier keys (Shift) and separate left/right keys (LShift / RShift).',
80+
helpPhysBody1: 'switches between keyboard form factors: ANSI 104, ISO 105, TKL, 75%, 65%, and 60%.',
8081
helpPhysBody2: 'If switching would orphan any existing bindings (keys that don\'t exist on the new layout), you\'ll be prompted before anything is deleted.',
81-
helpLangBody: 'changes the key labels shown on the keyboard to match your locale — covering QWERTY, QWERTZ, AZERTY, and regional variants across 23 locales.',
82-
helpResetLabel: 'Reset All',
83-
helpResetBody: 'clears all bindings, colors, and the layout name and returns settings to defaults.',
82+
helpLangBody: 'changes key labels to match your locale, supporting QWERTY, QWERTZ, AZERTY, and 30+ regional variants.',
83+
helpMouseHotasBody: 'Mouse and HOTAS keybinds can be toggled on or off. Visualization is not currently supported.',
84+
helpConflictsLabel: 'Cross-Format Conflict Warnings',
85+
helpConflictsBody: 'shows conflicts between format tabs (e.g. "On Foot" and "In Vehicle"). Off by default.',
86+
helpResetLabel: 'Return to Defaults',
87+
helpResetBody: 'clears all bindings, colors, and layout name, and resets to the example default.',
8488
modifierConflict: 'This modifier key is bound standalone and also used in a combo — these bindings may conflict',
8589
crossFormatWarnings: 'Cross-format conflict warnings',
8690
crossFormatConflict: 'This keybind is also bound in {names}',

0 commit comments

Comments
 (0)