Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

[Project - Onboarding]: Set up a new React application in @storybook/addon-onboarding #14

Closed
Tracked by #22558
valentinpalkovic opened this issue May 22, 2023 · 0 comments · Fixed by #3
Closed
Tracked by #22558
Assignees

Comments

@valentinpalkovic
Copy link
Contributor

valentinpalkovic commented May 22, 2023

Description

The @storybook/addon-onboarding addon will not use the classical APIs to register tabs or panels into the manager. Instead, it should initialize a separate React application in its manager.ts entry point. Within this React application, we can implement all the necessary logic for the onboarding flow (custom modals, tooltips,...). This addon will not interact API-wise with the manager at all. The addon will only use overlays to display content. Therefore it will be distinct from the manager's layout.

Acceptance criteria:

  • Mount a React application in the addon's manager.ts into the DOM. Create an empty div container at the HTML body's root element for this. Ensure the div container doesn't change/influence the manager's layout (position: absolute,...)
  • Mount a dummy "Hello World" component into this new root element.
@valentinpalkovic valentinpalkovic changed the title Set up a new React application in @storybook/onboarding [Project - Onboarding]: Set up a new React application in @storybook/onboarding May 22, 2023
@valentinpalkovic valentinpalkovic changed the title [Project - Onboarding]: Set up a new React application in @storybook/onboarding [Project - Onboarding]: Set up a new React application in @storybook/addon-onboarding May 22, 2023
@valentinpalkovic valentinpalkovic self-assigned this May 23, 2023
@valentinpalkovic valentinpalkovic transferred this issue from storybookjs/storybook May 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant