-
Notifications
You must be signed in to change notification settings - Fork 2.7k
feat: Points experiment #7454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
feat: Points experiment #7454
Conversation
❌ Deploy Preview for label-studio-storybook failed. Why did it fail? →
|
✅ Deploy Preview for label-studio-docs-new-theme ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for heartex-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
||
- Prefer `FC<Props>` or explicit function annotations. | ||
- Never use `any`; fallback to `unknown` + type guards. | ||
- Use union types instead of enums when possible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
.cursor/rules/react.mdc
Outdated
- Always run `make fmt-all` (Prettier/Biome/Ruff) before committing. | ||
- Use spaces around binary operators and after commas: `const xs = pts.map(p => p.data.x);` not `pts.map(p=>p.data.x)`. | ||
- Limit line length to 100 chars; break long expressions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
120
.cursor/rules/react.mdc
Outdated
## Declarative Rendering vs Imperative Canvas | ||
|
||
- Prefer **declarative SVG** (or a React-first charting lib such as `@visx/xy-chart`, `recharts`, `nivo`) for 2-D data‐viz inside React. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's very specific and should be used for exact tasks. Adding it here will force agent to add new libds instead of reusing Konva.js or d3.js that we already have in our codebase
… points. Semi-Working version
… in tab_selected_items.js
No description provided.