-
Notifications
You must be signed in to change notification settings - Fork 946
refactor: replace and remove deprecated Avatar component #15930
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
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
dbf1eb9
Add avatarLetters utility
BrunoQuaresma 8f24c9e
Fix avatar for non squared icon
BrunoQuaresma e689d42
Replace avatar o template menu
BrunoQuaresma 6f8c280
Move UserAvatar to modules/users
BrunoQuaresma e72cecb
Only use one letter on fallback to simplify changes
BrunoQuaresma 758f240
Refactor UserAvatar to user the new Avatar component
BrunoQuaresma 22c241c
Move GroupAvatar to modules/groups
BrunoQuaresma 8ecbfc5
Update GroupAvatar to use latest Avatar component
BrunoQuaresma 081bb47
Move BuildAvatar to modules/builds
BrunoQuaresma 83ca623
Update BuildAvatar to use latest Avatar component
BrunoQuaresma dff92f7
Move AvatarCard to components/Avatar
BrunoQuaresma 52ea623
Update AccountUserGroups to use the new Avatar component
BrunoQuaresma 16c194d
Move AvatarData to components/Avatar
BrunoQuaresma 1caeffd
Update AvatarData to use new Avatar component
BrunoQuaresma 4f12e95
Update remaining components
BrunoQuaresma 76c211d
Fix lint issues
BrunoQuaresma 08fee38
Remove deprecated Avatar
BrunoQuaresma bfd9244
Merge branch 'main' of https://github.com/coder/coder into bq/use-new…
BrunoQuaresma d6fc56b
Merge branch 'main' of https://github.com/coder/coder into bq/use-new…
BrunoQuaresma f47ed9d
Align avatar with the timeline vertical line
BrunoQuaresma 7304999
Fix selected template avatar
BrunoQuaresma 9fdb4fd
Adjust components for the new Avatar
BrunoQuaresma 0a0b1cf
Fix a few style inconsistencies
BrunoQuaresma f079dcd
Merge branch 'main' of https://github.com/coder/coder into bq/use-new…
BrunoQuaresma dc410a7
Simplify Avatar usage
BrunoQuaresma 37a678d
Fix missed src
BrunoQuaresma 9e03115
Fix remaining issues
BrunoQuaresma 6453ce3
E2E fix + review requests
BrunoQuaresma bb8e9af
Fix fmt
BrunoQuaresma 417cab7
Fix assertions
BrunoQuaresma ad61871
Fix locators
BrunoQuaresma d57833b
Change locator to use .summary
BrunoQuaresma File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix lint issues
- Loading branch information
commit 76c211d505ed9867bb258ba70389eb3188f1ccf1
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
based on the designs for the topbar navigation, https://www.figma.com/design/WfqIgsTFXN2BscBSSyXWF8/Coder-kit?node-id=656-2354&t=ZPGincsj3IkIlTun-1
The size for the UserAvatar should be
size="lg"