Skip to content

fix!: update WorkspaceOwnerName to use user.name instead of user.username #18025

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 27, 2025

Conversation

BrunoQuaresma
Copy link
Collaborator

We have been using the user.username instead of user.name in wrong places, making it very confusing for the UI.

@BrunoQuaresma BrunoQuaresma requested review from Emyrk and a team May 24, 2025 20:49
@BrunoQuaresma BrunoQuaresma self-assigned this May 24, 2025
@BrunoQuaresma BrunoQuaresma changed the title fix: WorkspaceOwnerName to use user.name instead of user.username fix: update WorkspaceOwnerName to use user.name instead of user.username May 24, 2025
Copy link
Member

@Emyrk Emyrk left a comment

Choose a reason for hiding this comment

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

We should go ahead and just add name to all the views imo. 👍

Comment on lines 36 to 43
COALESCE(
visible_users.avatar_url,
''::text
) AS initiator_by_avatar_url,
COALESCE(
visible_users.username,
''::text
) AS initiator_by_username
Copy link
Member

Choose a reason for hiding this comment

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

Should we include the name here too now?

Comment on lines +87 to +94
COALESCE(
visible_users.avatar_url,
''::text
) AS created_by_avatar_url,
COALESCE(
visible_users.username,
''::text
) AS created_by_username,
Copy link
Member

Choose a reason for hiding this comment

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

Name here too now?

Comment on lines 135 to 142
COALESCE(
visible_users.avatar_url,
''::text
) AS created_by_avatar_url,
COALESCE(
visible_users.username,
''::text
) AS created_by_username
Copy link
Member

Choose a reason for hiding this comment

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

Name here too now?

@BrunoQuaresma
Copy link
Collaborator Author

@Emyrk good catches!

@BrunoQuaresma BrunoQuaresma requested a review from Emyrk May 27, 2025 13:59
@BrunoQuaresma BrunoQuaresma merged commit d63417b into main May 27, 2025
39 checks passed
@BrunoQuaresma BrunoQuaresma deleted the bq/fix-username branch May 27, 2025 14:42
@github-actions github-actions bot locked and limited conversation to collaborators May 27, 2025
@BrunoQuaresma BrunoQuaresma changed the title fix: update WorkspaceOwnerName to use user.name instead of user.username fix!: update WorkspaceOwnerName to use user.name instead of user.username May 29, 2025
@github-actions github-actions bot added the release/breaking This label is applied to PRs to detect breaking changes as part of the release process label May 29, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release/breaking This label is applied to PRs to detect breaking changes as part of the release process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants