Skip to content
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

fix: truncate username when too long #4114

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

joseh29
Copy link
Contributor

@joseh29 joseh29 commented Jan 28, 2025

PR Checklist

PR Type

What kind of change does this PR introduce?

  • Bugfix (fixes an issue)
  • Feature (adds functionality)
  • Code style update
  • Refactoring (no functional changes)
  • Build related changes
  • CI related changes
  • Documentation changes
  • Other... Please describe:

What is the current behavior?

#4101

image

What is the new behavior?

This PR truncates the Username when is longer than the limit of the page.
It also adds a Tooltip for users to see the username when it's truncated.

image
truncate

Does this PR introduce a DB Schema Change or Migration?

  • Yes
  • No

Git Issues

Closes #4101

What happens next?

Thanks for the contribution! We try to make sure all PRs are reviewed ahead of our monthly maintainers call (first Monday of the month)

If the PR is working as intended it'll be merged and included in the next platform release, if not changes will be requested and re-reviewed once updated.

If you need more immediate feedback you can try reaching out on Discord in the Community Platform development channel.

Copy link

cypress bot commented Jan 28, 2025

onearmy-community-platform    Run #6841

Run Properties:  status check passed Passed #6841  •  git commit 74e96f867f: docs: rephrase overview testing comps
Project onearmy-community-platform
Branch Review pull/4114
Run status status check passed Passed #6841
Run duration 05m 42s
Commit git commit 74e96f867f: docs: rephrase overview testing comps
Committer Jose Paiva
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 1
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 79
View all changes introduced in this branch ↗︎

@joseh29 joseh29 marked this pull request as ready for review January 28, 2025 19:14
@joseh29 joseh29 requested a review from a team as a code owner January 28, 2025 19:14
@joseh29 joseh29 force-pushed the 4101-fix-truncate-username branch from d307ed9 to 5473dd8 Compare January 28, 2025 19:16
This commit truncates the Username when is longer than the limit
of the page. It also adds a tooltip for users to see the username
when it's truncated.

4101
@joseh29 joseh29 force-pushed the 4101-fix-truncate-username branch from 5473dd8 to 74e96f8 Compare January 29, 2025 16:29
@mariojsnunes mariojsnunes merged commit 1d6908e into ONEARMY:master Jan 29, 2025
17 checks passed
@onearmy-bot
Copy link
Collaborator

🎉 This PR is included in version 2.30.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[ui] Truncate username when space is limited
3 participants