Skip to content

feat: sync with upstream (introducing worktrees, context menus, and icons)#1

Open
dikidjatar wants to merge 21 commits into
Acode-Foundation:mainfrom
dikidjatar:main
Open

feat: sync with upstream (introducing worktrees, context menus, and icons)#1
dikidjatar wants to merge 21 commits into
Acode-Foundation:mainfrom
dikidjatar:main

Conversation

@dikidjatar
Copy link
Copy Markdown

Features Added

  • Implemented full worktree detection, creation, and deletion functionality.
  • Added worktree path normalization and custom handling for workspace environments.
  • Introduced RepositoryKind to distinguish between standard repositories, submodules, and worktrees.
  • Added contextValue support across ISCMProvider, ISCMResource, and ISCMResourceGroup.
  • Implemented Map-based storage in SCMMenusItem for dynamic, context-specific menu rendering and filtering.
  • Updated API type definitions in sourceControl.d.ts.
  • Replaced old custom SVG icons with codicons for a cleaner, and consistent editor appearance.
  • Added a distinct "selected" icon state for active repositories within the Source Control Management sidebar.
  • Refactored terminal and output logging colors to utilize unified Color constants.

Bug Fixes & Chores

  • Fixed an issue where the repository failed to auto-initialize when git.enabled was true.
  • Fixed the showOutput method to correctly trigger the sidebar toggle.
  • Added a clean build script for development workflows.
  • Bumped plugin versioning.

dikidjatar and others added 21 commits June 4, 2026 12:29
…stom icons

- Introduce RepositoryKind type to distinguish repository types (repository, submodule, worktree)
- Add logic to detect repository kind based on dotGit properties
- Add custom SVG icons for submodules (archive icon) and worktrees (worktree icon)
- Update SCM UI to display appropriate icon based on repository type
- Register new icons in plugin initialization
- Add contextValue property to ISCMProvider, ISCMResource, and ISCMResourceGroup
  interfaces for context-aware menu rendering
- Implement contextual menu support in SCMMenusItem using Map-based storage for
  context-specific menu instances
- Enable dynamic menu creation based on resourceGroup.contextValue and
  resource.contextValue properties
- Add new context properties to SCMMenuContext: scmResourceGroupState,
  scmResourceState, and scmProviderContext for menu filtering
- Refactor getResourceGroupMenu() and getResourceMenu() to support both generic
  and context-specific menu instances
- Add contextValue to SCMRawResource and SCMProviderFeatures types
- Update SCMProvider to track and propagate contextValue to resource groups
- Add IContextualMenuItem interface for managing context-specific menu lifecycles
- Clean up code formatting and indentation in menus.ts
- Update API type definitions in sourceControl.d.ts with contextValue support
- Removed old SVG icons for repository, SCM, sync, and tag.
- Added new SVG icons from vscode codicons for better consistency and visual appeal.
- Updated references in plugin.json and various TypeScript files to use new icon names.
- Ensured all icon usages in the codebase are aligned with the new codicon naming convention.
* feat: implement touch swipe-right selection for list items

* feat: add swipe-right selection functionality for repositories in SCM view

* feat: add supported swipe-right options

* feat(scm-view): add isSupportedSwipeRight for list delegate

* feat: adding selection logic in ListDelegate
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