|
@ -872,39 +872,50 @@ export function GraphWrapper({ |
|
|
<MenuItem role="none"> |
|
|
<MenuItem role="none"> |
|
|
<VSCodeRadioGroup |
|
|
<VSCodeRadioGroup |
|
|
orientation="vertical" |
|
|
orientation="vertical" |
|
|
value={isAllBranches ? 'branch-all' : 'branch-current'} |
|
|
|
|
|
|
|
|
value={ |
|
|
|
|
|
isAllBranches && repo?.isVirtual !== true |
|
|
|
|
|
? 'branch-all' |
|
|
|
|
|
: 'branch-current' |
|
|
|
|
|
} |
|
|
|
|
|
readOnly={repo?.isVirtual === true} |
|
|
> |
|
|
> |
|
|
<VSCodeRadio |
|
|
|
|
|
name="branching-toggle" |
|
|
|
|
|
value="branch-all" |
|
|
|
|
|
onChange={handleLocalBranchFiltering} |
|
|
|
|
|
> |
|
|
|
|
|
Show All Local Branches |
|
|
|
|
|
</VSCodeRadio> |
|
|
|
|
|
|
|
|
{repo?.isVirtual !== true && ( |
|
|
|
|
|
<VSCodeRadio |
|
|
|
|
|
name="branching-toggle" |
|
|
|
|
|
value="branch-all" |
|
|
|
|
|
onChange={handleLocalBranchFiltering} |
|
|
|
|
|
> |
|
|
|
|
|
Show All Local Branches |
|
|
|
|
|
</VSCodeRadio> |
|
|
|
|
|
)} |
|
|
<VSCodeRadio name="branching-toggle" value="branch-current"> |
|
|
<VSCodeRadio name="branching-toggle" value="branch-current"> |
|
|
Show Current Branch Only |
|
|
Show Current Branch Only |
|
|
</VSCodeRadio> |
|
|
</VSCodeRadio> |
|
|
</VSCodeRadioGroup> |
|
|
</VSCodeRadioGroup> |
|
|
</MenuItem> |
|
|
</MenuItem> |
|
|
<MenuDivider></MenuDivider> |
|
|
<MenuDivider></MenuDivider> |
|
|
<MenuItem role="none"> |
|
|
|
|
|
<VSCodeCheckbox |
|
|
|
|
|
value="remotes" |
|
|
|
|
|
onChange={handleExcludeTypeChange} |
|
|
|
|
|
defaultChecked={excludeTypes?.remotes ?? false} |
|
|
|
|
|
> |
|
|
|
|
|
Hide Remote Branches |
|
|
|
|
|
</VSCodeCheckbox> |
|
|
|
|
|
</MenuItem> |
|
|
|
|
|
<MenuItem role="none"> |
|
|
|
|
|
<VSCodeCheckbox |
|
|
|
|
|
value="stashes" |
|
|
|
|
|
onChange={handleExcludeTypeChange} |
|
|
|
|
|
defaultChecked={excludeTypes?.stashes ?? false} |
|
|
|
|
|
> |
|
|
|
|
|
Hide Stashes |
|
|
|
|
|
</VSCodeCheckbox> |
|
|
|
|
|
</MenuItem> |
|
|
|
|
|
|
|
|
{repo?.isVirtual !== true && ( |
|
|
|
|
|
<> |
|
|
|
|
|
<MenuItem role="none"> |
|
|
|
|
|
<VSCodeCheckbox |
|
|
|
|
|
value="remotes" |
|
|
|
|
|
onChange={handleExcludeTypeChange} |
|
|
|
|
|
defaultChecked={excludeTypes?.remotes ?? false} |
|
|
|
|
|
> |
|
|
|
|
|
Hide Remote Branches |
|
|
|
|
|
</VSCodeCheckbox> |
|
|
|
|
|
</MenuItem> |
|
|
|
|
|
<MenuItem role="none"> |
|
|
|
|
|
<VSCodeCheckbox |
|
|
|
|
|
value="stashes" |
|
|
|
|
|
onChange={handleExcludeTypeChange} |
|
|
|
|
|
defaultChecked={excludeTypes?.stashes ?? false} |
|
|
|
|
|
> |
|
|
|
|
|
Hide Stashes |
|
|
|
|
|
</VSCodeCheckbox> |
|
|
|
|
|
</MenuItem> |
|
|
|
|
|
</> |
|
|
|
|
|
)} |
|
|
<MenuItem role="none"> |
|
|
<MenuItem role="none"> |
|
|
<VSCodeCheckbox |
|
|
<VSCodeCheckbox |
|
|
value="tags" |
|
|
value="tags" |
|
|