Skip to content
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

[Feature] Ny ansattkort-popup i organsisasjonsstrukturen #571

Merged
merged 3 commits into from
Apr 8, 2024

Conversation

joacimds
Copy link
Collaborator

@joacimds joacimds commented Apr 8, 2024

Hva har blitt løst?

I organisasjonsstrukturen var det ønsket at et kort med noe informasjon ble vist, med mulighet til å navigere til siden for den ansatte. For øyeblikket blir man sendt direkte til den ansatte sin siden dersom man trykker på navnet til personen.

Hvordan ble det løst?

For å style kortet har jeg tatt i bruk MUI sin styled() utility for å style componenter.

  • Laget et styled component per inndeling av kortet.
  • For å hente profilbildet bruker jeg hooken useEmployeeProfile() for å huke tak i bilde-url'en.
Screenshot 2024-04-08 at 08 11 57

@joacimds joacimds requested a review from kjell-r April 8, 2024 06:12
@joacimds joacimds merged commit d6286a0 into master Apr 8, 2024
2 checks passed
@joacimds joacimds deleted the 504-organisasjonsstruktur-ansattkort branch April 8, 2024 07:15
@joacimds joacimds linked an issue Apr 9, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Oragnisasjonsstruktur: Kunne trykke seg inn på person
2 participants