microsoft / fluentui-contrib

Monorepo for contributor extension packages to Fluent UI
MIT License
31 stars 35 forks source link

[Feat] Improve repo discoverability #175

Open tudorpopams opened 6 months ago

tudorpopams commented 6 months ago

The repo is not easily discoverable at this point thus making it hard for developers to use the components hosted here.

Hotell commented 5 months ago

I see 2 possibilities:

1. Explore storybook composition

https://storybook.js.org/docs/6.5/sharing/storybook-composition

I quickly tried it out and it works, well, kinda:

image

More investigation is necessary:

2. Embrace libraries/stories packaging story we have within core

dmytrokirpa commented 1 month ago

Added another option to the list:

Option 1: Create a static page(s) in public-docsite-v9

This option involves creating static pages that list all packages with short descriptions and links to standalone Storybooks.

Pros:

Cons:

Option 2: Storybook composition

This approach composes stories for all fluentui-contrib packages into one website (Storybook in docs only mode, re-using the same Storybook presets and plugins from the core).

Pros:

Cons:

Option 3: Publish stories packages from contrib and consume those packages within core public-docsite-v9

Pros:

Cons:

Hotell commented 1 month ago

option 1 won't scale / nor will fix existing issues with contrib "docs state of the art"

option 3 is unnecessary "javascript golfing" without any real benefit ATM

option 2 is what we want

the progress/implementation will be gradual:

1st part:

2nd part:

3rd part

ty