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

Handle long TabItems with complex, nested components more elegantly #350

Open
ptgott opened this issue Jul 25, 2023 · 0 comments
Open

Handle long TabItems with complex, nested components more elegantly #350

ptgott opened this issue Jul 25, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ptgott
Copy link
Contributor

ptgott commented Jul 25, 2023

Sometimes, sets of instructions have multiple variations for two dimensions of use cases, but a Tabs component with a dropdown menu is inappropriate. For example, here is a situation in which we need to convey similar instructions for creating IAM policies for Teleport when the Database Service runs on Kubernetes and when the service runs on a Linux VM.

The "Linux Host" tab includes nested tab items:

image

The "Kubernetes Cluster" tab (partially shown here) includes code snippets but no nested tab items:

image

Another example is when a guide shows users how to install a Teleport agent on a Linux host and Kubernetes. The "Linux Host" tab needs to include a two-dimensional Tabs component, which creates clutter when placed within the TabItem:

image

Let's find a way to make long, complex TabItems more elegant. This will be especially important as we expand Kubernetes instructions to more pages within the documentation.

@ptgott ptgott added the enhancement New feature or request label Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant