-
Notifications
You must be signed in to change notification settings - Fork 32
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
ME: form field wrapper, abstract record field #854
ME: form field wrapper, abstract record field #854
Conversation
Affected libs:
|
📷 Screenshots are here! |
b5bef8e
to
52d3902
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice refactoring, thanks! it makes a lot of sense to me.
When opening the editor I noticed that the rich text field wasn't adjusting its height correctly in preview mode, see:
Also the storybook stories for the form-field
component are broken now.
I think we can merge this PR and revisit some small things about the display (size, icons) later to not make this PR too complex. I'm leaving it to you to decide what to do in this PR and what to do later 🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These stories do not work anymore; maybe they're not relevant now?
@jahow Thanks for the review! |
It might be an issue with bundle size budgets? This value should be bumped a bit:
|
Use markdown-editor in rich field Use field wrapper in rich field Switch (but still *ngIf) on model rather than type
52d3902
to
b7b243f
Compare
TODO: fix markdown-parser height. |
Description
This PR introduces a new component to share the logic of adding a title and help tooltip to each record form field.
The form field for abstract is now specifically using the rich form field, based on markdown-editor and the new wrapper.
Architectural changes
Form fields have been move from ui-inputs to feature-editor.
Screenshots
Quality Assurance Checklist
breaking change
labelbackport <release branch>
label