Skip to content

Commit 4d3a923

Browse files
authored
Remove Ladle (#2596)
remove all things ladle
1 parent 576e184 commit 4d3a923

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+4181
-9197
lines changed

.ladle/components.tsx

Lines changed: 0 additions & 10 deletions
This file was deleted.

.ladle/config.mjs

Lines changed: 0 additions & 3 deletions
This file was deleted.

.ladle/head.html

Lines changed: 0 additions & 18 deletions
This file was deleted.

.licenserc.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ header:
1818
- '**/*.md'
1919
- 'LICENSE'
2020
- 'OMICRON_VERSION'
21-
- '.ladle'
2221
- '.husky'
2322
- 'mockServiceWorker.js'
2423

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ The web console has no special privileges as an API consumer. Logging in sets a
4343
- [Mock Service Worker](https://mswjs.io/) for mock API server
4444
- [Vitest](https://vitest.dev/) for unit tests
4545
- [Playwright](https://playwright.dev/) for E2E browser tests
46-
- [Ladle](https://ladle.dev/), a lightweight Storybook clone based on Vite
4746

4847
## Directory structure
4948

@@ -109,14 +108,6 @@ document.cookie = 'session=d9b1a96e151092eb0ea08b1a0d8c4788441f1894;domain=local
109108

110109
Go to https://localhost:4000 again and you should be logged in.
111110

112-
### Run [Ladle](https://ladle.dev/)
113-
114-
```
115-
npm run ladle
116-
```
117-
118-
This will start a preview environment for UI components at `http://localhost:61000`.
119-
120111
### E2E tests with [Playwright](https://playwright.dev/)
121112

122113
Playwright tests live in [`test/e2e`](test/e2e/). `npm run e2e` runs the tests in Chrome, Firefox, and Safari, but this is rarely necessary in local dev. `npm run e2ec` is a shortcut for `playwright test --project=chrome`, which runs the tests in Chrome only (the fastest one, useful for local dev). Playwright has an excellent [UI mode](https://playwright.dev/docs/test-ui-mode) for running and debugging tests that you can get to by running `npm run e2e -- --ui`.
@@ -133,7 +124,6 @@ To debug end-to-end failures on CI, check out the branch with the failure and ru
133124
| `npm run lint` | ESLint |
134125
| `npx tsc` | Check types |
135126
| `npm run ci` | Lint, tests (unit and e2e), and types |
136-
| `npm run ladle` | Run Ladle (Storybook) |
137127
| `npm run fmt` | Format everything. Rarely necessary thanks to editor integration |
138128
| `npm run gen-api` | Generate API client (see [`docs/update-pinned-api.md`](docs/update-pinned-api.md)) |
139129
| `npm run start:mock-api` | Serve mock API on port 12220 |

app/ui/lib/ActionMenu.stories.tsx

Lines changed: 0 additions & 40 deletions
This file was deleted.

app/ui/lib/Badge.stories.tsx

Lines changed: 0 additions & 35 deletions
This file was deleted.

app/ui/lib/BulkActionMenu.stories.tsx

Lines changed: 0 additions & 16 deletions
This file was deleted.

app/ui/lib/Button.stories.tsx

Lines changed: 0 additions & 40 deletions
This file was deleted.

app/ui/lib/Checkbox.stories.tsx

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)