Commit 3e99965
committed
feat(samples/action-center-app): migrate UI to Apollo Vertex (apollo-wind)
Replace hand-rolled Tailwind primitives with @uipath/apollo-wind components
across App, TaskList, and TaskDetail. No more custom Modal/Button/Select/
Tabs/Badge — everything renders through UiPath's design system.
Build setup
- Upgrade Tailwind v3 → v4 (drop tailwind.config.js; apollo-wind ships its
own @tailwindcss/postcss preset)
- postcss.config.js reuses @uipath/apollo-wind/postcss
- src/index.css → single @import '@uipath/apollo-wind/styles.css' (apollo's
tokens already include light + dark variants)
Components
- Dialog, Card, Input, Label, Select, Tabs, Table, Badge, Alert, Spinner,
Sonner, EmptyState from @uipath/apollo-wind
- Remove src/components/Modal.tsx (replaced by Dialog)
- Badge variants (success/info/warning/error) replace TONE classnames
- next-themes provider + Sun/Moon ThemeToggle (apollo-wind has no provider)
UX
- ListChecks / ShieldCheck / Plus / RefreshCw / Inbox / User / Users icons
- Tab count badges on the active tab
- Animated refresh spinner during refetch
- Skeleton table while loading (industry-standard data-grid pattern)
- Folder filter is a proper filter chip: leading Folder icon, clear (X)
button, Escape to clear, no number-input spinners (folder IDs are
identifiers, not quantities)
- Fix stale data on tab switch (clear tasks on dep change in useTasks)
- uipath.json.example: baseUrl https://api.uipath.com1 parent b7a2c26 commit 3e99965
17 files changed
Lines changed: 3940 additions & 1277 deletions
File tree
- samples/action-center-app
- src
- assets
- components
- hooks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
28 | | - | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | | - | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | | - | |
| 46 | + | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
0 commit comments