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

Fixed the angular rendering issue at startup that is sometimes visible #5543

Merged

Conversation

AparnaKarve
Copy link
Contributor

This is a Part II for PR - #5048 and covers Host , Cloud Provider and Provider Foreman forms.

@AparnaKarve
Copy link
Contributor Author

@h-kataria Can you review this ?

@h-kataria
Copy link
Contributor

@AparnaKarve as discussed i am seeing some form rendering delay on Cloud Provider edit screen, can you try this at your end. Other 2 forms are working fine.

@AparnaKarve AparnaKarve force-pushed the fix_angular_form_startup_render branch from 414817e to c18ec54 Compare December 3, 2015 19:44
@miq-bot
Copy link
Member

miq-bot commented Dec 3, 2015

Checked commits AparnaKarve/manageiq@f60b621~...c18ec54 with ruby 2.2.3, rubocop 0.34.2, and haml-lint 0.13.0
3 files checked, 1 offense detected

app/views/host/_form.html.haml

  • 🔴 Warn - Line 47, Col - - Style/HashSyntax: Use hash rockets syntax.

@h-kataria
Copy link
Contributor

verified fix.

@AparnaKarve AparnaKarve closed this Dec 4, 2015
@AparnaKarve AparnaKarve reopened this Dec 4, 2015
@h-kataria h-kataria added this to the Sprint 33 Ending Dec 7, 2015 milestone Dec 4, 2015
h-kataria added a commit that referenced this pull request Dec 4, 2015
…nder

Fixed the angular rendering issue at startup that is sometimes visible
@h-kataria h-kataria merged commit c3642a0 into ManageIQ:master Dec 4, 2015
dclarizio pushed a commit to dclarizio/manageiq that referenced this pull request Dec 16, 2015
Fixed the angular rendering issue at startup that is sometimes visible

https://bugzilla.redhat.com/show_bug.cgi?id=1290016

Clean cherry-pick.
Upstream PR - ManageIQ#5543

The auto-focus directive will now be deployed to set the display 'on' on the form once all the json data is fetched. The directive will then set focus on the first field in the form.

This is being done in order to resolve a known problem with angular forms where just before the form loads, for a brief second or so, the fields are marked red since the form json data is still being fetched from the server. This issue is quite pronounced on slower machines.

See merge request !596
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.

4 participants