Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Fix --name-width value on _IRCLayout.pcss#10285

Merged
andybalaam merged 2 commits into
matrix-org:developfrom
luixxiul:IRCLayout-name-width
Mar 7, 2023
Merged

Fix --name-width value on _IRCLayout.pcss#10285
andybalaam merged 2 commits into
matrix-org:developfrom
luixxiul:IRCLayout-name-width

Conversation

@luixxiul
Copy link
Copy Markdown
Contributor

@luixxiul luixxiul commented Mar 5, 2023

This PR fixes the --name-width on _IRCLayout.pcss.

The name width --name-width was set to 70px on this line of #4531, while at the same time the default value was set to 80px on this line of the same PR. The value is still available here.

The reason is not clear (it might be related to the profile resizer), but since the latter value has been respected on the UI anyway, I think the former should be able to be changed to 80px.

Screenshot from 2023-03-07 22-18-44

type: task

Signed-off-by: Suguru Hirahara luixxiul@users.noreply.github.com

This is a partial retry of #9064, which initially tried to implement a test.

Checklist

  • Tests written for new code (and old code if feasible)
  • Linter and other CI checks pass
  • Sign-off given on the changes (see CONTRIBUTING.md)

This change is marked as an internal change (Task), so will not be included in the changelog.

…n Settings.tsx

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
@github-actions github-actions Bot added Z-Community-PR Issue is solved by a community member's PR T-Task Refactoring, enabling or disabling functionality, other engineering tasks labels Mar 5, 2023
@luixxiul luixxiul marked this pull request as ready for review March 6, 2023 16:35
@luixxiul luixxiul requested a review from a team as a code owner March 6, 2023 16:35
@andybalaam
Copy link
Copy Markdown
Member

Hi @luixxiul thank you for the contribution. Please could we have a screenshot of where this value is used (or actually, not used)? I'm trying to get some context so I can review this. I assume I need to enable IRC mode to see it?

@luixxiul
Copy link
Copy Markdown
Contributor Author

luixxiul commented Mar 7, 2023

Thanks for the quick review. I'm going to add screenshots soon.

@luixxiul
Copy link
Copy Markdown
Contributor Author

luixxiul commented Mar 7, 2023

Here is a cropped screenshot of DisambiguatedProfile on IRC layout.

Screenshot from 2023-03-07 22-06-44Screenshot from 2023-03-07 22-18-44

The value of --name-width property specified on _IRCLayout.pcss is not respected.

Copy link
Copy Markdown
Member

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

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

Looks good, thank you!

@andybalaam andybalaam merged commit fef8f39 into matrix-org:develop Mar 7, 2023
@luixxiul
Copy link
Copy Markdown
Contributor Author

luixxiul commented Mar 7, 2023

Thanks for the quick review!

@luixxiul luixxiul deleted the IRCLayout-name-width branch March 7, 2023 13:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

T-Task Refactoring, enabling or disabling functionality, other engineering tasks Z-Community-PR Issue is solved by a community member's PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants