Merge lp:~gary/juju-gui/fixsavetext into lp:juju-gui/experimental
Status: | Needs review |
---|---|
Proposed branch: | lp:~gary/juju-gui/fixsavetext |
Merge into: | lp:juju-gui/experimental |
Diff against target: |
234 lines (+109/-15) 5 files modified
app/templates/service-configuration.partial (+1/-1) app/templates/service-constraints-viewlet.handlebars (+2/-2) app/views/databinding.js (+3/-3) app/views/inspector.js (+31/-5) lib/views/juju-inspector.less (+72/-4) |
To merge this branch: | bzr merge lp:~gary/juju-gui/fixsavetext |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju GUI Hackers | Pending | ||
Review via email: mp+183996@code.launchpad.net |
Description of the change
Fix constraints save and add save confirmation
To QA, deploy a service with the inspector, and then reopen deployed inspector. In configuration and constraints, make changes and click save. The save button should now not change text when you click on it in the constraints tab. The save (and cancel) buttons only appear when there are changes to be saved. The fields correctly recognize when changes are reverted. When changes are saved, the field flashes green to show success.
checkboxes do not work properly in this branch: Rick is working on that. The cancel button does not work: that will be a separate branch.
For comment and discussion, code and UX. The green flash for fields on save is not as described by UX, but the desired display will be a lot more time consuming--and fragile, I am afraid--than what I have here. I am hoping this is a reasonable compromise.
I hope discussion will answer UX issues, as well as resolve what is appropriate for testing. I am a bit too focused on getting this out the door, so need some outside perspective.
Unmerged revisions
- 1005. By Gary Poster
-
lint
- 1004. By Gary Poster
-
fix constraint save text; add confirmation of changes for constraints and config
A code review. Reviewers: mp+183996_ code.launchpad. net,
Message:
Please take a look.
Description:
Fix constraints save and add save confirmation
To QA, deploy a service with the inspector, and then reopen deployed
inspector. In configuration and constraints, make changes and click
save. The save button should now not change text when you click on it
in the constraints tab. The save (and cancel) buttons only appear when
there are changes to be saved. The fields correctly recognize when
changes are reverted. When changes are saved, the field flashes green
to show success.
checkboxes do not work properly in this branch: Rick is working on that.
The cancel button does not work: that will be a separate branch.
For comment and discussion, code and UX. The green flash for fields on
save is not as described by UX, but the desired display will be a lot
more time consuming--and fragile, I am afraid--than what I have here. I
am hoping this is a reasonable compromise.
I hope discussion will answer UX issues, as well as resolve what is
appropriate for testing. I am a bit too focused on getting this out the
door, so need some outside perspective.
https:/ /code.launchpad .net/~gary/ juju-gui/ fixsavetext/ +merge/ 183996
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/13505044/
Affected files +111, -15: service- configuration. partial service- constraints- viewlet. handlebars databinding. js inspector. js juju-inspector. less
A [revision details]
M app/templates/
M app/templates/
M app/views/
M app/views/
M lib/views/