Description
Update TKUI to remove or disable experiment creation and editing functionality in order to ensure past TK-registered experiment data is displayed as read-only.
Technical Notes
GrowthBook-sourced experiments will NOT be mirrored in the TKUI frontend. Only the backend will know about GB-originated experiments for generating the API responses.
Relevant files:
Backend:
- routes/experiments.js
- controller/instrumentController.js
- service/instrumentService.js
Frontend:
- frontend/src/... relevant experiment create/update views and routes
New files:
likely none; mostly UI and route/permission changes
Currently routes/experiments.js still wires POST /experiments and PUT /experiment/:slug through instrumentController -- this eventually needs to become disabled/read-only
Acceptance Criteria
- Experiment create/update actions in TKUI are disabled.
- Backend no longer accepts experiment authoring changes in GrowthBook-only mode.
- UI shows past TK-originated experiment config in read-only form.
- Existing instrument authoring remains unaffected unless intentionally changed.
- UI/integration tests cover read-only behavior.
- Update link to GB to say "All experiments are now being configured in GrowthBook" with a link to the experiments in GrowthBook