Improved Showcase page: tags + search engine + migrate v1 users #4238
Labels
feature
This is not a bug or issue with Docusausus, per se. It is a feature request for the future.
mlh
Major League Hacking Fellowship
status: claimed
Issue has been claimed by a contributor who plans to work on it.
This issue is for Major League Hacking fellows only.
🚀 Feature
The v2 showcase page lists various Docusaurus 2 sites: https://v2.docusaurus.io/showcase
Problems:
If a user wants to use Docusaurus for:
Solution
Migrate older v1 sites
We should migrate all Docusaurus v1 sites (https://v1.docusaurus.io/en/users) that migrated to v2 to the v2 showcase (https://v2.docusaurus.io/showcase).
There are multiple ways to identify that a site is v2 (nested sidebar categories, new algolia search, SPA-like navigation...), but the most reliable way is to inspect the DOM of a site with dev tools and look for this:
Create a search engine
We should implement a way to filter sites by tags.
I suggest we use the following initial tags (open for feedbacks):
The site declaration could become:
The UX/UI for filtering could be quite simple, open for suggestions.
Here's a basic inspiration from https://reactnative.directory/
The filtering should happen in memory directly on the page (as we don't have any backend/api).
You don't need to do anything too complex for the filtering, the algo can be as simple as:
By default, I would use an AND filtering (ie if tags "facebook" + "design" are both selected, then the site must have both tags), but eventually, we could add a switch to allow an OR filtering (the site will appear if it matches a single selected tag).
Maybe we could find/create a little logo for each tag, and on each site card we'll display the site tags logos in a little overlay?
Please make some prototypes and post screenshots here with your suggestions.
The text was updated successfully, but these errors were encountered: