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

Convert the Cloud Subnet Form to DDF and get rid of react-ui-components #210

Merged
merged 3 commits into from
May 20, 2020

Conversation

skateman
Copy link
Member

@skateman skateman commented Apr 30, 2020

This form is accessible from a Nuage Network Router's summary screen:
Screenshot from 2020-04-30 13-42-24

The look & feel should be the same, a lot of things got simplified, I used the FirmwareRegistryForm from the ui-classic as an inspiration. There's a piece of error handling that I changed. If the API returns an error while fetching the network router's data, I am displaying it as a flash message instead of printing it on the modal. The reason for this is because there's already a modal when an API error occurs.

Before:
Screenshot from 2020-04-30 13-53-32

After:
Screenshot from 2020-04-30 13-46-40

Except of this minor change, everything should behave the same.

This change allowed me to get rid of the react-ui-components dependency in this repo, which resolves one more checkbox in ManageIQ/manageiq-ui-classic#6716 (comment)

@miq-bot add_reviewer @himdel
@miq-bot add_label react, cleanup

@skateman skateman requested review from agrare and Fryguy as code owners April 30, 2020 11:54
@miq-bot
Copy link
Member

miq-bot commented Apr 30, 2020

@skateman Cannot add the following reviewer because they are not recognized: himdel

@miq-bot
Copy link
Member

miq-bot commented Apr 30, 2020

@skateman Cannot apply the following label because they are not recognized:

  • react

All labels for ManageIQ/manageiq-providers-nuage: https://github.com/ManageIQ/manageiq-providers-nuage/labels

@skateman skateman force-pushed the drop-react-ui-components branch from 9666677 to 6d5bccc Compare April 30, 2020 11:56
@skateman
Copy link
Member Author

I guess travis will fail until ManageIQ/manageiq-ui-classic#7005 is not merged

@skateman skateman force-pushed the drop-react-ui-components branch from 6d5bccc to 3d444a5 Compare May 5, 2020 07:26
@skateman skateman closed this May 19, 2020
@skateman skateman reopened this May 19, 2020
@miq-bot
Copy link
Member

miq-bot commented May 19, 2020

Checked commits skateman/manageiq-providers-nuage@e8d7de5~...5ae336f with ruby 2.5.7, rubocop 0.69.0, haml-lint 0.28.0, and yamllint
1 file checked, 0 offenses detected
Everything looks fine. 🍰

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants