-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Feature Description:
This tracker is for the support of global configurations in the vscode-trace-extension UI. Global configuration is explained the here.
Updates in the traceviewer-react-component that is part of the theia-trace-extension repository are expected together with the VsCode UI integration similarly to #318.
To support global configuration using the json editor the following items have to be implemented
- Manage Global configuration
- Add a vscode command + a button/menu into the "Opened Traces" view:
- This will open a new web-vew. The web view will use the Configuration Endpoints as described here
- Use Cases
- Open global configuration web view
- Get all configuration sources from BE
- Fill drop-down menu with all configuration sources. Select one (alphabetical)
- Execute Use Case: "User selects configuration source"
- User selects configuration source
- Get all configuration instances from selected source from BE
- Show all configurations as a list
- Each configuration will have an "Edit..." and "Delete" button
- There will be a "New..." Button to create a new instance
- User presses "New..." Button
- Json Editor is opened with pre-filled content according the schema
- User fills in content
- JSON Editor supports validation, saving, loading and applying configuration (the same way it does for data provider configuration)
- User applies configuration
- Execute Use Case "User selects configuration source"
- Refresh trace viewer (e.g. Available views view)
- Close Json Editor
- User deletes configuration
- User presses delete button of a configuration
- Execute Use Case "User selects configuration source"
- Refresh trace viewer (e.g. Available views view)
- User edits configuration
- Get JSON for configuration instances
- Open JSON editor for configuration instance
- User does updates
- User applies configuration
- Execute Use Case "User selects configuration source"
- Refresh trace viewer (e.g. Available views view)
- Close Json Editor
- Close configuration webview
- Close open json editor
- Make sure that content in editor is not lost (e.g. ask user to apply)
- Open global configuration web view
- Notes
- Consolidate json editor implementation for global configuration and data provider configuration to not duplicate code
- Handle adversarial cases
Metadata
Metadata
Assignees
Labels
No labels