This repository has been archived by the owner on Apr 30, 2024. It is now read-only.
[RFC] Deprecate Storybook - simplify project to essential components and styles using VuePress #898
Closed
1 task done
Labels
💻 aspect: code
Concerns the software code in the repository
🤖 aspect: dx
Concerns developers' experience with the codebase
dependencies
Pull requests that update a dependency file
🛠 goal: fix
Bug fix
✨ goal: improvement
Improvement to an existing feature
good first issue
New-contributor friendly
help wanted
Open to participation from the community
no-issue-activity
🟧 priority: high
Stalls work on the project or its dependents
💪 skill: javascript/vue
Requires proficiency in 'JavaScript/Vue'
💪 skill: sass
Requires proficiency in 'Sass'
🚦 status: awaiting triage
Has not been triaged & therefore, not ready for work
💬 talk: discussion
Open for discussions and feedback
Problem
Consider rebooting this repository as a simple Vue-only app that fulfills the essential requirements.
Further, the project is intended to:
Description
I've spent the better part of two days trying to get this project to run. Complexity may be the fundamental issue preventing Storybook from running (#897) or rendering in deployment (#895). In effect, there are too many dependencies of dependencies and some of them may be interacting in unpredictable ways (storybookjs/storybook#14410).
In a moment of reflection, I asked "what is essential about CC vocabulary?". I believe the short answer is "the CSS styles and Vue components are essential."
What is essential?
Several essential qualities have been mentioned so far through discussions:
Proposal
We can use VuePress as a static documentation tool and development aide for the CC Vocabulary components. There is a tutorial series on using VuePress to document a Vue component library. While the outcome wouldn't be as sophisticated as Storybook, the simplicity and affinity of using VuePress could be a net gain. Further, the VuePress project could be used as the basis for a living CC style guide.
Alternatives
Power through the errors and get Storybook to work. To "power" (force) one's way through difficulties is a reasonable strategy, and one commonly taken with JavaScript development. To a certain extent, large parts of the JavaScript ecosystem may be the result of powering through problems created by solutions to other problems. However, we have the opportunity to reappraise the essence of this project and steer towards an essential architecture.
I don't propose to arbitrarily "throw out the baby with the bathwater", but in this case, the complexity added by Storybook may outweigh its benefits.
Additional context
Looking to component library projects like Quasar and Vuetify, it seems they document their components with their components (eating their own tofu, so to speak.)
Regarding Storybook, @zackkrida makes a reductionist observation that:
Implementation
The text was updated successfully, but these errors were encountered: