Wild experiment for better navigation - #2749
Conversation
This is definitely not final and will require some discussions with James and some iterations but it allows showing a bit what would be possible with this new category index. I haven't adjusted the search at all and also the appearance of the guides is coming from search.quarkus.io and I haven't tweaked it. I would favor a layout that is a bit more compact, ideally, but that's something to tweak later.
|
🎊 PR Preview fca8f1e has been successfully built and deployed to https://quarkus-website-pr-2749-preview.surge.sh
|
|
Can you screencap what it's supposed to look like? I couldn't see any difference on the /guides page in your preview. But I think surge is serving stale content (in general), so I don't know if that affected this PR, or if I was just looking wrong. |
|
Ah ah, yeah, I was going to do exactly that, that's why I visited the PR :). |
|
@holly-cummins done! Look and feel is so-so, we can definitely improve it with the help of @insectengine I just wanted to give an idea of what we could achieve. |
|
/cc @rolfedh FYI as we discussed a loooooong time ago. It's the companion PR of: quarkusio/quarkus#54877 |
|
I think organising by categories rather than diataxis classification is definitely an improvement. Nice! On the actual drilled-down pages, I really like showing both the position on the broader category taxonomy and the ToC for the current content (which is obviously needed). I'm less sure about having one on the left and one on the right. It's not immediately obvious which is which, and it means there's not much whitespace on the page. Maybe the ToC could be embedded in the bigger navigation, but with a grey background so it's clear it's different? I'd also like to see us switch to cute cards with shadows and drop the 'type' icon, which is visual noise and impossible to decode (let's replace it with a lozenge saying 'tutorial' or 'reference' or whatever on the card). But that's orthogonal! I only mention it here because I was thinking of it when looking at the new pages. |
Orthogonal, but this is also something we should fix, IMO. Our styling shouldn't be spread between this repo and the search.quarkus.io repo. Search should either return data, which we can then render appropriately (but which would need some js), or it could return minimal divs with classes and we own the styling of those classes. I have a feeling the second might be what we actually currently have, in which case we'd be able to adjust the styling of what comes back from search, but I haven't looked. |
|
I like where this is going but I agree with Holly on combining the categories and the TOC on the left. This would allow users to not only jump between guides but to also drill down into a guide from the left subnav. A few problems I see off hand:
I think we're at the stage of perhaps just mocking up in photoshop this page for styling to finalize the layout before just doing code changes in order to save time. |
|
Thanks for your feedback. On what you raised:
I'm not saying we should go with this particular UI, I totally agree it can be improved but there are reasons behind what is presented here, it wasn't just random mockups :). Now we can discuss things and I'm open to suggestions for sure but we probably need to agree on what we want to do before generating new mockups. Maybe we could think about it for a couple of days and then have a live discussion about it? What do you all think? |
|
Thanks for the clarification on the intent since the working prototype didn't fully function as intended. I now have a better understanding of what's being done. OK... for clarity, lets call the main index list page "Index" and the individual guides pages "Detail page". Index page This pattern is already in use on the Extensions catalog on the site so it's a consistent experience: https://quarkus.io/extensions/?categories=scheduler%2Cbinding%2Cpostgres For clarification... there currently are two levels to the categories on some. Does the current design account for all of the sub categories or are some not being used? Detail page I'd also remove the button/tag thing that short cuts to other sections in the same category. It's just visual clutter and it duplicates the Category tray function. Caveat: All of this should only be visible on the deskop view and turned off for mobile. The vast majority of our traffic comes through desktop. Not sure there is value in spending time (or tokens) trying to adapt a more complex navigation structure to the mobile views. I don't mind spending time to mock these up in photoshop for further discussion. I'm also good with doing a live discussion too. |
|
I very much like what you did with the menu on the Guide page, that's very much what I had in mind! I'm less enthusiastic about the index page for multiple reasons:
|
|
I have two issues with yours.
If the end goal is filtering, lets do filtering. We're currently filtering by category from the blue bar at the top of the page so the mechanism is in place correct?
I'm still good to have a live discussion. ;) |
The end goal might be filtering. I really don't know. For now, I want people to be able to explore and go quickly to a category. The work on categories/subcategories has been done with a LOOOOOOT of care and I iterated a lot to provide a good idea of the topics we cover, not have a category with 15 unordered guides... And yes, let's discuss this live, it's going to be easier. |
|
1 and 3 look very good, I think we could start implementing them. For 2, I would prefer not having a big bag of "with the same extensions" but rather a list per extension. But we could start with that and refine later. |
Sounds good!
Sure, I was only concerned about the width of the TOC block and the tendency of people to make really long extension names often as one word. |
|
The latest mockups look very good — organizing by category is a clear improvement for readers. Two offers as implementation starts:
Happy to help with either. |
Yeah I noticed this one too in the latest screenshot before I went for PTO but didn't have the time to fix it, will fix it in my PR on the other side. And I will ping you there so that you can review the rest. I think we should iterate on the PR on the Quarkus side and get it merged so that @insectengine has proper data to work with. Also James, I don't think we will implement this for older versions for now so we need to fallback to the previous layout if the data is not available. That being said, it might not be too hard to "backport" this work to older branches with the help of AI so maybe we could do that at some point. |
|
Heads-up on the Roq-migration side, two small things I found while running Holly's
Everything else in your includes and layouts converts cleanly. Nice work on the redesign! |
|
Thank you for checking that, @rolfedh! (Well, and even more thank-you for diagnosing and fixing the problems.) |
|
Sounds good, @gsmet. Ping me on quarkusio/quarkus#54877 and I'll do the editorial normalization pass on the category titles and descriptions there, since that is where the source text lives. One thing to keep on this (website) side: my second offer was about accessibility for the new navigation tray, and that work belongs here in #2749, where the |
|
@insectengine I have some good news :). I merged the pull request so the data is now available in the doc for the
|
|
@insectengine FYI, @marko-bekhta is iterating on the search engine for now so maybe it's better to wait for his work before starting anything. |









This is definitely not final and will require some discussions with James and some iterations but it allows showing a bit what would be possible with this new category index.
I haven't adjusted the search at all and also the appearance of the guides is coming from search.quarkus.io and I haven't tweaked it. I would favor a layout that is a bit more compact, ideally, but that's something to tweak later.
All of this is visible if you go to: https://quarkus-website-pr-2749-preview.surge.sh/version/main/guides/ (
mainversion).Here are a couple of screenshots/pointers.
Guides sorted by categories and category index
The index page is now sorted properly, by category and with a proper order in each category.
There are subcategories in some categories and a category can have a description to have a proper introduction.
Menu to switch to other guides
When on a guide, you can easily switch to another guide in the same category, or use the menu to get to something else entirely.
For instance here: https://quarkus-website-pr-2749-preview.surge.sh/version/main/guides/writing-native-applications-tips
Switch easily to same category/topic
We display both the category(ies) and the topic(s) and you can easily switch to the other items in the category/topic.
For instance here: https://quarkus-website-pr-2749-preview.surge.sh/version/main/guides/writing-native-applications-tips