Skip to content

Develop#10

Merged
codemanxdev merged 8 commits into
masterfrom
develop
May 31, 2026
Merged

Develop#10
codemanxdev merged 8 commits into
masterfrom
develop

Conversation

@codemanxdev
Copy link
Copy Markdown
Owner

No description provided.

Refactor the GitOps tree view by introducing dedicated section nodes for
local branches, remote branches, changes, staged changes, tags, and stashes.
This improves code organization and type safety within the TreeDataProvider.

Additionally, implements the "Unstage All Files" command, allowing users
to reset all staged changes via the UI.

- Add `unstageAllFiles` command and implementation in `GitService` and
  `GitOperationsDelegate`.
- Introduce new section-specific node classes in `src/gopstree/nodes/`.
- Update `TreeDataProvider` to use async methods for fetching repository
  children.
- Add "Unstage All Files" inline button to the staged changes section.
- Update unit tests to include mocks for new git operations.
Register the `createTag` command in the `CommandRegistrar` and provide a placeholder implementation in `GitOperationsDelegate`.

Refactor the testing suite by:
- Updating `test:integration` script in `package.json` to include compilation steps.
- Replacing the generic `extension.test.ts` with a structured integration test directory.
- Adding comprehensive integration tests for branches, commands, commits, extension activation, and staging/unstaging operations.
- Expanding unit tests for `GitService` to cover `stageFile`, `unstageFile`, and `unstageAllFiles` methods.
@codemanxdev codemanxdev merged commit 2eb5574 into master May 31, 2026
3 checks passed
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