Files
formbricks/apps/web
Dhruwang cfff6b1495 feat: connect charts with FeedbackRecordDirectories (ENG-665)
Scope every chart to a specific FeedbackRecordDirectory so Cube.js
queries are filtered by tenant_id. This ensures data isolation when
multiple FRDs exist in a workspace.

- Add feedbackRecordDirectoryId FK to Chart model + migration
- Add tenantId dimension to FeedbackRecords Cube schema
- Inject tenant filter server-side before every Cube.js query execution
- Require FRD selection when creating charts (FrdPicker component)
- Show FRD as immutable field when editing charts
- Pass feedbackRecordDirectoryId through all chart creation flows
- Update tests and add injectTenantFilter test coverage
- Add i18n keys for FRD selection UI to all locale files

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-17 12:52:22 +05:30
..
2026-04-17 10:50:20 +05:30
2026-04-16 12:51:08 +04:00
2026-04-09 15:26:30 +05:30
2026-04-09 15:26:30 +05:30