[LOCKLITE-160] Replace icon profile by letter avatar when the user name is defined#100
Merged
[LOCKLITE-160] Replace icon profile by letter avatar when the user name is defined#100
Conversation
…re in global components
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR refactors the codebase by restructuring the directory organization from src/modules/ to src/projects/ and introduces profile avatar functionality that displays letter avatars when user names are defined. The changes include moving components to more specific module directories and implementing a colorful letter avatar system to replace generic profile icons.
- Reorganized directory structure from
modules/toprojects/ - Implemented letter avatar functionality for authenticated users with names
- Refactored component organization into more specific module-based directories
Reviewed Changes
Copilot reviewed 28 out of 128 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
src/projects/ui/components/avatars/ColorfulLetterAvatar.tsx |
New component that generates colorful letter avatars from user names |
src/projects/ui/modules/auth/components/atoms/ProfileIconButton.tsx |
New component that conditionally shows letter avatar or default icon based on user name |
src/projects/ui/modules/auth/components/molecules/ProfileNavItem.tsx |
New profile navigation item component that manages profile menu state |
src/projects/ui/modules/auth/components/organisms/AuthNavBar.tsx |
New navigation bar component specifically for authenticated users |
| Multiple import path updates | Updated import paths to reflect new directory structure |
| Configuration files | Updated Jest, ESLint, and package.json to reflect new directory structure |
vbetsch
added a commit
that referenced
this pull request
Aug 11, 2025
…ined (#100) * refactor: Rename modules to projects * refactor: Rename modules to projects * refactor: Create ui modules * refactor: Create ui modules * refactor: Move MainNavBar into auth * refactor: Move auth components into organisms * refactor: Move ProfileNavIcon into auth components * feat: create LetterAvatar component * feat: move ProfileMenu into auth components and remove atomic structure in global components * refactor: remove common components folder * refactor: simplify archi * refactor: simplify archi * refactor: rename profileName to userName in LetterAvatar * refactor: rename modules to projects in tests * refactor: fix archi in tests * refactor: fix archi in tests * refactor: navbar components * refactor: navbar components * refactor: rename MainNavBar by AuthNavBar * refactor: rename ProfileNavIcon by ProfileNavItem * feat: Create and use ProfileIcon * refactor: rename ProfileIcon by ProfileIconButton * refactor: rename LetterAvatar by ColorfulLetterAvatar * feat: implement ColorfulLetterAvatar by MUI * fix: required a firstname and lastname * fix: Replace username by real current user name
vbetsch
added a commit
that referenced
this pull request
Aug 11, 2025
…ined (#100) * refactor: Rename modules to projects * refactor: Rename modules to projects * refactor: Create ui modules * refactor: Create ui modules * refactor: Move MainNavBar into auth * refactor: Move auth components into organisms * refactor: Move ProfileNavIcon into auth components * feat: create LetterAvatar component * feat: move ProfileMenu into auth components and remove atomic structure in global components * refactor: remove common components folder * refactor: simplify archi * refactor: simplify archi * refactor: rename profileName to userName in LetterAvatar * refactor: rename modules to projects in tests * refactor: fix archi in tests * refactor: fix archi in tests * refactor: navbar components * refactor: navbar components * refactor: rename MainNavBar by AuthNavBar * refactor: rename ProfileNavIcon by ProfileNavItem * feat: Create and use ProfileIcon * refactor: rename ProfileIcon by ProfileIconButton * refactor: rename LetterAvatar by ColorfulLetterAvatar * feat: implement ColorfulLetterAvatar by MUI * fix: required a firstname and lastname * fix: Replace username by real current user name
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Recipes