Skip to content

Commit eee3124

Browse files
Merge pull request #931 from zenml-io/staging
Release
2 parents aebab20 + 000edde commit eee3124

File tree

112 files changed

+3186
-1091
lines changed

Some content is hidden

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

112 files changed

+3186
-1091
lines changed

.env.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
VITE_API_BASE_URL=
22
VITE_FRONTEND_VERSION=
3-
VITE_FEATURE_OS_KEY=
43
VITE_REO_KEY=

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
env:
3535
VITE_API_BASE_URL: "/api/v1"
3636
VITE_FRONTEND_VERSION: ${{ steps.get_version.outputs.VERSION }}
37-
VITE_FEATURE_OS_KEY: ${{ secrets.FEATURE_OS_KEY }}
3837
VITE_REO_KEY: ${{ secrets.REO_KEY }}
3938

4039
- name: Generate Changelog

AGENTS.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,19 @@
2525
- Place unit specs alongside code as `*.spec.ts[x]`; run them with `pnpm test:unit`. Reuse helpers in `src/lib` so fixtures stay deterministic and reset timers, TanStack Query caches, and mocks in `beforeEach`.
2626
- Reserve Playwright (`pnpm test:e2e`) for end-to-end flows and smoke coverage; keep component snapshots and accessibility assertions in Vitest using `@testing-library/react`.
2727

28+
## Scope Guardrails
29+
30+
- **Workspace-level resources only:** This repo implements workspace-level service accounts. User-level API keys are out of scope.
31+
- **Icons:** Reuse existing icon components; **do not** import from `lucide-react` (AI tools default to this incorrectly).
32+
33+
## Common Implementation Patterns
34+
35+
- Reference similar existing features when implementing new ones (check zenml-cloud-ui repo for shared patterns)
36+
- **One-time secrets**: Display token/key once after creation in a dialog, never persist in UI state
37+
- **Query invalidation**: After mutations (create/update/delete), invalidate TanStack Query cache to refetch data
38+
- **Component reuse**: Check `src/components/` for existing patterns before creating new components
39+
- **Type safety**: Use generated types from `src/types/core.ts`, avoid `type any`
40+
2841
## Commit & Pull Request Guidelines
2942

3043
- Follow Conventional Commit prefixes (`feat:`, `fix:`, `chore:`) with ≤72-character subjects and include issue references (`#123`) when relevant.

CLAUDE.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ Required environment variables (see `.env.example`):
5858
```bash
5959
VITE_API_BASE_URL=http://localhost:8080/api/v1 # ZenML Server API endpoint
6060
VITE_FRONTEND_VERSION=v0.17.0 # Optional: UI version number
61-
VITE_FEATURE_OS_KEY=<key> # Optional: Feature flag service key
6261
VITE_REO_KEY=<key> # Optional: Reo analytics key
6362
```
6463

@@ -212,6 +211,24 @@ Vite build is configured to split chunks by library:
212211
2. **Bundle size:** Build files are bundled into the Python package, so bundle size matters
213212
3. **No standalone use:** This dashboard is designed to work with the ZenML Server backend
214213
4. **Backwards compatibility:** Consider that users may be running different ZenML Server versions
214+
5. **Scope: Workspace-level resources only:** This dashboard implements workspace-level service accounts. User-level API keys are out of scope for this repository.
215+
216+
## Working with AI Coding Assistants
217+
218+
When using AI tools with this codebase:
219+
220+
### Provide Context
221+
222+
1. Reference existing implementations for similar features
223+
2. Point to the data fetching patterns in `src/data/`
224+
3. Note that many patterns are shared with zenml-cloud-ui (check that repo for reference implementations)
225+
226+
### Common Patterns
227+
228+
- **One-time secrets**: Display token/key once after creation, never show again
229+
- **Query invalidation**: After mutations, invalidate related TanStack Query queries to trigger refetch
230+
- **Component reuse**: Check `src/components/` before creating new components
231+
- **Type safety**: Use generated types from `src/types/core.ts`, avoid `type any`
215232

216233
## Common Patterns
217234

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ To get started with the ZenML Dashboard, follow these steps:
7676
> The frontend and the server-url needs to be on the same domain, e.g. `localhost` for local development
7777

7878
> [!NOTE]
79-
> For local development you **don't** need to set `VITE_FEATURE_OS_KEY`
8079
> You can set the `VITE_FRONTEND_VERSION` to a version number, e.g `v0.17.0`. This value is used to read the UI Version from the environment
8180

8281
5. **Run Development Server:**

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,15 @@
2828
"@hookform/resolvers": "^3.10.0",
2929
"@monaco-editor/react": "^4.7.0",
3030
"@radix-ui/react-collapsible": "^1.1.12",
31-
"@radix-ui/react-tabs": "^1.1.3",
31+
"@radix-ui/react-tabs": "^1.1.13",
3232
"@tanstack/react-query": "^5.72.0",
3333
"@tanstack/react-table": "^8.21.2",
3434
"@tanstack/react-virtual": "^3.13.12",
35-
"@zenml-io/react-component-library": "^0.23.1",
35+
"@zenml-io/react-component-library": "^0.24.0",
3636
"awesome-debounce-promise": "^2.1.0",
3737
"class-variance-authority": "^0.7.1",
3838
"clsx": "^2.1.1",
3939
"elkjs": "^0.10.0",
40-
"featureos-widget": "^0.0.32",
4140
"immer": "^10.1.1",
4241
"json-schema-faker": "^0.5.9",
4342
"jwt-decode": "^4.0.0",

0 commit comments

Comments
 (0)