{record.identifier}{" "}
@@ -66,7 +80,7 @@ function LinearIssuePreview({ record }: { readonly record: LinearIssueContextRec
{record.subIssues.slice(0, 5).map((sub) => (
-
+
{sub.identifier}
{sub.title}
diff --git a/apps/web/src/components/RightPanelTabs.tsx b/apps/web/src/components/RightPanelTabs.tsx
index 92e665af22747..a584c2fb41fdc 100644
--- a/apps/web/src/components/RightPanelTabs.tsx
+++ b/apps/web/src/components/RightPanelTabs.tsx
@@ -67,7 +67,7 @@ import { isElectron } from "~/env";
import type { DesktopPreviewOverlay } from "~/previewStateStore";
import type { RightPanelSurface } from "~/rightPanelStore";
import { cn } from "~/lib/utils";
-import { issueStatePresentation } from "~/components/issue/issuePresentation";
+import { IssueStateIcon } from "~/components/issue/issuePresentation";
import { issueEnvironment } from "~/state/issues";
import { resolveShortcutCommand, type ShortcutMatchContext } from "~/keybindings";
import { readLocalApi } from "~/localApi";
@@ -795,14 +795,7 @@ function IssueSurfaceIcon({
}),
).data;
if (detail === null) return
;
- const presentation = issueStatePresentation(detail.state);
- return (
-
- );
+ return
;
}
function PullRequestSurfaceIcon({
diff --git a/apps/web/src/components/WorkspaceBreadcrumb.tsx b/apps/web/src/components/WorkspaceBreadcrumb.tsx
index 591ce30d07d06..fb62d5a98f670 100644
--- a/apps/web/src/components/WorkspaceBreadcrumb.tsx
+++ b/apps/web/src/components/WorkspaceBreadcrumb.tsx
@@ -6,12 +6,24 @@ interface WorkspaceBreadcrumbProps {
readonly ariaLabel: string;
readonly children: ReactNode;
readonly className?: string;
+ /** Wraps onto more lines instead of squeezing the current level out of a narrow pane. */
+ readonly wrap?: boolean;
}
-export function WorkspaceBreadcrumb({ ariaLabel, children, className }: WorkspaceBreadcrumbProps) {
+export function WorkspaceBreadcrumb({
+ ariaLabel,
+ children,
+ className,
+ wrap = false,
+}: WorkspaceBreadcrumbProps) {
return (
diff --git a/apps/web/src/components/issue/IssueBrowseView.tsx b/apps/web/src/components/issue/IssueBrowseView.tsx
index 5c22dabba85f4..003efad7755c3 100644
--- a/apps/web/src/components/issue/IssueBrowseView.tsx
+++ b/apps/web/src/components/issue/IssueBrowseView.tsx
@@ -39,6 +39,7 @@ import { issueEnvironment } from "~/state/issues";
import { useEnvironmentQuery } from "~/state/query";
import { useAtomCommand } from "~/state/use-atom-command";
+import { IssueGlyph } from "./issuePresentation";
import { IssueRow, type IssueRowTarget } from "./IssueRow";
import {
appendIssueBrowseEntries,
@@ -126,7 +127,7 @@ export function IssueBrowseView({
}
const breadcrumb = (
-
+
{crumbs.map((crumb, index) => (
{index > 0 ? (
@@ -134,16 +135,18 @@ export function IssueBrowseView({
) : null}
-
+ {/* An ancestor may shrink too: a long project name truncates on its own line. */}
+
{crumb.target === null ? (
{crumb.label}
) : (
)}
@@ -175,6 +178,8 @@ export function IssueBrowseView({
) : teams.length === 0 && teamsError ? (
}
error={teamsError}
onRetry={onRetryTeams}
refreshing={teamsPending}
@@ -302,6 +307,8 @@ function BrowseLevel({
{toolbar}
{query.error !== null && !query.isPending ? (
}
error={query.error}
onRetry={query.refresh}
refreshing={query.isPending}
diff --git a/apps/web/src/components/issue/IssueDetailPanel.tsx b/apps/web/src/components/issue/IssueDetailPanel.tsx
index a819be73af6c7..59410880da595 100644
--- a/apps/web/src/components/issue/IssueDetailPanel.tsx
+++ b/apps/web/src/components/issue/IssueDetailPanel.tsx
@@ -73,7 +73,12 @@ import { IssueCommentComposer } from "./IssueCommentComposer";
import { IssueDetailGhost } from "./IssueDetailGhost";
import { ReactionBar } from "../pullRequest/PullRequestReactions";
import { PullRequestsUnavailableState } from "../pullRequest/PullRequestsUnavailableState";
-import { issueTrackerPresentation, issueStatePresentation } from "./issuePresentation";
+import {
+ IssueGlyph,
+ IssueStateIcon,
+ issueTrackerPresentation,
+ issueStatePresentation,
+} from "./issuePresentation";
import { LinearIssueLaunchBar, LinearIssueRelations } from "../linear/LinearIssueDetailExtras";
/**
@@ -481,6 +486,7 @@ export function IssueDetailPanel({
return (
}
error={detailQuery.error}
onRetry={detailQuery.refresh}
/>
@@ -563,12 +569,7 @@ export function IssueDetailPanel({
refreshIssueLists(environmentId);
};
- const currentStateIcon = (
-
- );
+ const currentStateIcon = ;
const stateControl: ReactNode =
otherStates.length > 0 ? (