-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
870 changed files
with
21,815 additions
and
70,842 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
5 changes: 1 addition & 4 deletions
5
.github/ISSUE_TEMPLATE/feature_request.yml → .github/DISCUSSION_TEMPLATE/ideas.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
title: '[RFC] ' | ||
labels: ['RFC'] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
# Request For Comments | ||
Welcome! 👋 | ||
If you are interested in proposing a new feature or improvement to Storybook, then you are in the right place! | ||
This template is designed to help users and contributors propose a solution to a problem, receive feedback, and finally gain alignment. | ||
Thank you for taking the time to improve Storybook. | ||
- type: textarea | ||
id: summary | ||
attributes: | ||
label: Summary | ||
description: | | ||
A brief, 1-5 sentences explanation of the RFC. | ||
validations: | ||
required: true | ||
- type: markdown | ||
attributes: | ||
value: | | ||
## The Problem | ||
- type: textarea | ||
id: problem-statement | ||
attributes: | ||
label: Problem Statement | ||
description: | | ||
A few sentences or bullets summarizing the problem we are trying to solve. Non-core members should be able to read this and understand why we are doing this. | ||
placeholder: | | ||
Doing X is hard because combining Y and Z makes Storybook go 💥... | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: non-goals | ||
attributes: | ||
label: Non-goals | ||
description: | | ||
Key bullets explicitly outlining what is not in-scope. | ||
placeholder: | | ||
Making Y work with W is not part of this proposal because... | ||
- type: markdown | ||
attributes: | ||
value: | | ||
## 🚀 Proposed Solution | ||
Here is where you can get technical! | ||
The goal of this section is to outline the technical changes necessary for the proposed solution. | ||
In most cases, the content of this section will evolve as discussions take place. | ||
- type: textarea | ||
id: implementation | ||
attributes: | ||
label: Implementation | ||
description: | | ||
What are the high level technical (architecture, data structure, UI, etc) changes? Diagrams can be very helpful here. | ||
placeholder: | | ||
I propose a new API for integrating Y with Z to achieve X. The API will be... | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: prior-art | ||
attributes: | ||
label: Prior Art | ||
description: | | ||
Has this been done before, maybe in the broader ecosystem? | ||
placeholder: | | ||
Project A has done something similar for a long time, and the B addon supports this by... | ||
- type: textarea | ||
id: deliverables | ||
attributes: | ||
label: Deliverables | ||
description: | | ||
List out the high-level deliverables that make up this body of work. | ||
Each deliverable should be small enough to be reliably estimable but large enough to represent a meaningful delivery, usually one cycle (2 weeks) worth of work. | ||
placeholder: | | ||
1. Restructure Y to support incoming Z | ||
2. Integrate Z into Y | ||
3. Build V on top of Y and Z | ||
- type: textarea | ||
id: risks | ||
attributes: | ||
label: Risks | ||
description: | | ||
What risks might be introduced by this set of changes? How can we mitigate these risks? | ||
placeholder: | | ||
- This will make it harder to use X in this scenario because... | ||
- type: textarea | ||
id: unresolved-questions | ||
attributes: | ||
label: Unresolved Questions | ||
description: | | ||
Questions we hope to answer as part of this proposal review process. | ||
value: | | ||
- [ ] Using a to do list makes it easy to resolve the questions as we move the RFC along. | ||
- type: textarea | ||
id: alternatives | ||
attributes: | ||
label: Alternatives considered / Abandoned Ideas | ||
description: | | ||
Describe alternative approaches that have been considered and why they have been dropped. | ||
As we discuss this project, it is common for some ideas to be abandoned. Instead of deleting them, let's document the rationale. This way, when people review this proposal in the future, they can avoid the same thinking path and pitfalls we have already learned from. | ||
placeholder: | | ||
I've considered combining U and I, but that is a worse solution because... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,15 @@ jobs: | |
run: | ||
working-directory: scripts | ||
steps: | ||
- name: Cancel if [skip ci] | ||
if: contains(github.event.head_commit.message, '[skip ci]') | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# From https://stackoverflow.com/a/75809743 | ||
run: | | ||
gh run cancel ${{ github.run_id }} | ||
gh run watch ${{ github.run_id }} | ||
- name: Checkout ${{ github.ref_name }} | ||
uses: actions/checkout@v3 | ||
with: | ||
|
@@ -71,7 +80,7 @@ jobs: | |
git config --global user.name "storybook-bot" | ||
git config --global user.email "[email protected]" | ||
git add . | ||
git commit -m "Bump version from $CURRENT_VERSION to $DEFERRED_NEXT_VERSION" || true | ||
git commit -m "Bump version from $CURRENT_VERSION to $DEFERRED_NEXT_VERSION [skip ci]" || true | ||
git push origin ${{ github.ref_name }} | ||
- name: Get current version | ||
|
@@ -149,7 +158,7 @@ jobs: | |
git pull | ||
git checkout origin/main ./CHANGELOG.md | ||
git add ./CHANGELOG.md | ||
git commit -m "Update CHANGELOG.md for v${{ steps.version.outputs.current-version }}" | ||
git commit -m "Update CHANGELOG.md for v${{ steps.version.outputs.current-version }} [skip ci]" | ||
git push origin next | ||
- name: Sync versions/next.json from `next` to `main` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,3 +49,4 @@ code/test-results/ | |
code/playwright-results/ | ||
code/playwright-report/ | ||
code/playwright/.cache/ | ||
code/bench-results/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.