Provides dashboard library for VS Code editor #20679
Labels
area/editor/vscode
Issues related to the Code OSS editor of Che
engine/devworkspace
Issues related to Che configured to use the devworkspace controller as workspace engine.
kind/enhancement
A feature request - must adhere to the feature request template.
severity/P2
Has a minor but important impact to the usage or development of the system.
Is your enhancement related to a problem? Please describe
Today, there is ongoing work to have a solution working out of the box using only DevWorkspaceTemplate
devfile/devworkspace-operator#656
devfile/devworkspace-operator#655
devfile/devworkspace-operator#628
But, postStart even being challenging, adding a new component type or attributes may take time
In the meantime, we could provide a dashboard library that will handle that part for now by enhancing DevWorkspaces
Describe the solution you'd like
Library allowing to enhance DevWorkspace / Devfile
As the idea is also to get back to the 'non-enhanced' devWorkspace and 'original Devfile', each contribution made by the library should be annotated.
So we can go back to the original content.
And if we need to change some part of the DevWorkspace, we can filter-in/filter-out these extra information.
All the information like memory, cpu, default image will be described in a "Description/Template" of the editor DevWorkspaceTemplate
Here is an example
Let suppose I have the following devfile
and the following DevWorkspaceTemplate for the editor:
so
che-code-runtime-description
contains the memory, cpu, endpoint, volumes that need to be added on the user DevFileHere is expected result of the DevWorkspace and editor DevWorkspace template
so, memory is sum up, entrypoint is added
so we have extra attributes saying that endpoints, volumes, memory, etc have been added and we can filter/use them to get back to the original DevWorkspace
Describe alternatives you've considered
Use directly DWO enhancement but it'll take more time
It'll be easy to switch to the DWO implementation, we'll just to remove the enhancement library from the dashboard
Additional context
No response
The text was updated successfully, but these errors were encountered: