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

#2076 - Fix the group placeholder icon issue #2320

Merged
merged 3 commits into from
Aug 27, 2024

Conversation

SebinSong
Copy link
Collaborator

closes #2076

@SebinSong SebinSong self-assigned this Aug 25, 2024
return this.group.groupName
? this.group.groupName.match(/\b(\w)/g)?.join('').slice(0, 2).toUpperCase() ?? ''
Copy link
Collaborator Author

@SebinSong SebinSong Aug 25, 2024

Choose a reason for hiding this comment

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

To fix the issue,

match(/\b(\w)/g) here needed to be updated to ->

  1. split the name by white-space
  2. extract one initial letter from each segment.

Copy link

cypress bot commented Aug 25, 2024

group-income    Run #2954

Run Properties:  status check passed Passed #2954  •  git commit 808b24f4b1 ℹ️: Merge e6903a33c72f27a94c44f5f8dcf5a7ce5f61cb7b into d2a7b75643945aec5a5026a814a4...
Project group-income
Branch Review refs/pull/2320/merge
Run status status check passed Passed #2954
Run duration 10m 46s
Commit git commit 808b24f4b1 ℹ️: Merge e6903a33c72f27a94c44f5f8dcf5a7ce5f61cb7b into d2a7b75643945aec5a5026a814a4...
Committer Sebin Song
View all properties for this run ↗︎

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

Copy link
Member

@taoeffect taoeffect left a comment

Choose a reason for hiding this comment

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

Nicely done @SebinSong! 👏

@taoeffect taoeffect merged commit 4ebf751 into master Aug 27, 2024
4 checks passed
@taoeffect taoeffect deleted the sebin/task/#2076-placeholder-group-icon-issue branch August 27, 2024 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

placeholder group icon should be an initialism
2 participants