-
Notifications
You must be signed in to change notification settings - Fork 368
Add embedded terraform UI changes #9117
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
Add embedded terraform UI changes #9117
Conversation
|
Hey, are there any screenshots for this? |
|
I added the screenshots of the add forms |
d42202a to
ce587aa
Compare
|
Can any of this live in the new plugin? I see some changes are modifying existing controllers, so not those, but what about the new components? |
|
@GilbertCherrie I know we discussed on slack but can you put the reason why you think the js components should live in this repo? |
|
@agrare By having the JS components in this repo it allows us to keep the same design pattern of defining the JS components and then calling them from the HAML files. This is technically possible to do all in the terraform repo but we would have to move over all the JS code required to load the JS components in the HAML files as well. Another option which we don't really use in the UI repo but exists in some of the provider repos is to call the JS files directly from the ruby button clicks. |
ce587aa to
f885e43
Compare
203da13 to
84d6100
Compare
84d6100 to
46048c1
Compare
|
Checked commit GilbertCherrie@46048c1 with ruby 2.7.8, rubocop 1.56.3, haml-lint 0.51.0, and yamllint |
|
Hey @GilbertCherrie , the UI code looks solid. but, I checked-out the branches and I don't see a menu item for I was looking for changes in the Am I missing anything else? |
|
Hey @jeffibm do you have the latest embedded_terraform plugin? |
|
@jeffibm the embedded_terraform plugin isn't in the core Gemfile yet so you have to have a ensure_gem directive to add it |
|
@jeffibm Yeah you have to overide the gem locally in the core repo like with running other providers/api repos locally:
|
|
@GilbertCherrie I'm not sure if it's this PR or ManageIQ/manageiq-providers-embedded_terraform#3 but when I refresh a repository, it's missing a template for the refresh button and ultimately does nothing... I have to edit the repository name/desc to save it and have it refresh the repository since the button doesn't work. I'm running with gem overrides for #9117 and a branch of the plugin with both ManageIQ/manageiq-providers-embedded_terraform#12 and ManageIQ/manageiq-providers-embedded_terraform#16 applied. |
|
Looks like it was broken in the plugin code, @jrafanie I fixed the issue in this pr: ManageIQ/manageiq-providers-embedded_terraform#17 |
Hey @agrare , @GilbertCherrie , I can see the menu items and forms now.. |

These are the UI changes necessary for this PR: ManageIQ/manageiq-providers-embedded_terraform#3
Added the credentials and repository forms for embedded terraform. Also made some other minor changes.
Repository Form:


Credential Form:

