Skip to content

Create 'Component Types' View#1994

Merged
dgolovin merged 9 commits intoredhat-developer:masterfrom
dgolovin:i1931
Feb 26, 2021
Merged

Create 'Component Types' View#1994
dgolovin merged 9 commits intoredhat-developer:masterfrom
dgolovin:i1931

Conversation

@dgolovin
Copy link
Copy Markdown
Collaborator

@dgolovin dgolovin commented Feb 25, 2021

Fix #1931.

This PR fixes redhat-developer#1931.

Signed-off-by: Denis Golovin dgolovin@redhat.com
Tree implementation with Refresh command.

Signed-off-by: Denis Golovin dgolovin@redhat.com
Signed-off-by: Denis Golovin dgolovin@redhat.com
Fix adds content to Component Types View. Icons for tree items
representing:
* S2I Component
  * S2I ImageStream Tag
* Devfile Component
  * Starter project

Fix reqisters new command to open Sample/Starter project repository
in browser.

Signed-off-by: Denis Golovin dgolovin@redhat.com
Fix adds command to clone sample project repository to workspace.
Command is available for ImageStream tag items and Starter project
items in Component Types View.

Signed-off-by: Denis Golovin dgolovin@redhat.com
Signed-off-by: Denis Golovin dgolovin@redhat.com
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 26, 2021

Codecov Report

Merging #1994 (48c1de1) into master (0b62acc) will decrease coverage by 1.90%.
The diff coverage is 36.42%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1994      +/-   ##
==========================================
- Coverage   80.33%   78.42%   -1.91%     
==========================================
  Files          43       45       +2     
  Lines        2837     2953     +116     
  Branches      531      555      +24     
==========================================
+ Hits         2279     2316      +37     
- Misses        558      637      +79     
Impacted Files Coverage Δ
src/k8s/clusterExplorer.ts 31.11% <ø> (ø)
src/odo.ts 74.87% <ø> (ø)
src/tools.ts 96.07% <ø> (ø)
src/component.ts 30.00% <30.00%> (ø)
src/openshift/component.ts 84.35% <45.00%> (-1.85%) ⬇️
src/odo/componentType.ts 68.42% <50.00%> (-8.51%) ⬇️
src/odo/componentTypeDescription.ts 50.00% <50.00%> (ø)
src/extension.ts 82.53% <100.00%> (+0.28%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0b62acc...48c1de1. Read the comment docs.

Signed-off-by: Denis Golovin dgolovin@redhat.com
This fix adds 'New Component' command fo ImageStreamTag,
DevfileComponentType and StarterProject tree items in
Component Types View. Depending on context 'New Component'
command is skipping certain steps of regular workflow,
because some of information like component type kind,
name, version and starter project can be extracted from
context.

It also keep in place existing checks. For example
`New Component` command executed on StarterProject will
not use starter project in case not empty context
folder selected and etc.

Signed-off-by: Denis Golovin dgolovin@redhat.com
@dgolovin dgolovin changed the title I1931 Create 'Component Types' View Feb 26, 2021
Signed-off-by: Denis Golovin dgolovin@redhat.com
@dgolovin dgolovin merged commit 35a4cd0 into redhat-developer:master Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create 'Component Types' View

1 participant