This is pretty useful when the widget allows you to add arbitrary values. If you make a typo you have to remove the capsule and re-type it.
Description
Details
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| CapsuleWidgets: Edit on click and remove on Ctrl+Backspace | oojs/ui | master | +39 -13 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T119044 TagMultiselectWidget (earlier CapsuleMultiselectWidget): UX and functionality improvements | |||
| Resolved | • Prtksxna | T119046 Allow editing of Capsules in CapsuleMultiSelectWidget by clicking on them |
Event Timeline
T121201 is related. Perhaps pressing Backspace should enter this editing mode instead of just deleting a capsule, and to actually delete one you'd have to remove all of its text?
See T119045: Make CapsuleMultiSelectWidget keyboard accessible. It doesn't address the backspace throttling problem though.
I do like the idea of entering edit when you hit backspace, one doesn't usually want to remove the category they just added. They can also use OS specific keyboard shortcuts (⌘/⌥ + Backspace), to remove the entire category if that is what they really wanted to do.
Oh, that'd be neat. On PC, I think Ctrl+Backspace is a common shortcut to
delete a whole word, we could use that.
Change 268076 had a related patch set uploaded (by Prtksxna):
CapsuleWidgets: Edit on click and remove on Ctrl Backspace
Change 268076 merged by jenkins-bot:
CapsuleWidgets: Edit on click and remove on Ctrl Backspace