Make second column breadcrumbs clickable

This commit is contained in:
Rūdolfs Ošiņš
2025-01-27 12:49:16 -06:00
parent 4367441be8
commit ea43ffd44e
2 changed files with 20 additions and 2 deletions
+10 -1
View File
@@ -13,6 +13,7 @@
import DropdownListItem from "./DropdownListItem.svelte";
import Icon from "./Icon.svelte";
import IssueTeaser from "@app/components/IssueTeaser.svelte";
import Link from "./Link.svelte";
import OutlineButton from "./OutlineButton.svelte";
import Popover, { closeFocused } from "./Popover.svelte";
@@ -76,7 +77,15 @@
style:white-space="nowrap">
{title}
<Icon name="chevron-right" />
Issues
<Link
underline={false}
route={{
resource: "repo.issues",
rid: repo.rid,
status: "open",
}}>
Issues
</Link>
</div>
<div class="global-flex" style:margin-left="1rem">
+10 -1
View File
@@ -30,6 +30,7 @@
import InlineTitle from "@app/components/InlineTitle.svelte";
import LabelInput from "@app/components/LabelInput.svelte";
import Layout from "./Layout.svelte";
import Link from "@app/components/Link.svelte";
import OutlineButton from "@app/components/OutlineButton.svelte";
import PatchStateBadge from "@app/components/PatchStateBadge.svelte";
import PatchStateButton from "@app/components/PatchStateButton.svelte";
@@ -345,7 +346,15 @@
<div class="global-flex" style:gap="4px">
{project.data.name}
<Icon name="chevron-right" />
Patches
<Link
underline={false}
route={{
resource: "repo.patches",
rid: repo.rid,
status: "open",
}}>
Patches
</Link>
</div>
<Popover popoverPositionRight="0" popoverPositionTop="2.5rem">