Skip to content

Add in-app links to the online manual - #409

Merged
gbmhunter merged 1 commit into
mainfrom
feature/in-app-help-links
Jun 28, 2026
Merged

Add in-app links to the online manual#409
gbmhunter merged 1 commit into
mainfrom
feature/in-app-help-links

Conversation

@gbmhunter

Copy link
Copy Markdown
Owner

Summary

A first step toward integrating help into the app (someone asked about this). Rather than embedding the manual, this adds in-app entry points to the existing online manual — the lightweight option.

  • Help button in the left sidebar (HelpOutlineIcon), pinned to the bottom (marginTop: auto) so it sits apart from the pane-switching buttons, since it opens externally rather than switching panes. Opens ninjaterm.mbedded.ninja/manual.
  • Contextual "Open Manual" link in the RX → ANSI Escape Codes settings section, deep-linked to …/manual#ansi-escape-codes — pairs with the recent "Show Unknown Escape Codes" feature.

Both reuse the existing window.electronAPI.shell.openExternal pattern already used by the Graphing pane's "Open Manual" button — no new plumbing.

Notes

This is the minimal "more links" approach. Fuller in-app help (rendering the bundled manual markdown natively in a Help pane, working offline) was considered but deferred. Natural follow-up spots for more contextual links: other settings sections and an About entry.

Testing

  • npx tsc clean
  • npm run test:unit — 254 tests pass (UI-only change; no unit-test coverage for these views)

Add a Help button to the left sidebar that opens the online manual in the
browser, plus a contextual "Open Manual" link in the RX ANSI Escape Codes
settings section deep-linked to the ANSI codes reference. Reuses the
existing shell.openExternal pattern from the Graphing pane.
@netlify

netlify Bot commented Jun 28, 2026

Copy link
Copy Markdown

Deploy Preview for ninjaterm-docs canceled.

Name Link
🔨 Latest commit f5fbb1d
🔍 Latest deploy log https://app.netlify.com/projects/ninjaterm-docs/deploys/6a40d6a47b87450008029fc0

@netlify

netlify Bot commented Jun 28, 2026

Copy link
Copy Markdown

Deploy Preview for ninjaterm-app canceled.

Name Link
🔨 Latest commit f5fbb1d
🔍 Latest deploy log https://app.netlify.com/projects/ninjaterm-app/deploys/6a40d6a6218dd60008c80019

@gbmhunter gbmhunter self-assigned this Jun 28, 2026
@gbmhunter
gbmhunter merged commit d187372 into main Jun 28, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant