Opened 15 years ago
Closed 14 years ago
#5587 closed Bug (fixed)
Visual improvements in dialogs
Reported by: | Wiktor Walc | Owned by: | Garry Yao |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.5 |
Component: | UI : Dialogs | Version: | 3.0 |
Keywords: | Cc: |
Description
While designing dialogs we used to check how they look having the English language enabled.
It might be worth checking how CKEditor looks like in other popular languages, like German, Russian and also in languages which translation files are much bigger than en.js (like Thai).
Changing the design of some dialogs would be a relatively small change in the code, but a possibly big improvement in the quality of user interface.
Attachments (16)
Change History (45)
Changed 15 years ago by
Attachment: | image_dialog_de.png added |
---|
Changed 15 years ago by
Attachment: | image_dialog_de_modified.png added |
---|
Changed 15 years ago by
Attachment: | link_dialog_de.png added |
---|
Changed 15 years ago by
Attachment: | link_dialog_de_modified.png added |
---|
Changed 15 years ago by
Attachment: | table_cell_dialog_de.png added |
---|
Changed 15 years ago by
Attachment: | table_cell_dialog_de_modified.png added |
---|
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Keywords: | Discussion added |
---|
It make sense to introduce an "auto-wrap" feature for dialog fields, the idea is that when dialog has a fixed size and thus is not big enough for horizontal label layout (e.g. when resized), input could wrap it self to form a layout same as if labelLayout : 'horizontal' is specified.
comment:3 Changed 15 years ago by
Component: | General → UI : Dialogs |
---|---|
Keywords: | Discussion removed |
KISS for now... let's simply fix the evident issues, rearranging the dialog structure.
I'm totally ok for the image dialog changes.
The cell properties dialog must definitely be reviewed, and have a new design just like we did for the table dialog. Basically, we should always try to have labels on top of the fields.
comment:4 Changed 15 years ago by
Milestone: | CKEditor 3.4 → CKEditor 3.5 |
---|
comment:5 Changed 14 years ago by
Milestone: | CKEditor 3.4.1 → CKEditor 3.5 |
---|
comment:6 Changed 14 years ago by
Owner: | set to Sa'ar Zac Elias |
---|---|
Status: | confirmed → assigned |
Changed 14 years ago by
Attachment: | 5587.patch added |
---|
comment:7 Changed 14 years ago by
Status: | assigned → review |
---|
I also included a fix for a small layout bug in which the choose color button had the wrong margin in the tableCell dialog in RTL UI.
Changed 14 years ago by
Attachment: | krst_14.35.24.png added |
---|
Table cell properties dialog box under Opera 10.61, CKE 3.4.1 Nightly
comment:9 Changed 14 years ago by
Status: | review → review_failed |
---|
The two color boxes looks really unhealthy as Krst pointed out, we should go with the following layout I think
[label]: [field][picker]
Changed 14 years ago by
Attachment: | 5587_2.patch added |
---|
comment:10 Changed 14 years ago by
Status: | review_failed → review |
---|
comment:11 Changed 14 years ago by
Status: | review → review_passed |
---|
comment:12 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | review_passed → closed |
Fixed with [5930].
comment:13 Changed 14 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
The last patch brought some regressions for IE7 and Quirks.
Changed 14 years ago by
Attachment: | 5587_3.patch added |
---|
comment:14 Changed 14 years ago by
Status: | reopened → review |
---|
comment:15 Changed 14 years ago by
Status: | review → review_failed |
---|
IE7 is the only browser that doesn't get applied the [defined left margin http://dev.fckeditor.net/browser/CKEditor/trunk/_source/plugins/tabletools/dialogs/tableCell.js#L486].
comment:16 Changed 14 years ago by
Other than any other issue, the mixed formatting we have after patch is NOT acceptable:
- Labels must be at the top of ALL fields, not only half of them.
- Spacing between fields must be coherent and the same in all cases (e.g. there is space between background and border color fields)
comment:17 Changed 14 years ago by
Owner: | Sa'ar Zac Elias deleted |
---|---|
Status: | review_failed → new |
As I don't have the same result as you all get, I'd better leave that ticket to someone else and confirm that it doesn't brake my side.
comment:18 Changed 14 years ago by
Status: | new → confirmed |
---|
Changed 14 years ago by
Attachment: | 5587_4.patch added |
---|
comment:19 Changed 14 years ago by
Owner: | set to Garry Yao |
---|---|
Status: | confirmed → review |
Changes to the dialog plugin are mandatory to make dialog body auto expands in IE7 while doesn't introduce any side effects for other browsers, note that now all browsers expect for IE quirks are now auto expanding.
comment:20 Changed 14 years ago by
Milestone: | CKEditor 3.5 → CKEditor 3.4.3 |
---|---|
Type: | Task → Bug |
comment:21 Changed 14 years ago by
Status: | review → review_failed |
---|
- Let's have the same width for the "width" and "height" fields in the cellProperties dialog.
- Also, the top margin that was added to the the buttons is only valid for Kama appearently, it doesn't look good on other skins.
Changed 14 years ago by
Attachment: | 5587_5.patch added |
---|
comment:22 Changed 14 years ago by
Status: | review_failed → review |
---|
We need to resort to skin part to resolve those issues from Saar.
Changed 14 years ago by
Attachment: | 2010-11-25-120436_474x356_scrot.png added |
---|
comment:23 Changed 14 years ago by
Status: | review → review_failed |
---|
Ive attached 2 screens from IE7 strict, one from LTR, second from RTL sample. Both contain an error.
Besides that, what with the Image dialog, it won't be included?
Changed 14 years ago by
Attachment: | 5587_6.patch added |
---|
comment:24 Changed 14 years ago by
Status: | review_failed → review |
---|
Updates in new patch:
- Have picker button fixed width as with footer buttons;
- Re-layouted "image" dialog.
comment:25 follow-up: 27 Changed 14 years ago by
Status: | review → review_failed |
---|
The file naming convention for the new CSS file is wrong. It must be all lowercased.
Ideally, we should not have plugin specific files inside skins. Even if not a big issue, if we do that now, it'll open a precedence for this, and we may start having several of these files there, which is wrong.
If a specific dialog element type is missing (in this case the button), the right approach would be instead creating the infrastructure to support this *generic* element. Right now it would be used by this dialog only, but it could be then easily reused by other dialogs.
But, aren't buttons already used in dialogs in that way?
comment:26 Changed 14 years ago by
Other than that, it's clear that the fields are not all left aligned in the Image dialog. Probably an old issue, but it's a fact.
comment:27 Changed 14 years ago by
Status: | review_failed → review |
---|
Replying to fredck:
Ideally, we should not have plugin specific files inside skins. Even if not a big issue, if we do that now, it'll open a precedence for this, and we may start having several of these files there, which is wrong.
I agree, but unfortunately there's currently no way of introduce plugin specific CSS without bloating dialog.css which just slows down dialog loading, this skin part hack was initially used in "templates" dialog to resolve such an embarrassment, but eventually we'll still need a solution for this.
Changed 14 years ago by
Attachment: | 5587_7.patch added |
---|
comment:28 Changed 14 years ago by
Status: | review → review_passed |
---|
comment:29 Changed 14 years ago by
Milestone: | CKEditor 3.4.3 → CKEditor 3.5 |
---|---|
Resolution: | → fixed |
Status: | review_passed → closed |
Fixed with [6137].
The attached images show the difference between how dialogs look right now and how they could look like.