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

Separated the namespace and domain form #6335

Closed
wants to merge 2 commits into from
Closed

Separated the namespace and domain form #6335

wants to merge 2 commits into from

Conversation

brumik
Copy link

@brumik brumik commented Oct 24, 2019

Separating the namespace and the domain form. This PR is built on #5971 and also includes the tests.

Depends on:

Before:
Screenshot from 2019-11-05 09-35-44
Screenshot from 2019-11-05 09-36-52

After:
Screenshot from 2019-11-05 09-32-01
Screenshot from 2019-11-05 09-32-17

@miq-bot add_label react, hammer/no, ivanchuk/no, react, pending core, automation/automate
@miq-bot add_reviewer @Hyperkid123
@miq-bot add_reviewer @skateman
@miq-bot add_reviewer @rvsia
@miq-bot add_reviewer @karelhala

@skateman
Copy link
Member

Just a naming thing at the start, let's prefix both forms with Automate as they are both in the automate part of the ui

Copy link
Contributor

@Hyperkid123 Hyperkid123 left a comment

Choose a reason for hiding this comment

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

I got a few bits and bobs for the JS part. 😉

app/javascript/components/domain-form/index.jsx Outdated Show resolved Hide resolved
app/javascript/components/domain-form/index.jsx Outdated Show resolved Hide resolved
app/javascript/components/domain-form/index.jsx Outdated Show resolved Hide resolved
app/javascript/components/domain-form/index.jsx Outdated Show resolved Hide resolved
app/javascript/components/namespace-form/index.jsx Outdated Show resolved Hide resolved
app/javascript/packs/component-definitions-common.js Outdated Show resolved Hide resolved
app/javascript/spec/domain-form/domain-form.spec.js Outdated Show resolved Hide resolved
app/javascript/spec/domain-form/domain-form.spec.js Outdated Show resolved Hide resolved
app/javascript/spec/namespace-form/namespace-form.spec.js Outdated Show resolved Hide resolved
Copy link
Contributor

@Hyperkid123 Hyperkid123 left a comment

Choose a reason for hiding this comment

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

👍 on the form changes.

expect(response).to have_css("namespace-form[namespace_path='namespace/path']")
end
end

Copy link
Member

Choose a reason for hiding this comment

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

I'm a little concerned about removing these specs, but I guess we no longer need them after ManageIQ/manageiq-api#647 is in.

@skateman
Copy link
Member

skateman commented Nov 4, 2019

I like this, but I guess someone from automate could check it out too.
@miq-bot add_reviewer @mkanoor
@miq-bot add_reviewer @tinaafitz

@miq-bot
Copy link
Member

miq-bot commented Nov 4, 2019

@skateman 'mkanoor' is an invalid reviewer, ignoring...

@miq-bot
Copy link
Member

miq-bot commented Nov 4, 2019

@skateman 'tinaafitz' is an invalid reviewer, ignoring...

@skateman
Copy link
Member

skateman commented Nov 4, 2019

@brumik does this work out of the box, or does it depend on any API PRs?

@miq-bot
Copy link
Member

miq-bot commented Nov 7, 2019

Checked commits https://github.com/brumik/manageiq-ui-classic/compare/591503720313d30789b8df01d7adc6be5f7d5535~...8bff879e40453a521e90d6e83b4eb6d4d793faee with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0
5 files checked, 0 offenses detected
Everything looks fine. 🏆

@skateman
Copy link
Member

This depends on ManageIQ/manageiq-api#699

@miq-bot
Copy link
Member

miq-bot commented Nov 25, 2019

This pull request is not mergeable. Please rebase and repush.

@himdel himdel removed their assignment Jun 18, 2020
@brumik brumik closed this Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants