Polish the style of the comment dialog.
Review Request #7461 — Created June 26, 2015 and submitted
The comment dialog was looking pretty old, with its black borders and square corners. It was also a bit annoying that the text field would shrink when showing the dirty state message. This tweaks the style a bit, making the dialog a bit softer, with rounded corners and lighter borders. It's also a bit larger, giving more room for comment entry. The status message is gone, preventing that jump. Instead, an "(unsaved)" label appears on the dialog header. The "Other reviews" hasn't really been changed any. It's still the same sorta ugly box it was before, with the exception being that the View and Reply actions are no longer ugly black-outlined boxes. They're now simple links. This box will need its own restyle/redesign at some point.
Played with the dialog, resized it, entered text, viewed comments.
Everything looked and acted as expected.Unit tests pass.
Description | From | Last Updated |
---|---|---|
This would be a lot smaller if you skipped the variable and just had two calls to .text() inside the … |
david |
- Change Summary:
-
Consolidated the code for setting the title.
- Commit:
-
0fc4097e7e4732efa6c66a9fd05b4cee543d1d5519496d4f38abf2041e21891df61fd97f08e3e6df
-
Tool: Pyflakes Ignored Files: reviewboard/static/rb/js/views/commentDialogView.js reviewboard/static/rb/js/views/tests/commentDialogViewTests.js reviewboard/static/rb/css/defs.less reviewboard/static/rb/css/pages/reviews.less reviewboard/static/rb/js/models/commentEditorModel.js Tool: PEP8 Style Checker Ignored Files: reviewboard/static/rb/js/views/commentDialogView.js reviewboard/static/rb/js/views/tests/commentDialogViewTests.js reviewboard/static/rb/css/defs.less reviewboard/static/rb/css/pages/reviews.less reviewboard/static/rb/js/models/commentEditorModel.js