-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Components View' to show components in current workspace #2008
Comments
dgolovin
added a commit
to dgolovin/vscode-openshift-tools
that referenced
this issue
Mar 11, 2021
This PR fixes redhat-developer#2008. This fix adds: 1. Components View (View) under Application Explorer 2. View shows components discovered in workspace root folders 3. Detection for devfile components based on odo env view, which works when cluster is not accessible or user is logged off from cluster 4. Detection for s2i components based on parsing .odo/config.yaml (forkaround for odo env view not working for s2i components) 5. Refresh for View based after event about new folder added to workspace 6. Refrehs for View after component created form existing workspace folder (to avoid using watch for every folder in workspace) 7. Reveal in Explorer for components to activate Explorer view and select context folder (not always working correctly first time, have no idea why) Not implemented yet: 1. Show folders/files under component node (requires some work to incorporate filesystem watching with exlusion for folders like 'node_modules' 2. Watching for filesystem changes or focus ganed event to detect changes done in vscode terminal or external terminal 3. Showing hierarchy Project/Application/Component rather than flat list 4. Support pushing components to cluster from the view, especially for components with project that does not exist or currently not active 5. Showing state Pushed/Not pushed for components pushed to current cluster/namespace (or current context) 6. No icons yet 7. No view Welcome page with 'Create Component' button 8. No support to create component when there is no accessible cluster or user is logged off (there should be quick input requests for project and application names, there should be qiuickpiks provided that allow to select existing and not existing projects/applications) Signed-off-by: Denis Golovin dgolovin@redhat.com
dgolovin
added a commit
that referenced
this issue
Mar 12, 2021
* Components View first iteration This PR fixes #2008. This fix adds: 1. Components View (View) under Application Explorer 2. View shows components discovered in workspace root folders 3. Detection for devfile components based on odo env view, which works when cluster is not accessible or user is logged off from cluster 4. Detection for s2i components based on parsing .odo/config.yaml (forkaround for odo env view not working for s2i components) 5. Refresh for View based after event about new folder added to workspace 6. Refrehs for View after component created form existing workspace folder (to avoid using watch for every folder in workspace) 7. Reveal in Explorer for components to activate Explorer view and select context folder (not always working correctly first time, have no idea why) 8. Support to create component when there is no accessible cluster or user is logged off (there should be quick input requests for project and application names, there should be qiuickpiks provided that allow to select existing and not existing projects/applications) Not implemented yet: 1. Show folders/files under component node (requires some work to incorporate filesystem watching with exlusion for folders like 'node_modules' 2. Watching for filesystem changes or focus ganed event to detect changes done in vscode terminal or external terminal 3. Showing hierarchy Project/Application/Component rather than flat list 4. Support pushing components to cluster from the view, especially for components with project that does not exist or currently not active 5. Showing state Pushed/Not pushed for components pushed to current cluster/namespace (or current context) 6. No icons yet 7. No view Welcome page with 'Create Component' button Signed-off-by: Denis Golovin dgolovin@redhat.com
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently Applications Explorer View shows only components form current context, but in case there are components in workspace form different project or project from another clusters they are not visible in Application Explorer View. Components view should show all the worksapce folders that contains odo component and let browse and open source files without switching to Explorer view.
The text was updated successfully, but these errors were encountered: