diff --git a/CHANGELOG.md b/CHANGELOG.md index aa477629bd008..80dfa71a5b9b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p - Automatically stashes (and pops) uncommitted changes on Pull ([#4296](https://github.com/gitkraken/vscode-gitlens/issues/4296)) - Removes the option to associate an issue from cards in the RECENT section of the _Home_ view ([#4333](https://github.com/gitkraken/vscode-gitlens/issues/4333)) - Combines the "Create Pull Request" and "Create with AI" buttons into a split button ([#4330](https://github.com/gitkraken/vscode-gitlens/issues/4330)) +- On the _Home_ view in the active branch card replaces repository with a breadcrumb that has both the repository and current branch, where the repository is collapsible and is hidden by default ([#4332](https://github.com/gitkraken/vscode-gitlens/issues/4332)) ### Fixed diff --git a/src/webviews/apps/plus/home/components/active-work.ts b/src/webviews/apps/plus/home/components/active-work.ts index 692900e52d104..a8f4460883cce 100644 --- a/src/webviews/apps/plus/home/components/active-work.ts +++ b/src/webviews/apps/plus/home/components/active-work.ts @@ -21,6 +21,7 @@ import { linkStyles, ruleStyles } from '../../shared/components/vscode.css'; import { branchCardStyles, GlBranchCardBase } from './branch-card'; import type { ActiveOverviewState } from './overviewState'; import { activeOverviewStateContext } from './overviewState'; +import '../../../shared/components/breadcrumbs'; import '../../../shared/components/button'; import '../../../shared/components/code-icon'; import '../../../shared/components/skeleton-loader'; @@ -85,6 +86,13 @@ export class GlActiveWork extends SignalWatcher(LitElement) { .uppercase { text-transform: uppercase; } + + gl-breadcrumbs { + --gl-tooltip-text-transform: none; + } + .heading-branch-breadcrumb { + text-transform: none; + } `, ]; @@ -147,19 +155,26 @@ export class GlActiveWork extends SignalWatcher(LitElement) { return html` - - Switch to Another Repository... -
- ${repo.name} -
+ + + Switch to Another Repository... +
+ ${repo.name} +
+ ${activeBranch.name} +