Repository navigation
Add repository-scoped assisted commit UX foundation [1/7] - #22971
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
Its cross-cutting persistence, asynchronous UI, accessibility, and shared-control changes warrant final human validation.
Review effort: Balanced
Findings: None
What changed in this PR
Adds the repository-scoped foundation for a future Copilot-assisted commit workflow without enabling commit execution.
Changes:
- Persists commit mode per repository and propagates it through application state.
- Adds assisted-mode UI, animations, accessibility behavior, and execution contracts.
- Hardens focus, autocomplete, author lookup, dropdown behavior, and regression coverage.
| File | Description |
|---|---|
app/src/lib/app-state.ts |
Adds repository commit-mode state. |
app/src/lib/feature-flag.ts |
Gates assisted commits behind preview features. |
app/src/lib/stores/app-store.ts |
Updates and persists commit mode. |
app/src/lib/stores/helpers/commit-mode-storage.ts |
Implements repository-scoped persistence. |
app/src/lib/stores/repository-state-cache.ts |
Reconciles commit modes across repository aliases. |
app/src/models/commit-mode.ts |
Defines supported commit modes. |
app/src/models/copilot-assisted-commit.ts |
Defines the future executor request contract. |
app/src/ui/autocompletion/autocompleting-text-input.tsx |
Prevents stale autocomplete updates. |
app/src/ui/changes/commit-message-avatar.tsx |
Hardens asynchronous author configuration handling. |
app/src/ui/changes/commit-message.tsx |
Integrates assisted mode, rules, options, focus, and shortcuts. |
app/src/ui/changes/copilot-commit-panel.tsx |
Adds the assisted commit panel. |
app/src/ui/changes/filter-changes-list.tsx |
Propagates assisted-commit properties. |
app/src/ui/changes/sidebar.tsx |
Supplies repository commit-mode state. |
app/src/ui/copilot-animation/copilot-animation.tsx |
Implements the mascot animation state machine. |
app/src/ui/copilot-animation/sprites/celebrate.ts |
Adds celebration sprite data. |
app/src/ui/copilot-animation/sprites/copilot-sprite.ts |
Defines the sprite contract. |
app/src/ui/copilot-animation/sprites/idle.ts |
Adds idle sprite data. |
app/src/ui/copilot-animation/sprites/jump-wiggle.ts |
Adds jump animation data. |
app/src/ui/copilot-animation/sprites/static.ts |
Adds the static sprite. |
app/src/ui/copilot-animation/sprites/thinking.ts |
Adds thinking sprite data. |
app/src/ui/copilot-animation/sprites/tickle.ts |
Adds hover-reaction sprite data. |
app/src/ui/dispatcher/dispatcher.ts |
Exposes commit-mode updates. |
app/src/ui/dropdown-select-button.tsx |
Separates primary and dropdown availability. |
app/src/ui/lib/author-input/author-input.tsx |
Hardens concurrent author resolution. |
app/src/ui/lib/focus-container.tsx |
Cancels deferred focus callbacks on cleanup. |
app/styles/_ui.scss |
Includes the animation stylesheet. |
app/styles/_variables.scss |
Adds assisted-panel theme variables. |
app/styles/themes/_dark.scss |
Adds dark-theme assisted-panel colors. |
app/styles/ui/_changes.scss |
Includes assisted-panel styles. |
app/styles/ui/_copilot-animation.scss |
Defines sprite animations and reduced-motion behavior. |
app/styles/ui/changes/_commit-message.scss |
Styles commit modes and transitions. |
app/styles/ui/changes/_copilot-commit-panel.scss |
Styles the assisted panel and reactions. |
app/test/helpers/app-store-test-harness.ts |
Exposes stores needed by tests. |
app/test/helpers/changes-state-helper.ts |
Supplies the default commit mode. |
app/test/unit/commit-mode-storage-test.ts |
Tests persistence, aliases, and fallback behavior. |
app/test/unit/ui/commit-message-test.tsx |
Covers assisted-mode integration and accessibility. |
app/test/unit/ui/copilot-animation-test.tsx |
Tests animation and panel states. |
app/test/unit/ui/dropdown-select-button-test.tsx |
Tests controlled dropdown selection. |
app/test/unit/ui/focus-container-test.tsx |
Tests deferred-focus cleanup. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This was referenced Oct 15, 2026
sergiou87
force-pushed
the
sergiou87-assisted-commit-ux
branch
from
October 19, 2026 16:20
80d8966 to
b79922c
Compare
sergiou87
marked this pull request as ready for review
October 19, 2026 16:24
This was referenced Oct 28, 2026
sergiou87
force-pushed
the
sergiou87-assisted-commit-ux
branch
from
October 29, 2026 13:13
b79922c to
27b4273
Compare
tidy-dev
previously approved these changes
Oct 29, 2026
niik
previously approved these changes
Nov 3, 2026
sergiou87
force-pushed
the
sergiou87-assisted-commit-ux
branch
from
November 3, 2026 10:23
27b4273 to
66fcf23
Compare
tidy-dev
approved these changes
Nov 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
ICopilotAssistedCommitRequestdocuments the selected descriptors, user trailers, and per-commit options for later integration; dispatch does not claim success or clear the manual draft.Snapshot capture/whole-plan validation, constrained Copilot planning/custom instructions, commit execution/progress/cancellation/hook recovery, and optional push/retry remain separate later layers. No new Git execution or working-tree editing backend is introduced here.
Stack
Merge in order, starting with 1. Each PR builds on the preceding PR.
Validation
Validated after rebasing onto
developmentatbebc062caafcf818993b9f53397b976d33484231.corepack yarn test app/test/unit/git/push-test.ts app/test/unit/git/rev-parse-test.tssafe.bareRepository=explicitsetting; these tests and Git implementations are unchanged from the baseGIT_CONFIG_COUNT=1 GIT_CONFIG_KEY_0=safe.bareRepository GIT_CONFIG_VALUE_0=all corepack yarn testcorepack yarn lint:fixcorepack yarn lintcorepack yarn tsc --noEmit --pretty falsecorepack yarn test:e2e:build:unpackagedGITHUB_DESKTOP_PREVIEW_FEATURES=1 DESKTOP_E2E_APP_MODE=unpackaged corepack yarn playwright test --config app/test/e2e/playwright.config.ts app/test/e2e/assisted-commit-layer1-preview.e2e.tsExact focused test command
corepack yarn test app/test/unit/ui/commit-message-test.tsx app/test/unit/ui/copilot-animation-test.tsx app/test/unit/ui/focus-container-test.tsx app/test/unit/commit-mode-storage-test.ts app/test/unit/repository-state-cache-test.ts app/test/unit/ui/commit-message-warning-dialogs-test.tsx app/test/unit/ui/issues-autocompletion-provider-test.tsx app/test/unit/ui/dropdown-select-button-test.tsxScreenshots
N/A since this PR doesn't have a visual effect: the new stuff introduced here is not tied to the UI yet
Release notes
Notes: no-notes