globs: ["**/*.ts", "**/*.tsx"]
alwaysApply: false
---
Never write strings in the frontend directly, always write to and reference the relevant translations file
No other project uses it yet
37k13mo agoReviewMountCreate a free account to mount
external modules or partial function arguments, referencing the usage guidelines in the TypeScript section.
- Frontend react code does not need unit tests
### Test Coverage
- Test critical business logic and edge
18k17mo agoReviewMountCreate a free account to mount
base folders without approval.
- Do not change the application's dependencies without approval.
## Frontend Bundling
- If the user doesn't see a frontend change reflected in the UI, it could
Steady2 mentions in 2 weeks
No other project uses it yet
17k6mo agoReviewMountCreate a free account to mount
DataFrame Serialization
All DataFrame-to-records conversion for API responses, streaming events, or
frontend-visible data MUST use the centralized helpers in
`data_formulator.datalake.parquet_utils`:
| Source type | Helper |
|---|---|
| `pd.DataFrame
No other project uses it yet
17k7mo agoReviewMountCreate a free account to mount
Offline-Ready:** Core functionality MUST work without an internet connection.
- **Separation of Concerns:** Strict frontend-backend separation.
- **Clean code:** Clean, testable, maintainable code, follows best practices of python
No other project uses it yet
14k16mo agoReviewMountCreate a free account to mount
description:
globs:
alwaysApply: true
---
---
description: Rules for writing frontend code at Keep (React + Typescript)
globs: keep-ui/**/*.tsx, keep-ui/**/*.ts
---
You are an expert in TypeScript, React, Next.js
No other project uses it yet
13k20mo agoReviewMountCreate a free account to mount
guidelines for writing and running React tests
globs: *.spec.tsx, *.test.tsx, *.test.ts, *.spec.ts
---
# Writing frontend tests
Place tests in __tests__ folder in the module, e.g. tests for file `/features/workflows/model/useWorkflows.tsx` should
No other project uses it yet
13k20mo agoReviewMountCreate a free account to mount
Frontend Development (js/app/)
## Commands
### Development
- `pnpm dev` - Start dev server with hot reload
- `pnpm run build` - Build production bundle
- `pnpm test` - Run tests
### Quality Checks
- `pnpm run lint
Steady12 mentions in 2 weeks
No other project uses it yet
12k2mo agoReviewMountCreate a free account to mount