feat: add view workspace button in task page (#18105)

<img width="1613" alt="Screenshot 2025-05-29 at 12 57 41"
src="https://github.com/user-attachments/assets/7ae199c2-7e36-47d2-84cc-d0ae820ff372"
/>
This commit is contained in:
Bruno Quaresma
2025-05-29 13:12:58 -03:00
committed by GitHub
parent d779126ee3
commit d06eff2b2f
+9 -1
View File
@@ -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>
@@ -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}