Review Composer: Comment UI
Review Request #10324 — Created Nov. 17, 2018 and updated
I have added some visual changes to emulate the style of
the Comment UI in the design document version of the Review
Composer. These are mostly CSS based. I used a similar solution
for the Ship it checkbox on the "Open an Issue" checkbox.
I also moved the "Edit" icon to the right of the screen through
CSS to emulate the look of the design document.Added some code for the dropdown menu. Not finished.
I ran the JS unit tests and there weren't any errors.
The inclusion of the new code for the dropdown menu in textEditorView.es6.js caused some tests to fail.
Description | From | Last Updated |
---|---|---|
Seeing as you made visual changes to the review composer, it would be nice if you could add a screenshot. |
bolariinwa | |
It looks like your other patch got rolled into this one. If your patch /r/10210/ is at branch-1 and this … |
brennie | |
Malcolm | ||
hey, I was wondering if these blank lines exist in the actual file? |
praiseA | |
Space after : |
brennie | |
Space after : |
brennie | |
Space after : |
brennie | |
Alphabetize. |
brennie | |
Space after : |
brennie | |
Space after : |
brennie | |
Why are we changing this default? This looks like it will break a bunch of views that use InlineEditorView. Where … |
brennie | |
This should probably use <%- id %>. |
brennie | |
Intentation is wrong. The <input> and <label> elements should be indented one space. |
brennie | |
These should all use <%- ... %>, which causes HTML escaping. |
brennie | |
This should only be indented 1 space relative to the <span> |
brennie | |
Undo this indent. |
brennie | |
Why are we removing the text here? If we should be removing it, you can just use '' instead of … |
brennie | |
Here too |
brennie | |
You should arrange them in alphabetical order |
bolariinwa | |
Col: 80 Missing semicolon. |
reviewbot | |
Col: 40 Expected '===' and instead saw '=='. |
reviewbot | |
Col: 80 Missing semicolon. |
reviewbot | |
Col: 40 Expected '===' and instead saw '=='. |
reviewbot | |
Col: 80 Missing semicolon. |
reviewbot | |
Col: 40 Expected '===' and instead saw '=='. |
reviewbot | |
Col: 80 Missing semicolon. |
reviewbot | |
Col: 40 Expected '===' and instead saw '=='. |
reviewbot |
- Change Summary:
-
Added screenshot and ran unit tests.
- Testing Done:
-
~ None yet.
~ I ran the JS unit tests and there were 6 errors found.
+ + - rb ui views InfoboxManagerView Target Events mouseenter First time for target
+ - rb ui views InfoboxManagerView Target Events mouseleave Hides infobox
+ - rb ui views InfoboxManagerView Infobox Events mouseleave Hides infobox
+ - djblets configForms views ListView Manages items On remove
+ - djblets configForms views TableView Manages rows On remove
+ - djblets forms views ConditionValueFormFieldView Actions Delete a condition
+ + I will work on resolving these errors.
- Added Files:
- Commit:
-
1a69672d8d01006a8b83263018d1838cbad664a8e77fb917c2f561bb5970e8a4bac6ea9a756aa9c0
- Diff:
-
Revision 2 (+162 -84)
Checks run (2 succeeded)
-
-
It looks like your other patch got rolled into this one.
If your patch /r/10210/ is at
branch-1
and this patch is atbranch-2
, you can update this with the correct diff by doing:rbt post -r 10324 branch-1..branch-2
.
If this patch is a single commit, you can just dorbt post-branch -r 10324 branch-2
. -
-
-
-
-
-
-
Why are we changing this default? This looks like it will break a bunch of views that use
InlineEditorView
.Where we want
multiline: false
we should set that in the view options. -
-
-
-
-
-
Why are we removing the text here?
If we should be removing it, you can just use
''
instead of callinggettext('')
. -
- Change Summary:
-
Fixed some issues.
- Testing Done:
-
~ I ran the JS unit tests and there were 6 errors found.
~ I ran the JS unit tests and there weren't any errors.
- - - rb ui views InfoboxManagerView Target Events mouseenter First time for target
- - rb ui views InfoboxManagerView Target Events mouseleave Hides infobox
- - rb ui views InfoboxManagerView Infobox Events mouseleave Hides infobox
- - djblets configForms views ListView Manages items On remove
- - djblets configForms views TableView Manages rows On remove
- - djblets forms views ConditionValueFormFieldView Actions Delete a condition
- - I will work on resolving these errors.
- Commit:
-
e77fb917c2f561bb5970e8a4bac6ea9a756aa9c0b70de532bb3e8fd629495ce580f7fee8d9b8b30d
- Diff:
-
Revision 4 (+163 -84)
Checks run (2 succeeded)
- Commit:
-
b70de532bb3e8fd629495ce580f7fee8d9b8b30d511c13d61b94f9447b41f41037f81974f67f6afe
- Diff:
-
Revision 5 (+230 -85)
Checks run (2 succeeded)
- Change Summary:
-
Updated textEditorView.es6.js to include a dropdown menu for selecting Markdown for the text box.
- Summary:
-
[WIP] Review Composer: Comment UIReview Composer: Comment UI
- Description:
-
I have added some visual changes to emulate the style of
the Comment UI in the design document version of the Review Composer. These are mostly CSS based. I used a similar solution for the Ship it checkbox on the "Open an Issue" checkbox. I also moved the "Edit" icon to the right of the screen through CSS to emulate the look of the design document. + + Added some code for the dropdown menu. Not finished.
- Testing Done:
-
I ran the JS unit tests and there weren't any errors.
+ + The inclusion of the new code for the dropdown menu in textEditorView.es6.js caused some tests to fail.
- Commit:
-
511c13d61b94f9447b41f41037f81974f67f6afebf39b3eeed9919f7b919fb6f332761b165046114
- Diff:
-
Revision 6 (+267 -85)
Checks run (2 succeeded)
- Change Summary:
-
Added 4 unit tests to test the clicking the issue label at the header of each comment to toggle an issue on a comment.
- Commit:
-
bf39b3eeed9919f7b919fb6f332761b16504611450cf8e6cd2375f7a0d36bb89489e52a6621f234e
- Diff:
-
Revision 7 (+317 -85)