-
Notifications
You must be signed in to change notification settings - Fork 818
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] Consolidated tabs for Examples-Guidelines-Playground #3650
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
jenkins test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3650/ |
Woah that was quick, @anishagg17! |
What about
|
Brings up a good question. Ideally I think we'd want a permalink system to navigate directly to a specific tab inside of a component page. Without committing any code yet, does |
Yes , I have used If user goes to Also , I wanted to know if |
What's the
Intro is only for Examples |
No, i mean if we use
|
Ah, right. Let's ignore everything after |
Should I push the commit now then? |
Sure, let's try it out |
Updated 🤗 |
Just a small question , Should we supply only the configuration file of each playground to the For example : we are supplying the config file for examples |
Not sure I fully understand. Let's take https://github.com/elastic/eui/pull/3650/files#diff-da3173d0dbf7111093e736dc32c71f90R389 as an example (EuiButton playground). Are you suggesting we provide some kind of config object here instead of a component? This also may be a question that can be addressed later. This PR will merge without any playground examples showing, so as long as the choice between config or component does not dramatically alter the tab system technically, it may be best to focus on that problem individually in a separate PR. |
Yes , my question is not related this pr, but related to future pr.
Yes , a config object instead of component as we pass for
Would mostly consists of props config.
Sure. |
jenkins test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3650/ |
All the basics are here, so let's get a design review from @cchaos I'll do an eng review afterwards |
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.
Looks great! The mobile version could use a little cleanup but a designer can do a follow-up PR.
Since this is merging into master, we'll just want to be sure to remove the blank Playground pages before merge.
Can we set up a forward/redirect for the old Guidelines routes? |
jenkins test this |
Preview documentation changes for this PR: https://eui.elastic.co/pr_3650/ |
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.
Nice work, @anishagg17!
Thanks |
Summary
Fixes: #3649
Checklist
- [ ] Check against all themes for compatibility in both light and dark modes- [ ] Checked in mobile- [ ] Checked in IE11 and Firefox- [ ] Props have proper autodocs- [ ] Added documentation- [ ] Checked Code Sandbox works for the any docs examples- [ ] Added or updated jest tests- [ ] Checked for breaking changes and labeled appropriately- [ ] A changelog entry exists and is marked appropriately