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

Drop legacy dialog user #5864

Merged
merged 3 commits into from
Aug 19, 2019
Merged

Conversation

skateman
Copy link
Member

After we're done with #5539, it will be probably safe to drop the legacy dialog user and get rid of a lot of unnecessary code.

@miq-bot add_reviewer @romanblanco
@miq-bot add_reviewer @PanSpagetka
@miq-bot add_reviewer @martinpovolny
@miq-bot add_label automation/automate, cleanup, ivanchuk/no, changelog/yes, old dialogs

cc @pkomanek, @eclarizio, @d-m-u

@d-m-u
Copy link
Contributor

d-m-u commented Jul 24, 2019

👍

@martinpovolny
Copy link
Member

Way to go! We need to keep finishing things or we drawn in legacy.

@skateman skateman force-pushed the drop-legacy-dialogs branch from 9a70c8e to 0474e40 Compare July 25, 2019 07:46
@skateman skateman force-pushed the drop-legacy-dialogs branch from 0474e40 to af94a05 Compare August 12, 2019 19:54
@eclarizio
Copy link
Member

🎉

@skateman skateman changed the title [WIP] Drop legacy dialog user Drop legacy dialog user Aug 12, 2019
@miq-bot miq-bot removed the wip label Aug 12, 2019
@@ -12,43 +12,15 @@
- resource_action_id ||= @dialog_locals[:resource_action_id]
- open_url ||= @dialog_locals[:open_url]

- if Settings.product.old_dialog_user_ui
Copy link
Contributor

Choose a reason for hiding this comment

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

I remembered that this branch was used somewhere in provisioning, however I couldn't reproduce it, so maybe my memory is just tricking me.

Assuming that this branch is not used anymore, first line - wf = @edit[:wf] if @edit && @edit[:wf] could be also deleted.

Originally i thought that because of this cleanup we might be able to get rid of some parts of miq_request_methods.rb but in _prov_wf.html.haml we are still using wf dialogs.

@martinpovolny
Copy link
Member

...waiting for @PanSpagetka 's feedback to be addressed.

@skateman skateman force-pushed the drop-legacy-dialogs branch from af94a05 to dd3d470 Compare August 13, 2019 11:37
@miq-bot
Copy link
Member

miq-bot commented Aug 13, 2019

Checked commits skateman/manageiq-ui-classic@37aa81c~...dd3d470 with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0
9 files checked, 0 offenses detected
Everything looks fine. ⭐

Copy link
Contributor

@PanSpagetka PanSpagetka left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@mzazrivec mzazrivec added this to the Sprint 118 Ending Aug 19, 2019 milestone Aug 19, 2019
@mzazrivec mzazrivec merged commit a3b5474 into ManageIQ:master Aug 19, 2019
@skateman skateman deleted the drop-legacy-dialogs branch August 19, 2019 13:53
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.

7 participants