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

fix: show task display name in task topbar#20957

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
ssncferreira merged 3 commits intomainfromssncferreira/fix-task-topbar-display-name
Nov 27, 2025

Conversation

@ssncferreira
Copy link
Contributor

@ssncferreirassncferreira commentedNov 26, 2025
edited
Loading

Description

Update task topbar in task page to show display name, instead of task name.

Follow-up PR:#20918
Related to internal slack thread:https://codercom.slack.com/archives/C0992H8HGCS/p1764086497375829

</TooltipProvider>

<h1className="m-0 pl-2 text-base font-medium truncate">{task.name}</h1>
<h1className="m-0 pl-2 text-base font-medium max-w-[520px] truncate">
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Just defaulting to the same value as in theTasks list view. In the backend, we also always guarantee that the display name is only 64 characters, which should not reach this maximum.

@ssncferreirassncferreira marked this pull request as ready for reviewNovember 26, 2025 19:56
@DanielleMaywood
Copy link
Contributor

When given a long task name, it causes these two buttons to touch

SCR-20251127-jstu
mafredri reacted with laugh emojissncferreira reacted with eyes emoji

Copy link
Member

@mafredrimafredri left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏻

@ssncferreira
Copy link
ContributorAuthor

When given a long task name, it causes these two buttons to touch

SCR-20251127-jstu

Nice catch 👀 Addressed in:2b64a2e with some styling changes, but not sure if it is the best way

</TooltipProvider>

<h1className="m-0 pl-2 text-base font-medium truncate">{task.name}</h1>
<h1className="m-0 pl-2 text-base font-medium max-w-[520px] truncate">
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<h1className="m-0 pl-2 text-base font-medium max-w-[520px] truncate">
<h1className="m-0 pl-2 text-base font-medium max-w-[64ch] truncate">

We talked about this during our chat, unsure if we do this pattern elsewhere but it might look less magic to someone reading in the future

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

As discussed on Slack, it looks like this doesn’t exactly meet the 64-characters, which leads to the page width expanding, which isn’t ideal 🙁

@ssncferreirassncferreira merged commit21efebe intomainNov 27, 2025
31 checks passed
@ssncferreirassncferreira deleted the ssncferreira/fix-task-topbar-display-name branchNovember 27, 2025 15:57
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsNov 27, 2025
@ssncferreirassncferreira added the cherry-pick/v2.29Needs to be cherry-picked to the 2.29 release branch labelNov 28, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

@mafredrimafredrimafredri approved these changes

@DanielleMaywoodDanielleMaywoodDanielleMaywood approved these changes

Assignees

@ssncferreirassncferreira

Labels

cherry-pick/v2.29Needs to be cherry-picked to the 2.29 release branch

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@ssncferreira@DanielleMaywood@mafredri

[8]ページ先頭

©2009-2025 Movatter.jp