Open mlqn opened 10 months ago
Agreed. The header used on dashboard is the old header, we should implement the new one for dashboard (and anywhere else it is not being used), and make any necessary adjustments.
Fixing this should also close https://github.com/Altinn/altinn-studio/issues/12122
Can we move the new header component from app-shared to @studio/components? Check if there are any MUI components/references that can be removed, can we remove the MUI reference entirely some places?
Make header like this when screen is small:
The Hamburger menu looks like this when clicked:
The newest picture of how it should look when expanded:
Will the new header also fix these issues?
Will the new header also fix these issues?
https://github.com/user-attachments/assets/cb591c9a-20ee-4804-98db-8beea251948c
Description
We currently use two different components for the header (Header.tsx and AltinnHeader.tsx) which leads to visual inconsistencies (e.g different heights, padding, shadow, logo size, menu components, etc).
I suggest merging these two headers into a single, customizable header. This header should be responsive and should work on small screens. We should also consider making it work for unauthenticated users.
We should also replace the
<div>
tag with the right semantic tag<header>
.Dashboard
dashboard and resourceadm uses Header.tsx
Editor
editor (app-development) and preview uses AltinnHeader.tsx
Additional Information
No response
Tasks
No response
Acceptance Criterias
No response