Skip to content

feat(tui): add permission_fullscreen_default option - #34211

Closed
SBhojani wants to merge 1 commit into
anomalyco:devfrom
SBhojani:feat-permission-fullscreen-default
Closed

feat(tui): add permission_fullscreen_default option#34211
SBhojani wants to merge 1 commit into
anomalyco:devfrom
SBhojani:feat-permission-fullscreen-default

Conversation

@SBhojani

@SBhojani SBhojani commented Jun 27, 2026

Copy link
Copy Markdown

Issue for this PR

Closes #12334

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds a permission_fullscreen_default option to tui.json. When it's true, the permission prompt opens in the fullscreen view instead of collapsed, so you don't have to toggle fullscreen on every prompt. Defaults to false, so behaviour is unchanged unless you opt in.

It's gated on props.fullscreen, so it only affects prompts that already support the fullscreen toggle. I added the field to the Info schema in config/index.tsx; resolve() already spreads ...input, so it flows through to the resolved config and the generated tui.json schema without extra wiring. The only behaviour change is the initial value of store.expanded in permission.tsx.

#12334 requested this and was closed by the stale bot with no implementation.

How did you verify your code works?

Built locally, set permission_fullscreen_default: true in tui.json, and triggered an edit permission prompt — it opens fullscreen. Unset / false opens collapsed as before. Also confirmed the generated tui.json schema includes the new key.

Screenshots / recordings

No visual change beyond the existing fullscreen permission view opening by default. Can add a recording if that's preferred.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Adds a permission_fullscreen_default tui.json option that opens the
permission prompt in fullscreen by default when the prompt is
fullscreen-capable (props.fullscreen). Defaults to false, preserving
current behavior.

Re-implements the request in anomalyco#12334, which the stalebot auto-closed
after 90 days with no maintainer action.
@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. and removed needs:compliance This means the issue will auto-close after 2 hours. labels Jun 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

@m1fisher

Copy link
Copy Markdown

+1, this would be a very useful feature! I currently have to press Ctrl+F manually for every code edit. Happy to help test this branch if that helps.

@github-actions

Copy link
Copy Markdown
Contributor

Automated PR Cleanup

Thank you for contributing to opencode.

Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions.

This PR was closed because it matched the following cleanup criteria:

  • The PR was created more than 1 month ago
  • The PR had fewer than 2 positive reactions
  • Positive reactions are counted as thumbs-up, heart, celebration, or rocket reactions on the PR

PRs created within the last month are not affected by this cleanup.

If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate.

Thanks again for taking the time to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: TUI config option to open edit permission prompts in fullscreen by default

2 participants