Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

refactor: replace task prompt by workspace name in the topbar#19531

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
BrunoQuaresma merged 3 commits intomainfrombq/19524
Aug 26, 2025

Conversation

BrunoQuaresma
Copy link
Collaborator

Fixes#19524

Screenshot:

Screenshot 2025-08-25 at 14 59 11

Demo:

Screen.Recording.2025-08-25.at.14.59.15.mov

Changes:

  • Change "View workspace" button to icon + "Workspace"
  • Updated the title to use the workspace name instead of the prompt
  • Added a prompt button, so the user can see what is the prompt that is running + copy it easily

Copy link
Member

@ParkreinerParkreiner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Things look really good overall! Just had some ideas for tweaking a few things

</TooltipProvider>

<h1className="m-0 text-base font-medium truncate">{task.prompt}</h1>
<h1className="m-0 ml-2 text-base font-medium truncate">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I think that technically it won't be a huge deal, but could we swap theml-2 forpl-2? That would reduce the risk of CSS styling side effects

BrunoQuaresma reacted with thumbs up emoji
</RouterLink>
</Button>
<divclassName="ml-auto gap-2 flex items-center">
<TooltipProviderdelayDuration={0}>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Do we want the duration to be set so aggressively low? Radix's default value is 700ms

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Updated it to be 250.

Comment on lines +88 to +106
return(
<Button
disabled={showCopiedSuccess}
onClick={copyToClipboard}
size="sm"
variant="subtle"
className="p-0 min-w-0"
>
{showCopiedSuccess ?(
<>
<CheckIcon/> Copied!
</>
) :(
<>
<CopyIcon/> Copy
</>
)}
</Button>
);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

In isolation, I think this is perfectly fine, but do we want to centralize the implementation for this, so we can make sure the UI stays more consistent?

I'm seeing a few other buttons in the codebase that are wired up very similarly (making a call touseClipboard, using theCheckIcon andCopyIcon components), and I'm just worried about them drifting over time

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I agree with you, but I would create a separate issue to investigate that and make it more consistent.

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@BrunoQuaresmaBrunoQuaresma merged commita1546b5 intomainAug 26, 2025
27 checks passed
@BrunoQuaresmaBrunoQuaresma deleted the bq/19524 branchAugust 26, 2025 15:24
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 26, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@ParkreinerParkreinerParkreiner approved these changes

@aslilacaslilacAwaiting requested review from aslilacaslilac is a code owner

Assignees

@BrunoQuaresmaBrunoQuaresma

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

bug: Tasks top bar is stretching buttons on the right
2 participants
@BrunoQuaresma@Parkreiner

[8]ページ先頭

©2009-2025 Movatter.jp