Opened 17 years ago
Closed 14 years ago
#3489 closed enhancement (fixed)
JS AYS prompts need to be standardized
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.9 | Priority: | normal |
Severity: | normal | Version: | 2.1 |
Component: | UI | Keywords: | has-patch |
Focuses: | Cc: |
Description
The JS AYS prompts throughout WordPress could use some love. They're cramped and inconsistently presented.
Suggested format:
- Drop the periods
- Change the line breaks to double line breaks, so that there is distinction between the line that tells you what is about to happen and the line that tells you how you can cancel or proceed.
- Single quotes around %s items and Cancel/OK
Example result:
You are about to delete this comment by 'Mary Smith' 'Cancel' to stop, 'OK' to delete
The only thing I really feel strongly about is the whitespace (it really, really helps with readability)... the other things just bother me because they're inconsistent.
Attachments (1)
Change History (8)
#2
in reply to:
↑ 1
@
17 years ago
Replying to Viper007Bond:
Why single quote? I kinda prefer double myself.
The best way to get people to express an opinion on what X should be is to tell them that X should be Y. That, and doing doublequotes in this context requires "e;
or \"
which makes for somewhat ugly code. But if double quotes are the preferred result, so be it. Consistency is my main goal.
#6
@
14 years ago
- Component changed from Administration to UI
- Keywords has-patch added
- Milestone changed from Future Release to 2.9
As far as I can see, with the trash system in place, only the link manager has these prompts. With the exception of the double line break, all other suggestions have got in anyway.
Patch adds the extra line break for the link manager delete option - assuming this is remaining in 2.9 - I would agree the readability is improved.
Why single quote? I kinda prefer double myself.
Dunno about the periods either, but I like the double line break.