gravitational / docs

Source code backing goteleport.com/docs
https://goteleport.com/docs
Apache License 2.0
11 stars 13 forks source link

Remove scoped visibility from the docs engine #383

Closed ptgott closed 1 year ago

ptgott commented 1 year ago

Closes gravitational/teleport#19471 Closes gravitational/teleport#30381 Closes #343 Closes #162 Closes #155 Closes #118 Closes #116 Closes #88

Users tend not to notice the scope switcher. When they do, the component's behavior is not intuitive. This change removes the scope switcher from the docs, replacing it with a non-interactive list of supported Teleport editions.

The change preserves the existing styling of the scope switcher as much as possible. Aside from an "Available for" label next to the edition list, the change should go unnoticed for users who do not interact with the scope switcher.

This change also adjust some docs behavior that relied on the scope switcher:

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 5, 2023 7:32pm
ptgott commented 1 year ago

Reviewer notes:

image
xinding33 commented 1 year ago

This change looks good to me for a short-term fix. Long term, as we've discussed internally, I'd rather revamp the information architecture.