Skip to content

fix: keep Activity commit details after browser Back - #7

Open
rodboev wants to merge 2 commits into
mainfrom
pr/activity-commit-pane-back
Open

fix: keep Activity commit details after browser Back#7
rodboev wants to merge 2 commits into
mainfrom
pr/activity-commit-pane-back

Conversation

@rodboev

@rodboev rodboev commented Sep 4, 2026

Copy link
Copy Markdown
Owner

A default-branch commit opened from the Activity feed now survives leaving Activity and pressing browser Back, the same way a selected pull request or issue already does. The restored header keeps the commit identity with its branch and short SHA.

The commit identity now uses the existing Activity URL state with a commit:<sha> value, repo identity, and branch. The view keeps its standalone behavior while the app shell owns the controlled selection, so one selected slot keeps commit, pull request, and issue details mutually exclusive. Activity filters, the route memory from #810, existing pull request and issue restoration, and the phone surface stay unchanged.

The PR-merge-modal Escape symptom remains a separate follow-up because it has a different modal ownership boundary. No server, schema, or generated API changes are included.

Refs kenn-io#452

@rodboev
rodboev force-pushed the pr/activity-commit-pane-back branch from 5fba33f to f6aab40 Compare September 4, 2026 22:35
wesm pushed a commit to kenn-io/forge that referenced this pull request Sep 5, 2026
Default-branch commit details selected from Activity now survive leaving the page and returning with browser Back. The Activity URL uses the existing selection slot for commits, pull requests, and issues, keeping those detail panes mutually exclusive while preserving filters and existing phone behavior.

This brings [rodboev#7](rodboev#7) into forge proper with the contributor commits preserved.

Refs #452


Co-authored-by: Marius van Niekerk <mariusvniekerk@users.noreply.github.com>
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