Bug 1290016
| Summary: | Fix Angular form rendering issues visible on slower machines and add focus to the first element in the form | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | John Prause <jprause> |
| Component: | UI - OPS | Assignee: | Aparna Karve <akarve> |
| Status: | CLOSED ERRATA | QA Contact: | Alex Newman <anewman> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.5.0 | CC: | akarve, cpelland, dajohnso, hkataria, jhardy, jkrocil, mfeifer, mpovolny, obarenbo |
| Target Milestone: | GA | Keywords: | ZStream |
| Target Release: | 5.5.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 5.5.2.1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1289781 | Environment: | |
| Last Closed: | 2016-02-10 15:27:46 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1289781 | ||
| Bug Blocks: | |||
|
Comment 1
CFME Bot
2015-12-09 17:08:19 UTC
New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=15f1da172673ba0bf6bb642ecd781e3186100053 commit 15f1da172673ba0bf6bb642ecd781e3186100053 Merge: 6cb4e71 d08b487 Author: Dan Clarizio <dclarizi> AuthorDate: Wed Dec 9 12:06:55 2015 -0500 Commit: Dan Clarizio <dclarizi> CommitDate: Wed Dec 9 12:06:55 2015 -0500 Merge branch 'fix_angular_form_startup_render' into '5.5.z' 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 - https://github.com/ManageIQ/manageiq/pull/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 .../ems_common/ems_common_form_controller.js | 4 - app/assets/javascripts/directives/autofocus.js | 4 +- app/views/host/_form.html.haml | 198 +++++++++++---------- app/views/provider_foreman/_form.html.haml | 106 +++++------ .../views/ems_common/angular/_form.html.haml | 19 +- 5 files changed, 169 insertions(+), 162 deletions(-) Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:0159 |