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

reconsider backend, CMS, and migration guides' navs item order for better UX #8860

Closed
olets opened this issue Jul 19, 2024 · 7 comments
Closed
Labels
help wanted Issues looking for someone to run with them! site improvement Some thing that improves the website functionality - ask @delucis for help!

Comments

@olets
Copy link
Contributor

olets commented Jul 19, 2024

📋 Explain your issue

The CMS Guides Nav https://docs.astro.build/en/guides/cms/ is three lists:

  1. guides with "good content", in arbitrary order determined by the maintainers
  2. non-stubs, alphabetically
  3. stubs, alphabetically

I've spent a lot of time in the Astro docs' CMS Guides section over the last month and all along assumed the order was either random or by date contributed. It wasn't usable, but the browser's in-page search was my friend.

Today I looked at the source https://github.com/withastro/docs/blob/main/src/components/CMSGuidesNav.astro, and learned about its three sections.

IMO listing all guides alphabetically would be a better UX:

  • With over 30 CMSes listed, compared to the 10 which were listed when the nav was released, it's hard to scan and answer the question "is there a guide for ___". Alphabetical is easier to scan.

IMO keeping the existing order but surfacing the separate lists would not be an improvement:

  • It's not clear what makes the three "good" guides best. It's not clear what benefit there might be to separating those three
  • The non/stub distinction is relevant to would-be guide contributors, while the nav is primarily for docs readers
  • There is some really strong third-party content linked on the guides pages, so stubbiness is not an indicator of how useful it will be for a dev to click on the nav link.

I'm up for contributing an update to the CMS Guides Nav if you all decide to change it.

@sarah11918
Copy link
Member

Hi @olets ! You're absolutely right and this is something I've been looking to update for a while now!

Fun fact: when we started this section, we wrote two full (non-stub) guides and one stub. Over time, the community contributed more and more guides. Originally, when there were very few, we presented the guides in full-then-stub order thinking that it was more helpful for people to see actually full written guides, and for more popular options. Now, it's just a big mess. 😅

I think it does make sense to just list them all alphabetically now. Would absolutely welcome a PR to gut that, and just go alphabetical! Would still need reviewing by the rest of the team, but I think it's the only sensible thing right now!

@sarah11918 sarah11918 added site improvement Some thing that improves the website functionality - ask @delucis for help! help wanted Issues looking for someone to run with them! labels Jul 19, 2024
@olets
Copy link
Contributor Author

olets commented Jul 19, 2024

Great!

I see that https://docs.astro.build/en/guides/backend/ and https://docs.astro.build/en/guides/migrate-to-astro/ use the same sorting. Shall I update those front ends too?

@at-the-vr
Copy link
Member

sounds good to me 👍 only thing I will ask is keeping them in separate PRs for review ease 😄

@olets olets changed the title reconsider CMS Guides Nav item order for better UX reconsider backend, CMS, and migration guides' navs item order for better UX Jul 22, 2024
olets added a commit to olets/withastro-docs that referenced this issue Jul 22, 2024
olets added a commit to olets/withastro-docs that referenced this issue Jul 22, 2024
olets added a commit to olets/withastro-docs that referenced this issue Jul 22, 2024
sarah11918 added a commit that referenced this issue Jul 23, 2024
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
sarah11918 added a commit that referenced this issue Jul 23, 2024
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
sarah11918 added a commit that referenced this issue Jul 23, 2024
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
@sarah11918
Copy link
Member

Closing! Thank you for your service, @olets ! 🫡

@olets
Copy link
Contributor Author

olets commented Jul 26, 2024

@sarah11918 great!

You may now be able to remove the remaining traces of "stubs" from the back end. The frontmatter value isn't used on the front end. Don't know if the appearances in ./scripts are needed. Etc.

@sarah11918
Copy link
Member

Thanks for pointing that out! Happy if you'd like to explore that further in the code. I do know that at least some of those guides use a different layout when they are marked as a "stub" (There's a notice on the page that "This is only a stub -- consider adding to this guide or links to other resources") but I'm not sure whether there's a separate stub layout for every type of guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Issues looking for someone to run with them! site improvement Some thing that improves the website functionality - ask @delucis for help!
Projects
None yet
Development

No branches or pull requests

3 participants