-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Docs] ES UI form library #78654
[Docs] ES UI form library #78654
Conversation
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.
Thanks for putting so much effort into this, Seb! These docs have already helped me gain a much better understanding of the form lib than I previously had. I'm still working my way through the docs though, page by page, but I have a number of comments, suggestions, and questions so far.
src/plugins/es_ui_shared/docs/docs/form_lib/examples/style_fields.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/examples/style_fields.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/examples/style_fields.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/examples/style_fields.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/examples/validation.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/examples/validation.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/examples/validation.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/examples/react_to_changes.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/examples/react_to_changes.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/examples/react_to_changes.md
Show resolved
Hide resolved
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.
I just finished Core > Getting Started and wanted to share my feedback so far with you, since I will need to pause my review and shift focus to something else for the day.
src/plugins/es_ui_shared/docs/docs/form_lib/examples/fields_composition.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/examples/fields_composition.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/examples/fields_composition.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/examples/fields_composition.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/examples/fields_composition.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/examples/dynamic_fields.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/examples/serializers_deserializers.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/examples/serializers_deserializers.md
Outdated
Show resolved
Hide resolved
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 docs are looking awesome @sebelga! Great work. I've left a few comments of what I've reviewed so far (mostly typo fixes). I'll continue reviewing later today and tomorrow.
src/plugins/es_ui_shared/docs/docs/form_lib/core/default_value.md
Outdated
Show resolved
Hide resolved
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.
I finished reading through the docs! 🎉 I left a few more comments/suggestions.
src/plugins/es_ui_shared/docs/docs/form_lib/examples/dynamic_fields.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/examples/react_to_changes.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/examples/react_to_changes.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/examples/serializers_deserializers.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/getting_started/about.md
Outdated
Show resolved
Hide resolved
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.
Great work @sebelga !
I left comments for improvements, but don't feel you need to block on them - I like CJ's points about simplifying/clarifying some of the examples and gave one suggestion of linking to the existing "default values" documentation that I think would be nice to add.
One other comment I made was about setting of "defaultValues" and that this is something we don't want users of the library to misuse. I'd like to get your thoughts on that as perhaps you have a different view regarding that API capability.
Cheers 🍻
src/plugins/es_ui_shared/docs/docs/form_lib/core/default_value.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/examples/style_fields.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/examples/validation.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/helpers/components.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/helpers/components.md
Outdated
Show resolved
Hide resolved
src/plugins/es_ui_shared/docs/docs/form_lib/helpers/validators.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com> Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
…docs/es-ui-shared-2
Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com> Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
…docs/es-ui-shared-2
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com> Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
…docs/es-ui-shared-2
Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com> Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
…docs/es-ui-shared-2
Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com> Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
…docs/es-ui-shared-2
Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
…docs/es-ui-shared-2
Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
…docs/es-ui-shared-2
Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com> Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
…docs/es-ui-shared-2
Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
…docs/es-ui-shared-2
Pinging @elastic/es-ui (Team:Elasticsearch UI) |
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.
Thanks for going through all of my feedback! I will take another pass once we are using the new docs system. Great work driving this forward, Seb. 👏
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com> Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
…docs/es-ui-shared-2
…changes.md Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
…changes.md Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
Thanks for the great feedback @alisonelizabeth @cjcenizal and @jloleysens ! I addressed most of your comments and committed your suggested changes. I will now close this PR and start integrating the docs in the new doc system. |
💔 Build Failed
Failed CI Steps
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
This PR adds the documentation for the form lib.
Meanwhile I wait for the instruction from @snide for the new documentation website these are the steps to launch the current docs locally and be able to review them
yarn kbn bootstrap
cd src/plugins/es_ui_shared/docs && yarn
yarn docs
Note: Only review the documentation of the form lib as all the rest will be discarted in favor of the new docs website.