Skip to content

✨(frontend) add a user menu#2463

Open
AntoLC wants to merge 1 commit into
mainfrom
refacto/change-language-picker
Open

✨(frontend) add a user menu#2463
AntoLC wants to merge 1 commit into
mainfrom
refacto/change-language-picker

Conversation

@AntoLC

@AntoLC AntoLC commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Purpose

We are now using the UserMenu component from the ui-kit. It is a dropdown displaying the user's name and email, along with a logout button and a language picker. To fit the design of the user menu, we adapted the LanguagePicker and are now using the ui-kit language picker component.

Demo

image

@AntoLC AntoLC self-assigned this Jun 24, 2026
@AntoLC AntoLC added enhancement improve an existing feature frontend labels Jun 24, 2026
@github-actions

github-actions Bot commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Size Change: +3.71 kB (+0.09%)

Total Size: 4.35 MB

📦 View Changed
Filename Size Change
apps/impress/out/_next/static/9a1496a2/_buildManifest.js 675 B +675 B (new file) 🆕
apps/impress/out/_next/static/83ac1e92/_buildManifest.js 0 B -675 B (removed) 🏆
apps/impress/out/_next/static/chunks/pages/_app.js 522 kB +3.71 kB (+0.72%)

compressed-size-action

@AntoLC AntoLC mentioned this pull request Jun 25, 2026
@AntoLC AntoLC changed the title Refacto/change language picker ♻️(frontend) Change language picker Jun 25, 2026
@AntoLC AntoLC force-pushed the refacto/change-language-picker branch from a849f50 to a509529 Compare June 25, 2026 08:30
@AntoLC AntoLC changed the title ♻️(frontend) Change language picker ✨(frontend) use UserMenu ui-kit component Jun 25, 2026
@AntoLC AntoLC changed the title ✨(frontend) use UserMenu ui-kit component ✨(frontend) add a user menu Jun 25, 2026
We are now using the UserMenu component from
the ui-kit. It is a dropdown displaying the user's
name and email, along with a logout button and a
language picker. To fit the design of the user menu,
we adapted the LanguagePicker adn are now using the
ui-kit language picker component.
@AntoLC AntoLC force-pushed the refacto/change-language-picker branch from a509529 to 220cf69 Compare June 25, 2026 12:49
Comment on lines +84 to +88
/**
* This test is currently failing due to a known issue with the language picker component.
* A pull request has been created to address this issue: https://github.com/suitenumerique/ui-kit/pull/265
* TODO: Adapt this test once the PR is merged and the uikit version bumped.
*/

@AntoLC AntoLC Jun 25, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

There is a accessibility issue with the user menu component.
A pull request has been created to fix this issue: suitenumerique/ui-kit#265

@AntoLC AntoLC marked this pull request as ready for review June 25, 2026 12:54
@AntoLC AntoLC requested a review from Ovgodd June 25, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement improve an existing feature frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant