Skip to content

feat: add view workspace button in task page #18105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion site/src/pages/TaskPage/TaskPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ const TaskPage = () => {
</Helmet>

<section className="h-full flex flex-col">
<header className="h-20 border-0 border-b border-solid border-border px-4 flex items-center shrink-0">
<header className="h-20 border-0 border-b border-solid border-border px-4 flex items-center shrink-0 justify-between">
<div className="flex items-center gap-4">
<TooltipProvider>
<Tooltip>
Expand All @@ -252,6 +252,14 @@ const TaskPage = () => {
</span>
</div>
</div>

<Button variant="outline" asChild>
<RouterLink
to={`/@${task.workspace.owner_username}/${task.workspace.name}`}
>
View workspace
</RouterLink>
</Button>
</header>

{content}
Expand Down
Loading