Add comprehensive development roadmap via GitHub Issues

Created 10 detailed GitHub issues covering:
- Project activation and management UI (#1-2)
- Worker node coordination and visualization (#3-4)
- Automated GitHub repository scanning (#5)
- Intelligent model-to-issue matching (#6)
- Multi-model task execution system (#7)
- N8N workflow integration (#8)
- Hive-Bzzz P2P bridge (#9)
- Peer assistance protocol (#10)

Each issue includes detailed specifications, acceptance criteria,
technical implementation notes, and dependency mapping.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
anthonyrawlins
2025-07-12 19:41:01 +10:00
parent 9a6a06da89
commit e89f2f4b7b
4980 changed files with 1501266 additions and 57 deletions

View File

@@ -0,0 +1,686 @@
# v1.0.11 (Tue Jan 23 2024)
#### 🐛 Bug Fix
- Fix z-index bug by adding a wrapper [#82](https://github.com/storybookjs/addon-onboarding/pull/82) ([@ndelangen](https://github.com/ndelangen))
- Make selectors Storybook 8 compatible [#81](https://github.com/storybookjs/addon-onboarding/pull/81) ([@yannbf](https://github.com/yannbf))
- UI: Fix z-index in modal elements [#78](https://github.com/storybookjs/addon-onboarding/pull/78) ([@cdedreuille](https://github.com/cdedreuille) [@yannbf](https://github.com/yannbf))
#### Authors: 3
- Charles de Dreuille ([@cdedreuille](https://github.com/cdedreuille))
- Norbert de Langen ([@ndelangen](https://github.com/ndelangen))
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v1.0.10 (Mon Dec 11 2023)
#### 🐛 Bug Fix
- Fix Yarn remove command in README [#80](https://github.com/storybookjs/addon-onboarding/pull/80) ([@githrdw](https://github.com/githrdw))
#### Authors: 1
- [@githrdw](https://github.com/githrdw)
---
# v1.0.9 (Fri Dec 01 2023)
#### 🐛 Bug Fix
- update telemetry version [#79](https://github.com/storybookjs/addon-onboarding/pull/79) ([@yannbf](https://github.com/yannbf))
#### Authors: 1
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v1.0.8 (Thu Jul 20 2023)
#### ⚠️ Pushed to `main`
- Create CODEOWNERS ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
---
# v1.0.7 (Tue Jul 11 2023)
#### 🐛 Bug Fix
- Replace chevron icon on Configure page to avoid @storybook/components usage [#77](https://github.com/storybookjs/addon-onboarding/pull/77) ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
---
# v1.0.6 (Mon Jul 10 2023)
#### 🐛 Bug Fix
- Fix language detection [#76](https://github.com/storybookjs/addon-onboarding/pull/76) ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
---
# v1.0.5 (Mon Jul 10 2023)
#### 🐛 Bug Fix
- Remove nextjs-specific code [#75](https://github.com/storybookjs/addon-onboarding/pull/75) ([@yannbf](https://github.com/yannbf))
#### Authors: 1
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v1.0.4 (Thu Jul 06 2023)
#### 🐛 Bug Fix
- Update Configure page design [#74](https://github.com/storybookjs/addon-onboarding/pull/74) ([@JReinhold](https://github.com/JReinhold) [@cdedreuille](https://github.com/cdedreuille))
#### Authors: 2
- Charles de Dreuille ([@cdedreuille](https://github.com/cdedreuille))
- Jeppe Reinhold ([@JReinhold](https://github.com/JReinhold))
---
# v1.0.3 (Fri Jun 23 2023)
#### 🐛 Bug Fix
- Display the button story filename in tooltip [#73](https://github.com/storybookjs/addon-onboarding/pull/73) ([@yannbf](https://github.com/yannbf))
#### Authors: 1
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v1.0.2 (Thu Jun 22 2023)
#### 🐛 Bug Fix
- Fix package.json version extraction [#72](https://github.com/storybookjs/addon-onboarding/pull/72) ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
---
# v1.0.1 (Thu Jun 22 2023)
#### 🐛 Bug Fix
- Fix build assets [#71](https://github.com/storybookjs/addon-onboarding/pull/71) ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
---
# v1.0.0 (Thu Jun 22 2023)
#### 💥 Breaking Change
- Release 1.0.0 [#70](https://github.com/storybookjs/addon-onboarding/pull/70) ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### 🐛 Bug Fix
- Fix text for Javascript Projects [#68](https://github.com/storybookjs/addon-onboarding/pull/68) ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
---
# v0.0.43 (Thu Jun 22 2023)
#### 🐛 Bug Fix
- Fix react joyride in yarn pnp mode [#69](https://github.com/storybookjs/addon-onboarding/pull/69) ([@valentinpalkovic](https://github.com/valentinpalkovic))
- fix links in configure.mdx [#67](https://github.com/storybookjs/addon-onboarding/pull/67) ([@yannbf](https://github.com/yannbf))
#### Authors: 2
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v0.0.42 (Wed Jun 21 2023)
#### 🐛 Bug Fix
- Fix nextjs code steps [#66](https://github.com/storybookjs/addon-onboarding/pull/66) ([@yannbf](https://github.com/yannbf))
#### Authors: 1
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v0.0.41 (Wed Jun 21 2023)
#### 🐛 Bug Fix
- Minor improvements [#65](https://github.com/storybookjs/addon-onboarding/pull/65) ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
---
# v0.0.40 (Tue Jun 20 2023)
#### 🐛 Bug Fix
- Fix preset.js entry point [#63](https://github.com/storybookjs/addon-onboarding/pull/63) ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
---
# v0.0.39 (Tue Jun 20 2023)
#### 🐛 Bug Fix
- Fix comment in code section [#64](https://github.com/storybookjs/addon-onboarding/pull/64) ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
---
# v0.0.38 (Mon Jun 19 2023)
#### 🐛 Bug Fix
- Pass addon version in telemetry event [#62](https://github.com/storybookjs/addon-onboarding/pull/62) ([@yannbf](https://github.com/yannbf))
#### Authors: 1
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v0.0.37 (Mon Jun 19 2023)
#### 🐛 Bug Fix
- UI Fixes [#61](https://github.com/storybookjs/addon-onboarding/pull/61) ([@yannbf](https://github.com/yannbf) [@cdedreuille](https://github.com/cdedreuille))
#### Authors: 2
- Charles de Dreuille ([@cdedreuille](https://github.com/cdedreuille))
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v0.0.36 (Fri Jun 16 2023)
#### 🐛 Bug Fix
- Improve dark mode [#58](https://github.com/storybookjs/addon-onboarding/pull/58) ([@cdedreuille](https://github.com/cdedreuille) [@yannbf](https://github.com/yannbf))
#### Authors: 2
- Charles de Dreuille ([@cdedreuille](https://github.com/cdedreuille))
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v0.0.35 (Fri Jun 16 2023)
#### 🐛 Bug Fix
- Add dark mode styles to tooltip [#54](https://github.com/storybookjs/addon-onboarding/pull/54) ([@yannbf](https://github.com/yannbf))
- UI fixes [#56](https://github.com/storybookjs/addon-onboarding/pull/56) ([@yannbf](https://github.com/yannbf))
- Fix watch mode [#55](https://github.com/storybookjs/addon-onboarding/pull/55) ([@yannbf](https://github.com/yannbf))
#### Authors: 1
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v0.0.34 (Wed Jun 14 2023)
#### 🐛 Bug Fix
- Fix configure page's layout [#53](https://github.com/storybookjs/addon-onboarding/pull/53) ([@cdedreuille](https://github.com/cdedreuille))
#### Authors: 1
- Charles de Dreuille ([@cdedreuille](https://github.com/cdedreuille))
---
# v0.0.33 (Wed Jun 14 2023)
#### 🐛 Bug Fix
- Improve story detection [#52](https://github.com/storybookjs/addon-onboarding/pull/52) ([@yannbf](https://github.com/yannbf))
#### Authors: 1
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v0.0.32 (Wed Jun 14 2023)
#### 🐛 Bug Fix
- Fixes on syntax highlighter [#51](https://github.com/storybookjs/addon-onboarding/pull/51) ([@cdedreuille](https://github.com/cdedreuille) [@yannbf](https://github.com/yannbf))
#### Authors: 2
- Charles de Dreuille ([@cdedreuille](https://github.com/cdedreuille))
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v0.0.31 (Wed Jun 14 2023)
#### 🐛 Bug Fix
- Improve instructions [#50](https://github.com/storybookjs/addon-onboarding/pull/50) ([@shilman](https://github.com/shilman))
#### Authors: 1
- Michael Shilman ([@shilman](https://github.com/shilman))
---
# v0.0.30 (Tue Jun 13 2023)
#### 🐛 Bug Fix
- Add core server events for telemetry [#40](https://github.com/storybookjs/addon-onboarding/pull/40) ([@valentinpalkovic](https://github.com/valentinpalkovic) [@yannbf](https://github.com/yannbf))
#### Authors: 2
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v0.0.29 (Tue Jun 13 2023)
#### ⚠️ Pushed to `main`
- cleanup dependencies ([@yannbf](https://github.com/yannbf))
#### Authors: 1
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v0.0.28 (Mon Jun 12 2023)
#### 🐛 Bug Fix
- Feat/overall improvements [#49](https://github.com/storybookjs/addon-onboarding/pull/49) ([@yannbf](https://github.com/yannbf) [@cdedreuille](https://github.com/cdedreuille))
#### Authors: 2
- Charles de Dreuille ([@cdedreuille](https://github.com/cdedreuille))
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v0.0.27 (Fri Jun 09 2023)
#### 🐛 Bug Fix
- Add previous button to write stories modal [#48](https://github.com/storybookjs/addon-onboarding/pull/48) ([@yannbf](https://github.com/yannbf) [@cdedreuille](https://github.com/cdedreuille))
#### Authors: 2
- Charles de Dreuille ([@cdedreuille](https://github.com/cdedreuille))
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v0.0.26 (Thu Jun 08 2023)
#### 🐛 Bug Fix
- Remove animation modal [#47](https://github.com/storybookjs/addon-onboarding/pull/47) ([@cdedreuille](https://github.com/cdedreuille))
#### Authors: 1
- Charles de Dreuille ([@cdedreuille](https://github.com/cdedreuille))
---
# v0.0.25 (Thu Jun 08 2023)
#### 🐛 Bug Fix
- Improve addon bootstrapping [#46](https://github.com/storybookjs/addon-onboarding/pull/46) ([@yannbf](https://github.com/yannbf))
#### Authors: 1
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v0.0.24 (Thu Jun 08 2023)
#### 🐛 Bug Fix
- Use the correct event to detect args change [#45](https://github.com/storybookjs/addon-onboarding/pull/45) ([@yannbf](https://github.com/yannbf))
#### Authors: 1
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v0.0.23 (Thu Jun 08 2023)
#### 🐛 Bug Fix
- Various improvements [#44](https://github.com/storybookjs/addon-onboarding/pull/44) ([@yannbf](https://github.com/yannbf) [@cdedreuille](https://github.com/cdedreuille))
#### Authors: 2
- Charles de Dreuille ([@cdedreuille](https://github.com/cdedreuille))
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v0.0.22 (Thu Jun 08 2023)
#### 🐛 Bug Fix
- Improve confetti colors and shapes [#43](https://github.com/storybookjs/addon-onboarding/pull/43) ([@yannbf](https://github.com/yannbf) [@cdedreuille](https://github.com/cdedreuille))
#### Authors: 2
- Charles de Dreuille ([@cdedreuille](https://github.com/cdedreuille))
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v0.0.21 (Thu Jun 08 2023)
#### 🐛 Bug Fix
- Improve modal animation [#42](https://github.com/storybookjs/addon-onboarding/pull/42) ([@cdedreuille](https://github.com/cdedreuille))
#### Authors: 1
- Charles de Dreuille ([@cdedreuille](https://github.com/cdedreuille))
---
# v0.0.20 (Wed Jun 07 2023)
#### 🐛 Bug Fix
- Change code for Javascript projects [#41](https://github.com/storybookjs/addon-onboarding/pull/41) ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
---
# v0.0.19 (Wed Jun 07 2023)
#### 🐛 Bug Fix
- Improve write a story modal [#38](https://github.com/storybookjs/addon-onboarding/pull/38) ([@cdedreuille](https://github.com/cdedreuille))
#### Authors: 1
- Charles de Dreuille ([@cdedreuille](https://github.com/cdedreuille))
---
# v0.0.18 (Wed Jun 07 2023)
#### 🐛 Bug Fix
- Implement "How to write your Story" flow [#33](https://github.com/storybookjs/addon-onboarding/pull/33) ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
---
# v0.0.17 (Wed Jun 07 2023)
#### 🐛 Bug Fix
- use onboarding parameter in conjunction with onboarding path [#37](https://github.com/storybookjs/addon-onboarding/pull/37) ([@yannbf](https://github.com/yannbf))
#### Authors: 1
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v0.0.16 (Tue Jun 06 2023)
#### 🐛 Bug Fix
- Improve guided tour [#35](https://github.com/storybookjs/addon-onboarding/pull/35) ([@cdedreuille](https://github.com/cdedreuille) [@yannbf](https://github.com/yannbf))
#### Authors: 2
- Charles de Dreuille ([@cdedreuille](https://github.com/cdedreuille))
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v0.0.15 (Tue Jun 06 2023)
#### 🐛 Bug Fix
- Trigger via `/onboarding` path instead of query parameter [#21](https://github.com/storybookjs/addon-onboarding/pull/21) ([@yannbf](https://github.com/yannbf))
- Welcome modal animation [#34](https://github.com/storybookjs/addon-onboarding/pull/34) ([@cdedreuille](https://github.com/cdedreuille))
#### Authors: 2
- Charles de Dreuille ([@cdedreuille](https://github.com/cdedreuille))
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v0.0.14 (Mon Jun 05 2023)
#### 🐛 Bug Fix
- Modal improvements [#22](https://github.com/storybookjs/addon-onboarding/pull/22) ([@cdedreuille](https://github.com/cdedreuille))
#### Authors: 1
- Charles de Dreuille ([@cdedreuille](https://github.com/cdedreuille))
---
# v0.0.13 (Mon Jun 05 2023)
#### 🐛 Bug Fix
- Implement syntax highlighter [#20](https://github.com/storybookjs/addon-onboarding/pull/20) ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
---
# v0.0.12 (Thu Jun 01 2023)
#### 🐛 Bug Fix
- Implemented bare minimum list component [#19](https://github.com/storybookjs/addon-onboarding/pull/19) ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
---
# v0.0.11 (Thu Jun 01 2023)
#### 🐛 Bug Fix
- Add guided tour example [#5](https://github.com/storybookjs/addon-onboarding/pull/5) ([@yannbf](https://github.com/yannbf))
#### Authors: 1
- Yann Braga ([@yannbf](https://github.com/yannbf))
---
# v0.0.10 (Tue May 30 2023)
#### ⚠️ Pushed to `main`
- Rename confett to Confetti ([@valentinpalkovic](https://github.com/valentinpalkovic))
- Rename confetti to confett ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
---
# v0.0.9 (Tue May 30 2023)
#### 🐛 Bug Fix
- Implement bare minimum modal component [#18](https://github.com/storybookjs/addon-onboarding/pull/18) ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
---
# v0.0.8 (Tue May 30 2023)
#### 🐛 Bug Fix
- Implement bare minimum confetti component [#7](https://github.com/storybookjs/addon-onboarding/pull/7) ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
---
# v0.0.7 (Thu May 25 2023)
#### 🐛 Bug Fix
- Init Storybook Theme Provider [#6](https://github.com/storybookjs/addon-onboarding/pull/6) ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
---
# v0.0.6 (Tue May 23 2023)
#### 🐛 Bug Fix
- Add minimum React Application [#3](https://github.com/storybookjs/addon-onboarding/pull/3) ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
---
# v0.0.5 (Tue May 23 2023)
#### ⚠️ Pushed to `main`
- Add clean package.json ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
---
# v0.0.4 (Tue May 23 2023)
#### ⚠️ Pushed to `main`
- Cleanup ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
---
# v0.0.3 (Tue May 23 2023)
#### 🐛 Bug Fix
- Setup Chromatic [#2](https://github.com/storybookjs/addon-onboarding/pull/2) ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
---
# v0.0.2 (Tue May 23 2023)
#### 🐛 Bug Fix
- Remove unnecessary files [#1](https://github.com/storybookjs/addon-onboarding/pull/1) ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))
---
# v0.0.1 (Tue May 23 2023)
#### ⚠️ Pushed to `main`
- Fix manager.ts and add export {} ([@valentinpalkovic](https://github.com/valentinpalkovic))
- Add auto.config.js ([@valentinpalkovic](https://github.com/valentinpalkovic))
- Init Addon Onboarding ([@valentinpalkovic](https://github.com/valentinpalkovic))
- project setup ([@valentinpalkovic](https://github.com/valentinpalkovic))
- Initial commit ([@valentinpalkovic](https://github.com/valentinpalkovic))
#### Authors: 1
- Valentin Palkovic ([@valentinpalkovic](https://github.com/valentinpalkovic))

View File

@@ -0,0 +1,49 @@
# Storybook Addon Onboarding
This addon provides a guided tour in some of Storybook's features, helping you get to know about the basics of Storybook and learn how to write stories!
![](./.github/assets/onboarding-intro.png)
## Triggering the onboarding
This addon comes installed by default in Storybook projects and should trigger automatically.
If you want to retrigger the addon, you should make sure that your Storybook still contains the example stories that come when initializing Storybook, and you can then navigate to http://localhost:6006/?path=/onboarding after running Storybook.
## Uninstalling
This addon serves to provide you a guided experience on the basics of Storybook. Once you are done, the addon is therefore not needed anymore and will not get activated (unless triggered manually), so you can freely remove it. Here's how to do so:
### 1. Remove the dependency
yarn:
```zsh
yarn remove @storybook/addon-onboarding
```
npm:
```zsh
npm uninstall -D @storybook/addon-onboarding
```
pnpm:
```zsh
pnpm remove -D @storybook/addon-onboarding
```
### 2. Remove the addon in your `.storybook/main.js` file
```diff
const config = {
stories: [
"../stories/**/*.stories.mdx",
"../stories/**/*.stories.@(js|jsx|ts|tsx)",
],
addons: [
- "@storybook/addon-onboarding"
],
};
export default config;
```

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,3 @@
declare const _default: {};
export { _default as default };

View File

@@ -0,0 +1,5 @@
'use strict';
var index_default={};
module.exports = index_default;

View File

@@ -0,0 +1,3 @@
var index_default={};
export { index_default as default };

View File

@@ -0,0 +1,7 @@
import React, { lazy, Suspense } from 'react';
import ReactDOM from 'react-dom';
import { ADDON_ID } from 'storybook/internal/controls';
import { STORY_SPECIFIED } from 'storybook/internal/core-events';
import { addons } from 'storybook/manager-api';
var Onboarding=lazy(()=>import('./Onboarding-C2PY5T7U.js'));addons.register("@storybook/addon-onboarding",async api=>{let urlState=api.getUrlState(),isOnboarding=urlState.path==="/onboarding"||urlState.queryParams.onboarding==="true";api.once(STORY_SPECIFIED,()=>{if(!(!!api.getData("example-button--primary")||!!document.getElementById("example-button--primary"))){console.warn("[@storybook/addon-onboarding] It seems like you have finished the onboarding experience in Storybook! Therefore this addon is not necessary anymore and will not be loaded. You are free to remove it from your project. More info: https://github.com/storybookjs/storybook/tree/next/code/addons/onboarding#uninstalling");return}if(!isOnboarding||window.innerWidth<730)return;api.togglePanel(!0),api.togglePanelPosition("bottom"),api.setSelectedPanel(ADDON_ID);let domNode=document.createElement("div");domNode.id="storybook-addon-onboarding",document.body.appendChild(domNode),ReactDOM.render(React.createElement(Suspense,{fallback:React.createElement("div",null)},React.createElement(Onboarding,{api})),domNode);});});

View File

@@ -0,0 +1,8 @@
'use strict';
var fs = require('fs');
var telemetry = require('storybook/internal/telemetry');
var __require=(x=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(x,{get:(a,b)=>(typeof require<"u"?require:a)[b]}):x)(function(x){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+x+'" is not supported')});var STORYBOOK_ADDON_ONBOARDING_CHANNEL="STORYBOOK_ADDON_ONBOARDING_CHANNEL";var experimental_serverChannel=async(channel,options)=>{let{disableTelemetry}=await options.presets.apply("core",{});if(!disableTelemetry){let packageJsonPath=__require.resolve("@storybook/addon-onboarding/package.json"),{version:addonVersion}=JSON.parse(fs.readFileSync(packageJsonPath,{encoding:"utf-8"}));channel.on(STORYBOOK_ADDON_ONBOARDING_CHANNEL,({type,...event})=>{type==="telemetry"&&telemetry.telemetry("addon-onboarding",{...event,addonVersion});});}return channel};
exports.experimental_serverChannel = experimental_serverChannel;

View File

@@ -0,0 +1,72 @@
{
"name": "@storybook/addon-onboarding",
"version": "9.0.16",
"description": "Storybook Addon Onboarding - Introduces a new onboarding experience",
"keywords": [
"storybook-addons",
"addon-onboarding"
],
"homepage": "https://github.com/storybookjs/storybook/tree/next/code/addons/onboarding",
"bugs": {
"url": "https://github.com/storybookjs/storybook/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/storybookjs/storybook.git",
"directory": "code/addons/onboarding"
},
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/storybook"
},
"license": "MIT",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./manager": "./dist/manager.js",
"./preset": "./dist/preset.js",
"./package.json": "./package.json"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"files": [
"dist/**/*",
"README.md",
"*.js",
"*.d.ts",
"!src/**/*"
],
"scripts": {
"check": "jiti ../../../scripts/prepare/check.ts",
"prep": "jiti ../../../scripts/prepare/addon-bundle.ts"
},
"devDependencies": {
"@neoconfetti/react": "^1.0.0",
"@storybook/icons": "^1.4.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-joyride": "^2.8.2",
"typescript": "^5.8.3"
},
"peerDependencies": {
"storybook": "^9.0.16"
},
"publishConfig": {
"access": "public"
},
"bundler": {
"exportEntries": [
"./src/index.ts"
],
"managerEntries": [
"./src/manager.tsx"
],
"nodeEntries": [
"./src/preset.ts"
]
}
}

View File

@@ -0,0 +1,8 @@
function managerEntries(entry = []) {
return [...entry, require.resolve('./dist/manager.js')];
}
module.exports = {
managerEntries,
...require('./dist/preset'),
};