Altinn / app-frontend-react

Altinn application React frontend
BSD 3-Clause "New" or "Revised" License
16 stars 24 forks source link

fixes validation message formatting/styling and adds smaller changes to useLanguage hook #2098

Closed cammiida closed 2 weeks ago

cammiida commented 2 weeks ago

Description

Fikses some styling issues when validation messages are too long. Also did a minor refactoring of useLanguage.ts to make it a tiny bit more readable (at least for me 💁‍♀️).

Would love feedback on both the refactoring and the fix.

image

Related Issue(s)

Verification/QA

olemartinorg commented 2 weeks ago

Oooh, this percy screenshot may have identified a breaking change in the language cleanup! :thinking:

sonarcloud[bot] commented 2 weeks ago

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
91.3% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud