Merge lp:~unity-team/unity8/previewcommentinput into lp:unity8
| Status: | Merged |
|---|---|
| Approved by: | Albert Astals Cid on 2015-07-06 |
| Approved revision: | 1803 |
| Merged at revision: | 1865 |
| Proposed branch: | lp:~unity-team/unity8/previewcommentinput |
| Merge into: | lp:unity8 |
| Diff against target: |
196 lines (+154/-0) 5 files modified
qml/Dash/Previews/PreviewCommentInput.qml (+66/-0) qml/Dash/Previews/PreviewWidgetFactory.qml (+1/-0) tests/qmltests/CMakeLists.txt (+1/-0) tests/qmltests/Dash/Previews/tst_PreviewCommentInput.qml (+85/-0) tests/qmltests/Dash/Previews/tst_PreviewWidgetFactory.qml (+1/-0) |
| To merge this branch: | bzr merge lp:~unity-team/unity8/previewcommentinput |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | 2015-06-25 | Needs Fixing on 2015-07-15 |
| Albert Astals Cid (community) | Approve on 2015-07-06 | ||
| Andrea Cimitan | Pending | ||
|
Review via email:
|
|||
This proposal supersedes a proposal from 2015-06-01.
Commit Message
Implements a comment input widget
Description of the Change
* Are there any related MPs required for this MP to build/function as expected? Please list.
no
* Did you perform an exploratory manual test run of your code change and any related functionality?
yes
* Did you make sure that your branch does not contain spurious tags?
yes
* If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
n/a
* If you changed the UI, has there been a design review?
added a new component as per visual spec.
* Did you have a look at the warnings when running tests? Can they be reduced?
yes. only the old Theme.palette thing.
| Michael Zanetti (mzanetti) wrote : | # |
Addressed all comments. Thanks.
| Lukáš Tinkl (lukas-kde) wrote : | # |
Minor optimizations/
| Michael Zanetti (mzanetti) wrote : | # |
> Minor optimizations/
fixed.
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1798
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Andrea Cimitan (cimi) wrote : | # |
Add this file to the test in previewwidgetfa
| Michael Zanetti (mzanetti) wrote : | # |
> Add this file to the test in previewwidgetfa
done
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1799
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
| Albert Astals Cid (aacid) wrote : | # |
Text conflict in tests/qmltests/
1 conflicts encountered.
| Michael Zanetti (mzanetti) wrote : | # |
> Text conflict in tests/qmltests/
> 1 conflicts encountered.
merged
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1800
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Andrea Cimitan (cimi) wrote : | # |
Moved from TextField to TextArea
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1801
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Albert Astals Cid (aacid) wrote : | # |
AFAICS we don't need the emitted field in the test_submit_data dictionary?
| Albert Astals Cid (aacid) wrote : | # |
We don't seem to need
property real validInputRating: 1
property real invalidInputRating: -1
either
| Albert Astals Cid (aacid) wrote : | # |
Can you please make test_submit actually check that the successeful submit emits triggered(widgetId, "commented", data), with data being {"comment": comment}?
| Albert Astals Cid (aacid) wrote : | # |
property alias commentText: commentTextArea
do we actually need/use this alias for anything? Maybe we can remove it?
| Albert Astals Cid (aacid) wrote : | # |
implicitHeight: commentSubmitCo
looks a bit weird given we don't specify any topMargin at all so i guess we should either remove anchors.topMargin from the equation or add anchors.
| Albert Astals Cid (aacid) wrote : | # |
Not asking you to change it but having "commentContainer" as a sole child of "root" makes me feel as if we could just kill it and move things up. Same for "commentSubmitC
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1804
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1802. By Andrea Cimitan on 2015-07-06
-
Fixes as review
- 1803. By Andrea Cimitan on 2015-07-06
-
As albert suggests
| Albert Astals Cid (aacid) wrote : | # |
* Did you perform an exploratory manual test run of the code change and any related functionality?
Yes
* Did CI run pass?
Unrelated reasons
* Did you make sure that the branch does not contain spurious tags?
Aye
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1803
http://
Executed test runs:
FAILURE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://

PASSED: Continuous integration, rev:1795 jenkins. qa.ubuntu. com/job/ unity8- ci/5788/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- wily-touch/ 67 jenkins. qa.ubuntu. com/job/ unity8- wily-amd64- ci/66 jenkins. qa.ubuntu. com/job/ unity8- wily-i386- ci/66 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- wily-mako/ 53 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- wily-armhf/ 67 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- wily-armhf/ 67/artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 20869
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity8- ci/5788/ rebuild
http://