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

[EUI+] Reorganize Forms category #8184

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

cee-chen
Copy link
Contributor

@cee-chen cee-chen commented Nov 23, 2024

Summary

#8163

I was crunched for time, so sadly the git commit history on this PR is something of a tragedy. Apologies! Feel free to chop up/take and use this PR for whatever you want. I categorized the various form controls into sections based primarily on usage type:

Overall sections:

Screenshot 2024-12-13 at 6 45 48 PM

Individual subcategories:

Selection components overview

The biggest thing I really wanted to add to this PR (other than shuffling pages around) was to convert #7049 into an actual page on our docs site instead of needing a separate wiki for it:

And I think this PR succeeds fairly well at that! 🤞 (although there are some TODO comments in the mdx file that I did not have time to improve on)

QA

General checklist

N/A, docs changes only

@cee-chen cee-chen added documentation Issues or PRs that only affect documentation - will not need changelog entries skip-changelog labels Nov 23, 2024
- Remove top level link/doc and add more sublevel items

- give described form group its own page

- move compressed forms to this section

- remove "in a popover" example from form rows - compressed forms already have this example and explicitly state non-compressed forms should not be used in popovers

- remove guideline CTA to its own page??
I gave up on git history, sorry :|||
- was previously at the top of a single page with basic controls, will need to spread it out a bit more now

- there are more components that can take EuiFormRow (and some that can't), we probably need to audit which at some point. this is not meant to be a perfect solution
- they fit under the general layout guideline text, so might as well move them here?
+ add a demo for nativate invalidation checking
@cee-chen cee-chen changed the title [EUI+] Reorganize Forms category (WIP) [EUI+] Reorganize Forms category Dec 13, 2024
+ remove various callouts/links to it - in theory now that the components are grouped together, it should be easy to decide which to use

- (opinionated, feel free to revert) remove images of various components, not sure how useful it is on the actual docs site
…o its own section

+ move EuiFormFieldset to the label section (feels like that's where it makes more sense)
@cee-chen cee-chen marked this pull request as ready for review December 14, 2024 02:52
@cee-chen cee-chen requested a review from a team as a code owner December 14, 2024 02:52
@kibanamachine
Copy link

Preview staging links for this PR:

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Issues or PRs that only affect documentation - will not need changelog entries skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants