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

Toolbar: React rewrite and simplification. #5997

Merged
merged 27 commits into from
Oct 3, 2019

Conversation

martinpovolny
Copy link
Member

@martinpovolny martinpovolny commented Aug 13, 2019

  • Use a new implementation of Toolbars in React.
  • Simplify the logic around such as:
    • onClick handling (complex binding of buttons now replaced with simple React props),
    • remove dashboard_dropdown special handling,
    • remove miqInitToolbars,
    • toolbar now also unsubscribes from RxJS,
    • change the custom content mechanism for toolbars from HAML to React,
    • reimplement DashboardToolbar in React,
    • reimplement TopologyToolbar in React,

Requires: ManageIQ/react-ui-components#115

Rewrite BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1734662

@martinpovolny martinpovolny force-pushed the react_toolbar branch 3 times, most recently from e0a037c to 800943d Compare September 25, 2019 17:18
@martinpovolny martinpovolny changed the title [WIP] Toolbar: React rewrite and simplification. Toolbar: React rewrite and simplification. Sep 26, 2019
@miq-bot miq-bot removed the wip label Sep 26, 2019
@martinpovolny
Copy link
Member Author

Thank you for the testing @epwinchell, will take a look and fix it.

@martinpovolny
Copy link
Member Author

@epwinchell : fixed in ManageIQ/react-ui-components#154

I will wait for that to be merged and update the version dependency. Also I will update patterfly-react version to include a fix that removes a (wrong) warning.

@miq-bot
Copy link
Member

miq-bot commented Oct 2, 2019

Checked commits martinpovolny/manageiq-ui-classic@715bfbc~...1fe1acd with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0
19 files checked, 10 offenses detected

app/helpers/application_helper/toolbar/catalogitem_button_center.rb

app/helpers/application_helper/toolbar/cloud/instance_operations_button_group_mixin.rb

app/helpers/application_helper/toolbar/custom_button_center.rb

app/helpers/application_helper/toolbar/ems_physical_infra_center.rb

app/helpers/application_helper/toolbar/report_view.rb

app/helpers/application_helper/toolbar/vm_performance.rb

app/helpers/application_helper/toolbar/x_vm_center.rb

app/helpers/application_helper/toolbar/x_vm_performance.rb

@himdel
Copy link
Contributor

himdel commented Oct 3, 2019

Not seeing any more issues, not in dashboard, or vms, or custom buttons, or GOD, so, 🤞 :)

@himdel himdel merged commit 0a70a8c into ManageIQ:master Oct 3, 2019
@himdel himdel self-assigned this Oct 3, 2019
@himdel himdel added this to the Sprint 122 Ending Oct 14, 2019 milestone Oct 3, 2019
ZitaNemeckova added a commit to ZitaNemeckova/manageiq-providers-lenovo that referenced this pull request Oct 10, 2019
After ManageIQ/manageiq-ui-classic#5997 `to_json` is not needed and will break the data format.

Related to ManageIQ/manageiq-ui-classic#6289 fix
ZitaNemeckova added a commit to ZitaNemeckova/manageiq-providers-nuage that referenced this pull request Oct 10, 2019
After ManageIQ/manageiq-ui-classic#5997 `to_json` is not needed and will break the data format.

Related to ManageIQ/manageiq-ui-classic#6289 fix
ZitaNemeckova added a commit to ZitaNemeckova/manageiq-providers-redfish that referenced this pull request Oct 10, 2019
After ManageIQ/manageiq-ui-classic#5997 `to_json` is not needed and will break the data format.

Related to ManageIQ/manageiq-ui-classic#6289 fix
ZitaNemeckova added a commit to ZitaNemeckova/manageiq-providers-redfish that referenced this pull request Oct 10, 2019
After ManageIQ/manageiq-ui-classic#5997 `to_json` is not needed and will break the data format.

Related to ManageIQ/manageiq-ui-classic#6289 fix
ZitaNemeckova added a commit to ZitaNemeckova/manageiq-providers-redfish that referenced this pull request Oct 10, 2019
After ManageIQ/manageiq-ui-classic#5997 `to_json` is not needed and will break the data format.

Related to ManageIQ/manageiq-ui-classic#6289 fix
@himdel himdel mentioned this pull request Jan 28, 2021
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.

4 participants