ManageIQ / manageiq-ui-classic

Classic UI of ManageIQ
Apache License 2.0
50 stars 358 forks source link

Replace angular code #7603

Open himdel opened 3 years ago

himdel commented 3 years ago

We do have a lot of angular.js 1.x code that should eventually be rewritten to react or DDF, as per version-support-status, it ends LTS in Dec 2021.

We don't use angular router, or ng-app, so any angular code needs miq_bootstrap to render (which uses angular.bootstrap to run angular).

This happens from:

Views - forms (find issues)

Views - dialog user/editor:

Views - unsorted:

We also have multiple angular plugins - see https://github.com/ManageIQ/manageiq-ui-classic/pull/6452#issuecomment-686788083 And components in ui-components - issue already exists: https://github.com/ManageIQ/manageiq-ui-classic/issues/6716

Previous Releases:

Fryguy commented 3 years ago

Updated to checkboxes 😄

Fryguy commented 3 years ago

@himdel Can you reorganize the list so that provider dashboards are grouped together? I'm wondering if we focused on a provider dashboard react component if that would knock off a huge chunk of the list.

himdel commented 3 years ago

Resorted and split into forms, dashboards, topologies, a few trivial uses ..and the rest :).

himdel commented 3 years ago

Another nontrivial part that stands out is generic object + generic object definition - those screens are fully angular (and have additional issues) - might be another candidate for dropping?

himdel commented 3 years ago

Hopefully we have 0 class-based directives, as those are impossible to distinguish from css classes.

And as for attribute directives, I'm seeing..

Fryguy commented 3 years ago

Another nontrivial part that stands out is generic object + generic object definition - those screens are fully angular (and have additional issues) - might be another candidate for dropping?

I don't think we can drop that...looks like we'll have to covert to react.

chessbyte commented 1 year ago

Amazing that this list is down to ~20 items! Nice work everyone!

GilbertCherrie commented 9 months ago

Updated the issue to move all completed points from this master issue to the new Petrosian and Quinteros issues.

miq-bot commented 6 months ago

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

miq-bot commented 1 month ago

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.