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

MBS-13838: Convert class forms to component syntax #3420

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

reosarevok
Copy link
Member

Implement MBS-13838

Description

The first forms we converted to React (ApplicationForm, PreferencesForm and EditProfileForm) use class syntax, which we are trying to get rid of for consistency. This converts them to use component syntax like all the other forms.

Testing

Manually.

This also removes the <p> surrounding form rows since <div>s
shouldn't be inside <p>s and they're not really needed.
The only case where it looked worse after the change was for the period
change select, where I inserted a line break above to keep the separation.
@reosarevok reosarevok added the Refactoring Refactoring-only PRs (eslint fixes etc) label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactoring Refactoring-only PRs (eslint fixes etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant