Skip to content
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

Bug 1808280: Add edit application feature for apps created using deploy image flow #3931

Merged
merged 4 commits into from Jan 22, 2020

Conversation

divyanshiGupta
Copy link
Contributor

@divyanshiGupta divyanshiGupta commented Jan 13, 2020

Jira Story - https://issues.redhat.com/browse/ODC-2347

This PR adds:

  • Edit Application feature for applications created using deploy image flow
  • Changes according to latest UX (Modal is replaced with a page and some other changes).
  • Fixes bug wherein in deploy image new image stream is created in case of internal registry and resource type being knative, when the image stream already existsn and new imageStream dockerImageRepo was being set in knativeService instead of the existing one and hence the revision gets failed because the imageStream cant be fetched.

Image from external registry -
external

Image from internal registry -
internal

To do -

  • Populate internal registry fields

  • Unit tests

@openshift/team-devconsole-ux

@openshift-ci-robot openshift-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 13, 2020
@divyanshiGupta
Copy link
Contributor Author

/kind feature

@openshift-ci-robot openshift-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. kind/feature Categorizes issue or PR as related to a new feature. component/dev-console Related to dev-console component/knative Related to knative-plugin component/shared Related to console-shared labels Jan 13, 2020
@openshift-ci-robot openshift-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jan 14, 2020
@divyanshiGupta divyanshiGupta changed the title [WIP] Add edit application feature for apps created using deploy image flow Add edit application feature for apps created using deploy image flow Jan 15, 2020
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 15, 2020
@divyanshiGupta
Copy link
Contributor Author

/retest

Copy link
Contributor

@serenamarie125 serenamarie125 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@divyanshiGupta this is looking good!

Can you check the following situations

  • if there is an existing route, the user should not be able to deselect that box to remove it
  • if there is no existing route, the user should be able to select the box to create one

I can't tell if those are covered specifically in those animated gifs! Thank you!

@divyanshiGupta
Copy link
Contributor Author

divyanshiGupta commented Jan 20, 2020

@divyanshiGupta this is looking good!

Can you check the following situations

  • if there is an existing route, the user should not be able to deselect that box to remove it
  • if there is no existing route, the user should be able to select the box to create one

I can't tell if those are covered specifically in those animated gifs! Thank you!

Yes, @serenamarie125 I have added the scenario you mentioned. This scenario is already there since edit from git and dockerfile is in master.

@rohitkrai03
Copy link
Contributor

@divyanshiGupta You should run linter after doing clean yarn install. There were some linter rule changes recently.

@karthikjeeyar
Copy link
Contributor

karthikjeeyar commented Jan 20, 2020

@divyanshiGupta While editing an internal registry application, Imagestream tag is not preselected, it has dropdown items but shows No Tag. Please confirm, if you have seeing it.

Edit · OKD (1)

@karthikjeeyar
Copy link
Contributor

karthikjeeyar commented Jan 20, 2020

run ./build.sh or remove node_modules and do yarn install && yarn lint --fix to fix the lint issues.

@rohitkrai03
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 20, 2020
@divyanshiGupta
Copy link
Contributor Author

/assign @christianvogt

@divyanshiGupta
Copy link
Contributor Author

/retest

@christianvogt
Copy link
Contributor

/approve

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: christianvogt, divyanshiGupta, rohitkrai03

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 21, 2020
@spadgett
Copy link
Member

/hold
the merge queue is blocked

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 21, 2020
@spadgett
Copy link
Member

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 22, 2020
@openshift-merge-robot openshift-merge-robot merged commit 3d0db95 into openshift:master Jan 22, 2020
@spadgett spadgett added this to the v4.4 milestone Jan 27, 2020
@invincibleJai
Copy link
Member

/retitle Bug 1808280: Add edit application feature for apps created using deploy image flow

@openshift-ci-robot openshift-ci-robot changed the title Add edit application feature for apps created using deploy image flow Bug 1808280: Add edit application feature for apps created using deploy image flow Feb 28, 2020
@openshift-ci-robot
Copy link
Contributor

@divyanshiGupta: All pull requests linked via external trackers have merged. Bugzilla bug 1808280 has been moved to the MODIFIED state.

In response to this:

Bug 1808280: Add edit application feature for apps created using deploy image flow

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@invincibleJai
Copy link
Member

This PR's commit 6f04e4f , tries to address issue with https://bugzilla.redhat.com/show_bug.cgi?id=1808280

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. component/dev-console Related to dev-console component/knative Related to knative-plugin component/shared Related to console-shared kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants