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

[Label, Fieldset]: Automagically setting Label heights and DOM refactoring #523

Merged
merged 35 commits into from
Dec 31, 2024

Conversation

videoeero
Copy link
Contributor

@videoeero videoeero commented Dec 23, 2024

Jira ticket: https://funidata.atlassian.net/browse/DS-428

This PR introduces new internal FudisLabelHeightService tool, which is consumed by Label Component and Fieldset Component. Service will check each registered Label component and pair them with other Labels which are in the same "row" / vertical position of the view. Then it checks which of the Labels is the heigthest and match other shorter Labels to that, so their related input fields will then align for better UI cohesion.

Jira ticket: https://funidata.atlassian.net/browse/DS-334
Fieldset's Legend structure has been refactored to follow guidelines from A11y audit. This affected quite a lot VR images, but this also enabled to make Fieldset's Legend match better Figma designs and to be concise with components using Label.

@videoeero videoeero added the improvement Improve or extend something that already exists label Dec 23, 2024
@github-actions github-actions bot temporarily deployed to Documentation for branch DS-428-responsive-label-height December 23, 2024 14:28 Destroyed
@github-actions github-actions bot temporarily deployed to Documentation for branch DS-428-responsive-label-height December 23, 2024 16:14 Destroyed
@github-actions github-actions bot temporarily deployed to Documentation for branch DS-428-responsive-label-height December 27, 2024 07:54 Destroyed
@github-actions github-actions bot temporarily deployed to Documentation for branch DS-428-responsive-label-height December 27, 2024 09:27 Destroyed
@videoeero videoeero marked this pull request as draft December 27, 2024 10:01
@github-actions github-actions bot temporarily deployed to Documentation for branch DS-428-responsive-label-height December 27, 2024 14:04 Destroyed
@videoeero videoeero changed the title [Label]: Automagically setting Label heights [Label, Fieldset]: Automagically setting Label heights Dec 27, 2024
@github-actions github-actions bot temporarily deployed to Documentation for branch DS-428-responsive-label-height December 27, 2024 14:42 Destroyed
@github-actions github-actions bot temporarily deployed to Documentation for branch DS-428-responsive-label-height December 27, 2024 19:14 Destroyed
@github-actions github-actions bot temporarily deployed to Documentation for branch DS-428-responsive-label-height December 27, 2024 21:52 Destroyed
@videoeero videoeero changed the title [Label, Fieldset]: Automagically setting Label heights [Label, Fieldset]: Automagically setting Label heights and DOM refactoring Dec 28, 2024
@videoeero videoeero marked this pull request as ready for review December 28, 2024 00:11
@github-actions github-actions bot temporarily deployed to Documentation for branch DS-428-responsive-label-height December 30, 2024 14:06 Destroyed
RiinaKuu
RiinaKuu previously approved these changes Dec 30, 2024
@github-actions github-actions bot temporarily deployed to Documentation for branch DS-428-responsive-label-height December 31, 2024 08:46 Destroyed
@github-actions github-actions bot temporarily deployed to Documentation for branch DS-428-responsive-label-height December 31, 2024 09:08 Destroyed
@github-actions github-actions bot temporarily deployed to Documentation for branch DS-428-responsive-label-height December 31, 2024 10:49 Destroyed
@RiinaKuu RiinaKuu merged commit 1e64a00 into main Dec 31, 2024
10 checks passed
@RiinaKuu RiinaKuu deleted the DS-428-responsive-label-height branch December 31, 2024 12:27
@github-actions github-actions bot locked and limited conversation to collaborators Dec 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
improvement Improve or extend something that already exists
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants