Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

deprecate baseTemplates to simplify loading and OS list flicker #525

Merged
merged 1 commit into from
Jul 30, 2019

Conversation

atiratree
Copy link
Contributor

@mareklibra @rawagner

IMO web-ui-components base mock templates shouldn't be needed anymore. Current usage causes inconsistent behaviour on user's side.

Thoughts?

@coveralls
Copy link

coveralls commented Jul 24, 2019

Pull Request Test Coverage Report for Build 1850

  • 3 of 4 (75.0%) changed or added relevant lines in 2 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.08%) to 82.422%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/utils/templates.js 2 3 66.67%
Files with Coverage Reduction New Missed Lines %
src/components/Wizard/CreateVmWizard/stateUpdate/vmSettingsTabStateUpdate.js 1 82.12%
Totals Coverage Status
Change from base Build 2178: -0.08%
Covered Lines: 4004
Relevant Lines: 4650

💛 - Coveralls

@rawagner
Copy link
Contributor

+1 for removing mocked templates

@mareklibra
Copy link
Contributor

I agree that mock templates can be removed now, as the kubevirt's deployment has already settled down and templates are mandatory part of it. In addition, the dialog won't be rendered without kubevirt installed.

@@ -329,6 +330,7 @@ CreateVmWizard.propTypes = {
k8sPatch: PropTypes.func.isRequired,
k8sKill: PropTypes.func.isRequired,
onHide: PropTypes.func.isRequired,
templatesLoaded: PropTypes.bool,
Copy link
Contributor

Choose a reason for hiding this comment

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

I left comment regarding this prop in openshift/console#2157

Copy link
Contributor

Choose a reason for hiding this comment

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

Agreed in 2157

@mareklibra mareklibra merged commit 4c0c82d into kubevirt:master Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants