#36 Add UI components for workflow definition JSON and Python DSL viewing
Description
EditAdd frontend support for the new workflow definition API endpoints:
APIs to integrate:
- GET /api/v1/workflows/definitions/json/<id> - View JSON definition
- GET /api/v1/workflows/definitions/dsl/python/<id> - View Python DSL source
UI Requirements:
1. Add tabs or buttons in workflow detail view to switch between JSON and Python DSL
2. Syntax highlighting for Python DSL code display
3. Syntax highlighting for JSON definition display
4. Copy-to-clipboard functionality for both views
5. Handle null python_dsl gracefully (show message when workflow was submitted as JSON only)
6. Loading states while fetching definitions
Related: Issue #111 (API implementation complete)
Comments
Loading comments...
Context
Loading context...
Audit History
View AllLoading audit history...