From 8a84014bf7fc827e79bcc4c66bb2d295e3c451af Mon Sep 17 00:00:00 2001 From: Sean Parmelee Date: Sun, 19 May 2024 07:11:47 -0500 Subject: [PATCH 1/6] Next.js: Avoid interfering with the svgr loader --- code/frameworks/nextjs/src/swc/loader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/frameworks/nextjs/src/swc/loader.ts b/code/frameworks/nextjs/src/swc/loader.ts index c9ca896d533b..cf01a604da8d 100644 --- a/code/frameworks/nextjs/src/swc/loader.ts +++ b/code/frameworks/nextjs/src/swc/loader.ts @@ -24,7 +24,7 @@ export const configureSWCLoader = async ( ); if (rawRule && typeof rawRule === 'object') { - rawRule.test = /^(?!__barrel_optimize__)/; + rawRule.exclude = /^__barrel_optimize__/; } baseConfig.module?.rules?.push({ From 67c2b756183b90d4eda6a4a8329cf93419d44655 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 20 May 2024 12:39:09 +0800 Subject: [PATCH 2/6] Docs: Fix RFC schedule --- docs/contribute/RFC.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contribute/RFC.md b/docs/contribute/RFC.md index 96b93158d07d..ecb3283b0946 100644 --- a/docs/contribute/RFC.md +++ b/docs/contribute/RFC.md @@ -32,7 +32,7 @@ _Details matter_: RFCs that do not present convincing motivation, demonstrate a RFCs tend to remain in this stage for a while, giving the community and core team members time to weigh in. During this period, the author of an RFC should be prepared to revise the proposal, integrate feedback, and build consensus. RFCs that have broad support are much more likely to make progress than those that don't receive any comments. -Every Monday at 11 a.m. (EST), the Storybook core team conducts a weekly triage meeting to review open RFCs as part of the meeting's agenda. The meeting is held in the [Storybook Discord's Watercooler channel](https://discord.com/channels/486522875931656193/486522876388704260). We invite the RFC author(s) and interested members of the community to participate and engage in a more detailed discussion of the RFC. If a core team member deems it necessary, they will be assigned as the "champion" of the RFC. The champion will collaborate with the RFC author and assist them throughout the RFC process. +Every week, the Storybook core team conducts a triage meeting to review open RFCs as part of the meeting's agenda. The event is publicly scheduled in the [Storybook Discord](https://discord.gg/storybook) and held in the [Storybook Discord's Watercooler channel](https://discord.com/channels/486522875931656193/486522876388704260). We invite the RFC author(s) and interested members of the community to participate and engage in a more detailed discussion of the RFC. If a core team member deems it necessary, they will be assigned as the "champion" of the RFC. The champion will collaborate with the RFC author and assist them throughout the RFC process. ### 3. `Status: accepted/rejected` From 677958795a897047338f6cbf5902a9d903170876 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Mon, 20 May 2024 12:46:41 +0800 Subject: [PATCH 3/6] Docs: Add public roadmap --- docs/contribute/public-roadmap.md | 34 +++++++++++++++++++++++++++++++ docs/toc.js | 5 +++++ 2 files changed, 39 insertions(+) create mode 100644 docs/contribute/public-roadmap.md diff --git a/docs/contribute/public-roadmap.md b/docs/contribute/public-roadmap.md new file mode 100644 index 000000000000..ad77d74d756a --- /dev/null +++ b/docs/contribute/public-roadmap.md @@ -0,0 +1,34 @@ +--- +title: 'Public roadmap' +--- + +The Storybook team maintains a [public roadmap](https://github.com/orgs/storybookjs/projects/20/views/1) in the form of a Github project. This page explainsw what's in the roadmap, how to interpret it, and how to contribute to it. + +## What's in the roadmap + +Each card represents a Storybook project. The columns represent how larger changes make their way from idea to shipped feature, typically starting as an [RFC](https://github.com/storybookjs/storybook/discussions/categories/rfc) and evolving into a [tracking issue](https://github.com/storybookjs/storybook/issues?q=is%3Aissue++sort%3Aupdated-desc+label%3ATracking+) once the team has fully scoped what the project entails. We ship a Storybook [minor version](https://semver.org/) every two months, and a major once per year, typically in Feb/Mar. + +**Candidates.** Ideas on our radar and that we are considering for the current major release. For example, if 8.0 is the most recent major, these would be ideas for 8.x or 9.0. The ideas in this column are the fuzziest and may come and go depending on our priorities. + +**Under consideration.** Projects being discussed for the next dev cycle. For example, if the most recent minor is 8.1, and we are currently working on 8.2, the projects in this column would be under consideration for 8.3. Unlike the candidates column, which can contain any idea, the projects under consideration must be documented with an [RFC + +**In progress.** Projects that we are currently working on. These come in two flavors: + +1. **[Tracking issues](https://github.com/storybookjs/storybook/issues?q=is%3Aissue++sort%3Aupdated-desc+label%3ATracking+)** which are fully scoped and expected to ship in the next minor release. For example, if the most recent minor is 8.1, these should ship in 8.2, eight weeks after 8.1. +2. **Other projects.** Community projects facilitated by the core team and side projects. These don't have an ETA but we will push to have them ready as part of the current major. For example, if 8.0 is the most recent major, these should ship in 8.x or 9.0. + +**Done.** These projects are completed, documented, and released. We follow a "fixed time, variable scope" policy for core projects, so we'll cut scope to ship a project on time if we need to (and if the scoped down project can still be useful to users). If a feature has been scoped out of a project, we might try to fit it into a follow-up project, treat it as general maintenance work, or forget about it. Storybook is open source, so PR contributions are always welcome! + +## Frequently asked questions + +### When will project X be available? + +This roadmap is an estimation, not a commitment. In general, every tracking issue "in progress" should be available in the next two months. Everything else on the board has a decent chance of getting into the next major release. For example, if 8.0 is the most recent major release, we will try to ship everything on the board as part of 8.x or 9.0. If we don't think a project is likely for the next major, we will kick it off the board. + +### What about issue Y or discussion Z? + +The Storybook core team and our community members continuously contribute bug fix bugs and smaller product improvements. The projects here are larger chunks. In some cases they may close out certain issues, and when possible we will call those out in the RFC or project tracking issue. + +### How do I get something onto the board? + +If there's a significant product improvement that you want to see, and there is currently an issue or an RFC for it, upvote that issue/discussion, and comment on it with more information about your need or use case if it's not currently captured. If you don't see anything that's quite right, please feel free to [submit an RFC](https://github.com/storybookjs/storybook/discussions/new?category=rfc). We prioritize based on a combination of user/contributor interest (upvotes, comments, [Discord](https://discord.gg/storybook) conversations, etc.) and our own strategic ambitions for the project. diff --git a/docs/toc.js b/docs/toc.js index 8915f1148f61..bbd6e61b0b8b 100644 --- a/docs/toc.js +++ b/docs/toc.js @@ -846,6 +846,11 @@ module.exports = { title: 'Reproduce', type: 'link', }, + { + pathSegment: 'public-roadmap', + title: 'Roadmap', + type: 'link', + }, ], }, { From 8184e84747fd4b68a948891cc526e91136b53c1d Mon Sep 17 00:00:00 2001 From: Kyle Gach Date: Mon, 20 May 2024 09:59:19 -0600 Subject: [PATCH 4/6] Update URL to `/contribute/roadmap` - Update heading structure - Clarified shaping process - Typos and other small tweaks --- docs/contribute/public-roadmap.md | 34 ------------------------ docs/contribute/roadmap.md | 43 +++++++++++++++++++++++++++++++ docs/toc.js | 2 +- 3 files changed, 44 insertions(+), 35 deletions(-) delete mode 100644 docs/contribute/public-roadmap.md create mode 100644 docs/contribute/roadmap.md diff --git a/docs/contribute/public-roadmap.md b/docs/contribute/public-roadmap.md deleted file mode 100644 index ad77d74d756a..000000000000 --- a/docs/contribute/public-roadmap.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: 'Public roadmap' ---- - -The Storybook team maintains a [public roadmap](https://github.com/orgs/storybookjs/projects/20/views/1) in the form of a Github project. This page explainsw what's in the roadmap, how to interpret it, and how to contribute to it. - -## What's in the roadmap - -Each card represents a Storybook project. The columns represent how larger changes make their way from idea to shipped feature, typically starting as an [RFC](https://github.com/storybookjs/storybook/discussions/categories/rfc) and evolving into a [tracking issue](https://github.com/storybookjs/storybook/issues?q=is%3Aissue++sort%3Aupdated-desc+label%3ATracking+) once the team has fully scoped what the project entails. We ship a Storybook [minor version](https://semver.org/) every two months, and a major once per year, typically in Feb/Mar. - -**Candidates.** Ideas on our radar and that we are considering for the current major release. For example, if 8.0 is the most recent major, these would be ideas for 8.x or 9.0. The ideas in this column are the fuzziest and may come and go depending on our priorities. - -**Under consideration.** Projects being discussed for the next dev cycle. For example, if the most recent minor is 8.1, and we are currently working on 8.2, the projects in this column would be under consideration for 8.3. Unlike the candidates column, which can contain any idea, the projects under consideration must be documented with an [RFC - -**In progress.** Projects that we are currently working on. These come in two flavors: - -1. **[Tracking issues](https://github.com/storybookjs/storybook/issues?q=is%3Aissue++sort%3Aupdated-desc+label%3ATracking+)** which are fully scoped and expected to ship in the next minor release. For example, if the most recent minor is 8.1, these should ship in 8.2, eight weeks after 8.1. -2. **Other projects.** Community projects facilitated by the core team and side projects. These don't have an ETA but we will push to have them ready as part of the current major. For example, if 8.0 is the most recent major, these should ship in 8.x or 9.0. - -**Done.** These projects are completed, documented, and released. We follow a "fixed time, variable scope" policy for core projects, so we'll cut scope to ship a project on time if we need to (and if the scoped down project can still be useful to users). If a feature has been scoped out of a project, we might try to fit it into a follow-up project, treat it as general maintenance work, or forget about it. Storybook is open source, so PR contributions are always welcome! - -## Frequently asked questions - -### When will project X be available? - -This roadmap is an estimation, not a commitment. In general, every tracking issue "in progress" should be available in the next two months. Everything else on the board has a decent chance of getting into the next major release. For example, if 8.0 is the most recent major release, we will try to ship everything on the board as part of 8.x or 9.0. If we don't think a project is likely for the next major, we will kick it off the board. - -### What about issue Y or discussion Z? - -The Storybook core team and our community members continuously contribute bug fix bugs and smaller product improvements. The projects here are larger chunks. In some cases they may close out certain issues, and when possible we will call those out in the RFC or project tracking issue. - -### How do I get something onto the board? - -If there's a significant product improvement that you want to see, and there is currently an issue or an RFC for it, upvote that issue/discussion, and comment on it with more information about your need or use case if it's not currently captured. If you don't see anything that's quite right, please feel free to [submit an RFC](https://github.com/storybookjs/storybook/discussions/new?category=rfc). We prioritize based on a combination of user/contributor interest (upvotes, comments, [Discord](https://discord.gg/storybook) conversations, etc.) and our own strategic ambitions for the project. diff --git a/docs/contribute/roadmap.md b/docs/contribute/roadmap.md new file mode 100644 index 000000000000..f0358a29260b --- /dev/null +++ b/docs/contribute/roadmap.md @@ -0,0 +1,43 @@ +--- +title: 'Roadmap' +hideRendererSelector: true +--- + +The Storybook team maintains a [public roadmap](https://github.com/orgs/storybookjs/projects/20/views/1) in the form of a GitHub project. This page explains what's in the roadmap, how to interpret it, and how to contribute to it. + +## What's in the roadmap + +Each card represents a Storybook project. The columns represent how larger changes make their way from idea to shipped feature. Projects typically start as an [Request for Comment (RFC)](./RFC.md), then evolve into a [tracking issue](https://github.com/storybookjs/storybook/issues?q=is%3Aissue++sort%3Aupdated-desc+label%3ATracking+) once the team has fully scoped what it entails. We ship a Storybook [minor version](https://semver.org/) every eight weeks, and a major version once per year, typically in Feb/Mar. + +### Candidates + +These cards are ideas on our radar that we are considering for the current major release. For example, if `8.0` is the most recent major version, these would be ideas for `8.x` or `9.0`. The ideas in this column are the fuzziest and may come and go depending on our priorities. + +### Under consideration + +These are projects being discussed for the next dev cycle. For example, if the most recent minor version is `8.1`, and we are currently working on `8.2`, the projects in this column would be under consideration for `8.3`. Unlike the candidates column, which can contain any idea, the projects under consideration must be documented with an [RFC](./RFC.md). + +### In progress + +These are projects that we are currently working on. There are two kinds of projects in this column: + +1. **[Tracking issues](https://github.com/storybookjs/storybook/issues?q=is%3Aissue++sort%3Aupdated-desc+label%3ATracking+)**: Fully scoped projects expected to ship in the next minor release. For example, if the most recent minor is `8.1`, these should ship in `8.2`, eight weeks after `8.1`. +2. **Other projects**: Community projects facilitated by the core team and side projects. These don't have an ETA but we will push to have them ready as part of the current major. For example, if `8.0` is the most recent major version, these should ship in `8.x` or `9.0`. + +### Done + +These projects are completed, documented, and released. We follow a "fixed time, variable scope" policy for core projects, which means we scope a project into milestones to provide the most value to users as early as possible and cut scope if necessary to ship on time. If a feature has been scoped out of a project, we might try to fit it into a follow-up project, treat it as general maintenance work, or forget about it. Storybook is open source, so PR contributions are always welcome! + +## Frequently asked questions + +### When will project X be available? + +This roadmap is an estimation, not a commitment. In general, every tracking issue "in progress" should be available in the next two months. Everything else on the board has a decent chance of getting into the next major release. For example, if `8.0` is the most recent major release, we will try to ship everything on the board as part of `8.x` or `9.0`. If we don't think a project is likely for the next major, we will kick it off the board. + +### What about issue Y or discussion Z? + +The Storybook core team and our community members continuously contribute bug fix bugs and smaller product improvements. The projects here are larger chunks of work. In some cases they may close out certain issues, and when possible we will call those out in the RFC or project tracking issue. + +### How do I get something onto the board? + +If there's a significant product improvement that you want to see, and there is currently an issue or an [RFC](./RFC.md) for it, upvote that issue/discussion, and comment on it with more information about your need or use case if it's not currently captured. If you don't see anything that's quite right, please feel free to [submit an RFC](https://github.com/storybookjs/storybook/discussions/new?category=rfc). We prioritize based on a combination of user/contributor interest (upvotes, comments, [Discord](https://discord.gg/storybook) conversations, etc.) and our own strategic ambitions for the project. diff --git a/docs/toc.js b/docs/toc.js index bbd6e61b0b8b..86e654d8f8f7 100644 --- a/docs/toc.js +++ b/docs/toc.js @@ -847,7 +847,7 @@ module.exports = { type: 'link', }, { - pathSegment: 'public-roadmap', + pathSegment: 'roadmap', title: 'Roadmap', type: 'link', }, From 679d20a992e11e6b29180ea819270e9d534dc1a3 Mon Sep 17 00:00:00 2001 From: Kyle Gach Date: Mon, 20 May 2024 10:28:57 -0600 Subject: [PATCH 5/6] Typo --- docs/contribute/roadmap.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contribute/roadmap.md b/docs/contribute/roadmap.md index f0358a29260b..509f71b07164 100644 --- a/docs/contribute/roadmap.md +++ b/docs/contribute/roadmap.md @@ -5,7 +5,7 @@ hideRendererSelector: true The Storybook team maintains a [public roadmap](https://github.com/orgs/storybookjs/projects/20/views/1) in the form of a GitHub project. This page explains what's in the roadmap, how to interpret it, and how to contribute to it. -## What's in the roadmap +## What's in the roadmap? Each card represents a Storybook project. The columns represent how larger changes make their way from idea to shipped feature. Projects typically start as an [Request for Comment (RFC)](./RFC.md), then evolve into a [tracking issue](https://github.com/storybookjs/storybook/issues?q=is%3Aissue++sort%3Aupdated-desc+label%3ATracking+) once the team has fully scoped what it entails. We ship a Storybook [minor version](https://semver.org/) every eight weeks, and a major version once per year, typically in Feb/Mar. From d429ce04d807c3112c979a4ff69eaaebf79623d2 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Tue, 21 May 2024 12:50:49 +0200 Subject: [PATCH 6/6] Sandbox: Fix reactivity in Svelte Pre component --- code/renderers/svelte/template/components/Pre.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/renderers/svelte/template/components/Pre.svelte b/code/renderers/svelte/template/components/Pre.svelte index dd7bc5718d05..856448c220f5 100644 --- a/code/renderers/svelte/template/components/Pre.svelte +++ b/code/renderers/svelte/template/components/Pre.svelte @@ -12,7 +12,7 @@ */ export let text = ''; - const finalText = object ? JSON.stringify(object, null, 2) : text; + $: finalText = object ? JSON.stringify(object, null, 2) : text;
{finalText}