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

feat: show workspace build logs during tasks creation#19413

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 5 commits intomainfrombq/19363
Aug 21, 2025

Conversation

BrunoQuaresma
Copy link
Collaborator

This is part of#19363

Screenshot:
Screenshot 2025-08-19 at 12 32 54

Video demo:

Screen.Recording.2025-08-19.at.12.32.15.mov

@BrunoQuaresmaBrunoQuaresma requested review fromjohnstcn anda teamAugust 19, 2025 15:35
@BrunoQuaresmaBrunoQuaresma self-assigned thisAug 19, 2025
@BrunoQuaresmaBrunoQuaresma removed the request for review froma teamAugust 19, 2025 15:35
@BrunoQuaresmaBrunoQuaresma changed the titlefeat: shows workspace build logs during tasks creationfeat: show workspace build logs during tasks creationAug 19, 2025
@matifali
Copy link
Member

Should we collapse/hide these by default and only show if a user clicks on show build logs?

I think for most Tasks users they may not be interested in seeing the build logs.

Copy link
Member

@johnstcnjohnstcn left a comment

Choose a reason for hiding this comment

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

Could you add some stories for the following scenarios:

  • Workspace build pending
  • Workspace build running
  • Workspace build failed

@BrunoQuaresma
Copy link
CollaboratorAuthor

@matifali I would agree with you if the screen had more info. Display the build logs is a way to show to the user that things are in progress. Before make any changes to it, I would like to test this hypothesis and see what users think about that, wdyt?

@BrunoQuaresma
Copy link
CollaboratorAuthor

@johnstcn they are already there.

@matifali
Copy link
Member

@BrunoQuaresma, I am fine if we want to test this. What I was thinking is a loading animation of some kind (Spinner) and a button to view logs if needed.

BrunoQuaresma reacted with thumbs up emoji

Copy link
Member

@johnstcnjohnstcn left a comment

Choose a reason for hiding this comment

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

Sorry, missed seeing the stories! UI changes LGTM but also need approval from FE domain expert.

BrunoQuaresma reacted with thumbs up emoji
@BrunoQuaresmaBrunoQuaresma requested review froma team and removed request forcode-asherAugust 21, 2025 14:00
Copy link
Member

@aslilacaslilac left a comment
edited
Loading

Choose a reason for hiding this comment

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

overall looks good!

return(
<>
<Helmet>
<title>{pageTitle(ellipsizeText(task.prompt,64)??"Task")}</title>
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
<title>{pageTitle(ellipsizeText(task.prompt,64)??"Task")}</title>
<title>{pageTitle(ellipsizeText(task.prompt,64)||task.workspace.name)}</title>

...might be nice as a still safe but more descriptive fallback. also maybe|| incaseprompt is""? I think you said that's not possible, but if it isn't I'm kinda confused on why we need the fallback at all

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

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

Good catch. I'm going to remove this fallback too 👍


exportdefaultTaskPage;

constTaskBuildingWorkspace:FC<{task:Task}>=({ task})=>{
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
constTaskBuildingWorkspace:FC<{task:Task}>=({ task})=>{
typeTaskBuildingWorkspaceProps={
task:Task;
};
constTaskBuildingWorkspace:FC<TaskBuildingWorkspaceProps>=({ task})=>{

import{LinkasRouterLink}from"react-router";
import{TaskStatusLink}from"./TaskStatusLink";

exportconstTaskTopbar:FC<{task:Task}>=({ task})=>{
Copy link
Member

Choose a reason for hiding this comment

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

same here, give this type a name pls

</TooltipProvider>

<h1className="m-0 text-base font-medium truncate">
{task.prompt||task.workspace.name}
Copy link
Member

Choose a reason for hiding this comment

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

re: fallbacks

this stands out to me too

dayjs.extend(duration);

//ActiveTransition gets the build estimate for the workspace,
//getActiveTransitionStats gets the build estimate for the workspace,
Copy link
Member

Choose a reason for hiding this comment

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

ty for the rename

BrunoQuaresma reacted with heart emoji
@BrunoQuaresmaBrunoQuaresma merged commit8aafbcb intomainAug 21, 2025
44 of 48 checks passed
@BrunoQuaresmaBrunoQuaresma deleted the bq/19363 branchAugust 21, 2025 18:01
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsAug 21, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@aslilacaslilacaslilac approved these changes

@johnstcnjohnstcnjohnstcn approved these changes

Assignees

@BrunoQuaresmaBrunoQuaresma

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@BrunoQuaresma@matifali@aslilac@johnstcn

[8]ページ先頭

©2009-2025 Movatter.jp