Repository navigation
Commit 60ee910
committed
Move Storybook from packages/ui to a dedicated apps/storybook app
- move storybook from packages/ui to apps/storybook while keeping stories in packages/ui. we need this to serve as standalone app so apps/editor doesn't depend on storybook
- assess the migration, simplify configs when possible [Changes]
- in storybook app, don't use workarounds
- get rid of [Fragment] while not causing any warinings to appear
- remove frozen lockfile
├── apps
│ ├── browser
│ │ └── tsconfig.json
│ ├── editor
│ │ ├── package.json
│ │ └── tsconfig.json
│ └── storybook
│ ├── .gitignore
│ ├── .storybook
│ │ ├── main.ts
│ │ ├── preview.ts
│ │ └── styles.css
│ ├── package.json
│ └── tsconfig.json
├── install.ps1
├── install.sh
├── packages
│ └── ui
│ ├── package.json
│ ├── src
│ │ ├── components
│ │ │ └── editor
│ │ │ ├── chats-view
│ │ │ │ └── Progress
│ │ │ │ └── Progress.stories.tsx
│ │ │ ├── common
│ │ │ │ ├── Button
│ │ │ │ │ └── Button.stories.tsx
│ │ │ │ ├── Checkbox
│ │ │ │ │ └── Checkbox.stories.tsx
│ │ │ │ ├── Dropdown
│ │ │ │ │ └── Dropdown.stories.tsx
│ │ │ │ ├── DropdownMenu
│ │ │ │ │ └── DropdownMenu.stories.tsx
│ │ │ │ ├── Field
│ │ │ │ │ └── Field.stories.tsx
│ │ │ │ ├── IconButton
│ │ │ │ │ └── IconButton.stories.tsx
│ │ │ │ ├── Input
│ │ │ │ │ └── Input.stories.tsx
│ │ │ │ ├── Radio
│ │ │ │ │ └── Radio.stories.tsx
│ │ │ │ ├── SimpleCheckbox
│ │ │ │ │ └── SimpleCheckbox.stories.tsx
│ │ │ │ ├── TextButton
│ │ │ │ │ └── TextButton.stories.tsx
│ │ │ │ ├── Textarea
│ │ │ │ │ └── Textarea.stories.tsx
│ │ │ │ └── prompts
│ │ │ │ └── PromptField
│ │ │ │ └── PromptField.stories.tsx
│ │ │ ├── prompt-view
│ │ │ │ ├── Configurations
│ │ │ │ │ └── Configurations.stories.tsx
│ │ │ │ ├── Fieldset
│ │ │ │ │ └── Fieldset.stories.tsx
│ │ │ │ ├── IconAccentButton
│ │ │ │ │ └── IconAccentButton.stories.tsx
│ │ │ │ ├── KeycapWrapper
│ │ │ │ │ └── KeycapWrapper.stories.tsx
│ │ │ │ ├── Page
│ │ │ │ │ └── Page.stories.tsx
│ │ │ │ ├── PresetOption
│ │ │ │ │ └── PresetOption.stories.tsx
│ │ │ │ ├── RecentDonations
│ │ │ │ │ └── RecentDonations.stories.tsx
│ │ │ │ ├── ResponsePreview
│ │ │ │ │ └── ResponsePreview.stories.tsx
│ │ │ │ ├── Responses
│ │ │ │ │ └── Responses.stories.tsx
│ │ │ │ ├── TargetButton
│ │ │ │ │ └── TargetButton.stories.tsx
│ │ │ │ ├── Tasks
│ │ │ │ │ └── Tasks.stories.tsx
│ │ │ │ └── modals
│ │ │ │ ├── AutoClosingModal
│ │ │ │ │ └── AutoClosingModal.stories.tsx
│ │ │ │ ├── OngoingApiCallsModal
│ │ │ │ │ └── OngoingApiCallsModal.stories.tsx
│ │ │ │ ├── ProgressModal
│ │ │ │ │ └── ProgressModal.stories.tsx
│ │ │ │ └── QRCodeModal
│ │ │ │ └── QRCodeModal.stories.tsx
│ │ │ └── settings-view
│ │ │ ├── Item
│ │ │ │ └── Item.stories.tsx
│ │ │ └── SortableList
│ │ │ └── SortableList.stories.tsx
│ │ └── styles
│ │ ├── foundation
│ │ │ ├── _colors.scss
│ │ │ ├── _index.scss
│ │ │ ├── _mixins.scss
│ │ │ └── _variables.scss
│ │ └── global.scss
│ └── tsconfig.json
└── pnpm-workspace.yaml1 parent 27cced0 commit 60ee910
14 files changed
Lines changed: 899 additions & 719 deletions
File tree
- apps/storybook
- .storybook
- packages/ui
- .storybook
- src
- components/editor/settings-view/Item
- hooks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
542 | | - | |
| 542 | + | |
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
| |||
564 | 564 | | |
565 | 565 | | |
566 | 566 | | |
567 | | - | |
| 567 | + | |
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
550 | | - | |
| 550 | + | |
551 | 551 | | |
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
557 | | - | |
| 557 | + | |
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments