-
Notifications
You must be signed in to change notification settings - Fork 2
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
temporarily deployed
to
Documentation for branch DS-428-responsive-label-height
December 23, 2024 14:28
Destroyed
github-actions
bot
temporarily deployed
to
Documentation for branch DS-428-responsive-label-height
December 23, 2024 16:14
Destroyed
github-actions
bot
temporarily deployed
to
Documentation for branch DS-428-responsive-label-height
December 27, 2024 07:54
Destroyed
github-actions
bot
temporarily deployed
to
Documentation for branch DS-428-responsive-label-height
December 27, 2024 09:27
Destroyed
github-actions
bot
temporarily deployed
to
Documentation for branch DS-428-responsive-label-height
December 27, 2024 14:04
Destroyed
videoeero
changed the title
[Label]: Automagically setting Label heights
[Label, Fieldset]: Automagically setting Label heights
Dec 27, 2024
github-actions
bot
temporarily deployed
to
Documentation for branch DS-428-responsive-label-height
December 27, 2024 14:42
Destroyed
github-actions
bot
temporarily deployed
to
Documentation for branch DS-428-responsive-label-height
December 27, 2024 19:14
Destroyed
github-actions
bot
temporarily deployed
to
Documentation for branch DS-428-responsive-label-height
December 27, 2024 21:52
Destroyed
videoeero
changed the title
[Label, Fieldset]: Automagically setting Label heights
[Label, Fieldset]: Automagically setting Label heights and DOM refactoring
Dec 28, 2024
RiinaKuu
requested changes
Dec 30, 2024
ngx-fudis/projects/ngx-fudis/src/lib/components/form/label/label.component.ts
Show resolved
Hide resolved
...udis/projects/ngx-fudis/src/lib/components/form/checkbox-group/checkbox-group.component.scss
Outdated
Show resolved
Hide resolved
ngx-fudis/projects/ngx-fudis/src/lib/components/form/fieldset/fieldset.component.scss
Show resolved
Hide resolved
ngx-fudis/projects/ngx-fudis/src/lib/components/form/fieldset/fieldset.component.scss
Outdated
Show resolved
Hide resolved
ngx-fudis/projects/ngx-fudis/src/lib/components/form/fieldset/fieldset.component.scss
Outdated
Show resolved
Hide resolved
...jects/ngx-fudis/src/lib/components/form/radio-button-group/radio-button-group.component.scss
Show resolved
Hide resolved
ngx-fudis/projects/ngx-fudis/src/lib/components/section/section.component.html
Show resolved
Hide resolved
github-actions
bot
temporarily deployed
to
Documentation for branch DS-428-responsive-label-height
December 30, 2024 14:06
Destroyed
RiinaKuu
previously approved these changes
Dec 30, 2024
github-actions
bot
temporarily deployed
to
Documentation for branch DS-428-responsive-label-height
December 31, 2024 08:46
Destroyed
github-actions
bot
temporarily deployed
to
Documentation for branch DS-428-responsive-label-height
December 31, 2024 09:08
Destroyed
github-actions
bot
temporarily deployed
to
Documentation for branch DS-428-responsive-label-height
December 31, 2024 10:49
Destroyed
RiinaKuu
approved these changes
Dec 31, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.