Closed Bug 1705934 Opened 4 years ago Closed 4 years ago

Rename selectPills(pill) to selectSiblingPills(pill)

Categories

(Thunderbird :: Message Compose Window, task)

Tracking

(thunderbird_esr78 wontfix, thunderbird89 wontfix)

RESOLVED FIXED
90 Branch
Tracking Status
thunderbird_esr78 --- wontfix
thunderbird89 --- wontfix

People

(Reporter: thomas8, Assigned: thomas8)

References

Details

Attachments

(1 file)

The function name of selectPills(pill) is irritating because there's no hint that this will select all the sibling pills (all pills in the row) rather than the pill(s) handed over in the argument.

Attached patch 1705934_selectSiblingPills.diff (deleted) — Splinter Review

Bug 1705934 - Rename selectPills(pill) to selectSiblingPills(pill). r=aleca

  • I moved selectSiblingsPills() before selectAllPills() to maintain a logical order when we'll soon have deselectAllPills() from bug 1663062. Pls note there might be some diff artifacts from this move because the functions are so similar.
  • Also corrected and improved some related function comments (like the false claim that the pill handed over to the function is the focus pill).
Assignee: nobody → bugzilla2007
Status: NEW → ASSIGNED
Attachment #9216624 - Flags: review?(alessandro)
Comment on attachment 9216624 [details] [diff] [review] 1705934_selectSiblingPills.diff Review of attachment 9216624 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, thanks.
Attachment #9216624 - Flags: review?(alessandro) → review+

Thanks for the review!

Target Milestone: --- → 90 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/865b1ee82cfb
Rename selectPills(pill) to selectSiblingPills(pill). r=aleca

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: