Skip to content

Commit

Permalink
remove all things ladle
Browse files Browse the repository at this point in the history
  • Loading branch information
david-crespo committed Dec 3, 2024
1 parent d3b694c commit aae4add
Show file tree
Hide file tree
Showing 44 changed files with 4,181 additions and 9,197 deletions.
10 changes: 0 additions & 10 deletions .ladle/components.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions .ladle/config.mjs

This file was deleted.

18 changes: 0 additions & 18 deletions .ladle/head.html

This file was deleted.

1 change: 0 additions & 1 deletion .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ header:
- '**/*.md'
- 'LICENSE'
- 'OMICRON_VERSION'
- '.ladle'
- '.husky'
- 'mockServiceWorker.js'

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

## Directory structure

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

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

### Run [Ladle](https://ladle.dev/)

```
npm run ladle
```

This will start a preview environment for UI components at `http://localhost:61000`.

### E2E tests with [Playwright](https://playwright.dev/)

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`.
Expand All @@ -133,7 +124,6 @@ To debug end-to-end failures on CI, check out the branch with the failure and ru
| `npm run lint` | ESLint |
| `npx tsc` | Check types |
| `npm run ci` | Lint, tests (unit and e2e), and types |
| `npm run ladle` | Run Ladle (Storybook) |
| `npm run fmt` | Format everything. Rarely necessary thanks to editor integration |
| `npm run gen-api` | Generate API client (see [`docs/update-pinned-api.md`](docs/update-pinned-api.md)) |
| `npm run start:mock-api` | Serve mock API on port 12220 |
Expand Down
40 changes: 0 additions & 40 deletions app/ui/lib/ActionMenu.stories.tsx

This file was deleted.

35 changes: 0 additions & 35 deletions app/ui/lib/Badge.stories.tsx

This file was deleted.

16 changes: 0 additions & 16 deletions app/ui/lib/BulkActionMenu.stories.tsx

This file was deleted.

40 changes: 0 additions & 40 deletions app/ui/lib/Button.stories.tsx

This file was deleted.

53 changes: 0 additions & 53 deletions app/ui/lib/Checkbox.stories.tsx

This file was deleted.

57 changes: 0 additions & 57 deletions app/ui/lib/Colors.stories.tsx

This file was deleted.

28 changes: 0 additions & 28 deletions app/ui/lib/CopyToClipboard.stories.tsx

This file was deleted.

39 changes: 0 additions & 39 deletions app/ui/lib/DatePicker.stories.tsx

This file was deleted.

Loading

0 comments on commit aae4add

Please sign in to comment.