feat: sync with upstream (introducing worktrees, context menus, and icons)#1
Open
dikidjatar wants to merge 21 commits into
Open
feat: sync with upstream (introducing worktrees, context menus, and icons)#1dikidjatar wants to merge 21 commits into
dikidjatar wants to merge 21 commits into
Conversation
…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
…epository to true
Features/worktree
- 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
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.
Features Added
RepositoryKindto distinguish between standard repositories, submodules, and worktrees.contextValuesupport acrossISCMProvider,ISCMResource, andISCMResourceGroup.SCMMenusItemfor dynamic, context-specific menu rendering and filtering.sourceControl.d.ts.Colorconstants.Bug Fixes & Chores
git.enabledwas true.showOutputmethod to correctly trigger the sidebar toggle.cleanbuild script for development workflows.