Closed
Bug 1696692
Opened 4 years ago
Closed 4 years ago
Improve Ctrl+A/Cmd+A pill selection code and behaviour
Categories
(Thunderbird :: Message Compose Window, enhancement)
Thunderbird
Message Compose Window
Tracking
(thunderbird_esr78 wontfix)
RESOLVED
FIXED
88 Branch
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | wontfix |
People
(Reporter: thomas8, Assigned: thomas8)
References
Details
(Keywords: ux-efficiency, ux-error-prevention)
Attachments
(1 file)
2.88 KB,
patch
|
aleca
:
review+
|
Details | Diff | Splinter Review |
Let's improve code and behaviour of Ctrl/Cmd+A to select pills in composition.
- We should use early return/break wherever possible, for clarity and less indent.
- We should not trigger pill selection for Control+A on MAC, because that's an OS shortcut for other stuff.
- We should not trigger pill selection for Ctrl+Alt+A on Windows/Linux (even though that custom OS-level shortcut for starting an app of your choice will override us).
- Ctrl/Cmd+A on an empty address row should helpfully select all pills of all other rows instead of doing nothing. Common scenario e.g. when you have auto-CC/BCC, start with empty To, but don't want the auto-CC this time. Having to focus CC first is needlessly clumsy with an extra step. There's no reason to press Ctrl/Cmd+A on an empty row unless you actually intend to select something, and the only thing around is those other pills.
Assignee | ||
Comment 1•4 years ago
|
||
This implements the improvements listed in comment 0.
Attachment #9207189 -
Flags: review?(alessandro)
Assignee | ||
Updated•4 years ago
|
Status: NEW → ASSIGNED
Comment 2•4 years ago
|
||
Comment on attachment 9207189 [details] [diff] [review]
1696692_pills-ctrl+a.diff
Review of attachment 9207189 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, thanks.
Attachment #9207189 -
Flags: review?(alessandro) → review+
Assignee | ||
Updated•4 years ago
|
Keywords: checkin-needed-tb,
ux-error-prevention
Updated•4 years ago
|
Target Milestone: --- → 88 Branch
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/0870a62e5554
Improve Ctrl+A/Cmd+A pill selection code and behaviour. r=aleca
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/8154af68f1e1
followup - fix linting. rs=eslint DONTBUILD
Updated•4 years ago
|
status-thunderbird_esr78:
--- → wontfix
You need to log in
before you can comment on or make changes to this bug.
Description
•