Skip to content

Show Help for component-level help text - #1489

Merged
JackWilb merged 1 commit into
devfrom
codex/1438-component-help-dev
Sep 25, 2026
Merged

JackWilb merged 1 commit into
devfrom
codex/1438-component-help-dev

Conversation

@JackWilb

Copy link
Copy Markdown
Contributor

Why

A study with only component-level helpTextPath cannot open its help text because the header hides the Help button. Closes #1438.

Architecture

The header already resolves the current component the same way as HelpModal. Its button condition now checks the resolved component path first, then the global path. The modal's existing path selection and button behavior are unchanged.

User-facing impact

Participants see Help on components that define their own help text, even when the study has no global help path. Help remains hidden when neither path exists.

Validation

  • yarn unittest run src/components/interface/tests/AppHeader.spec.tsx src/components/interface/tests/HelpModal.spec.tsx — 28 passed.
  • yarn lint — passed.
  • yarn typecheck — passed.
  • Remote checks — pending.

Risk and rollout

Low risk: the change affects only Help-button visibility. The tests cover component-only, global-only, both, and neither cases, plus component path precedence in the modal. No special rollout is needed.

@github-actions

github-actions Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

🪓 PR closed, deleted preview.

@JackWilb JackWilb linked an issue Sep 25, 2026 that may be closed by this pull request
7 tasks
@JackWilb
JackWilb marked this pull request as ready for review September 25, 2026 21:12
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-25T21:15:23.375224Z 864b9e4 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@JackWilb
JackWilb merged commit ac2b040 into dev Sep 25, 2026
11 checks passed
@JackWilb
JackWilb deleted the codex/1438-component-help-dev branch September 25, 2026 21:19
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.

Show Help button when a component defines helpTextPath

1 participant