Skip to content

[FEATURE]: Restore fork button on user messages in web/desktop UI #22205

Closed as not planned

Description

@JtMotoX

Description

It would be great to have the inline "Fork to new session" button restored on user messages in the web and desktop UI (next to "Revert message" and "Copy message").

Context

The fork button was originally added in fbd9b7cf4 (feat(app): restore to message and fork session, #17092) but was later removed in 311ba4179 (fix(app): remove fork session button) as a workaround for #18250, where clicking it crashed with "Platform context must be used within a context provider".

At the time, the button was removed rather than fixing the underlying context provider issue. A community PR (#18290) attempted the proper fix by wrapping the fork dialog with PlatformProvider, but it was never merged.

The fork feature itself still works via the /fork slash command in the command palette, but the inline button on user messages was much more discoverable and provided a quicker workflow for branching conversations.

References

Activity

  1. github-actions commented on Apr 12, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • This appears to be a feature request (restoring removed functionality), but the title doesn't start with [FEATURE]: and the feature request verification checkbox is missing. Please use the Feature Request template.

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


    This issue might be a duplicate of existing issues. Please check:

    If you believe this was flagged incorrectly, please let a maintainer know.

  2. changed the title [-]Restore fork button on user messages in web/desktop UI[/-] [+][FEATURE]: Restore fork button on user messages in web/desktop UI[/+] on Apr 12, 2026
  3. JtMotoX commented on Apr 12, 2026

    @JtMotoX
    Author

    Closing in favor of existing issues that cover the same request:

  4. github-actions commented on Apr 12, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! It now follows the contributing guidelines. The needs:compliance label has been removed.

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

Metadata

Metadata

Assignees

Labels

webRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions