Skip to content

[LOCKLITE-160] Replace icon profile by letter avatar when the user name is defined#100

Merged
vbetsch merged 26 commits intodevelopfrom
ui/feat/160-replace-profile-icon
Aug 11, 2025
Merged

[LOCKLITE-160] Replace icon profile by letter avatar when the user name is defined#100
vbetsch merged 26 commits intodevelopfrom
ui/feat/160-replace-profile-icon

Conversation

@vbetsch
Copy link
Owner

@vbetsch vbetsch commented Aug 11, 2025

Recipes

  • TC-F2.2.A

@vbetsch vbetsch requested a review from Copilot August 11, 2025 21:03
@vbetsch vbetsch self-assigned this Aug 11, 2025
@vbetsch vbetsch added the ui About templating and styling label Aug 11, 2025
@notion-workspace
Copy link

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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/ to projects/
  • 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 vbetsch merged commit 95e9068 into develop Aug 11, 2025
4 checks passed
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
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 vbetsch deleted the ui/feat/160-replace-profile-icon branch August 11, 2025 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ui About templating and styling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants