Summary
The "Clear" button on the Watchlist page opens a confirmation dialog whose title is hard-coded to "miner(s)" no matter which tab is active. On the Repositories, Bounties, Pull Requests, and Issues tabs the title reads the wrong noun, while the button inside the same dialog already pluralizes correctly per tab.
Steps to Reproduce
- Star a couple of items so they appear in the Watchlist (for example, two bounties).
- Open
/watchlist?tab=bounties.
- Click the "Clear bounties" button in the toolbar.
- Look at the dialog title.
Expected Behavior
The title reflects the active tab, for example:
- "Clear all 2 pinned bounties?"
- "Clear all 5 pinned repositories?"
- "Clear all 1 pinned pull request?"
- "Clear all 3 pinned issues?"
Actual Behavior
The title always reads:
Clear all N pinned miner(s)?
The button below it correctly says "Clear bounties" / "Clear repositories" / etc., so the dialog contradicts itself.
Summary
The "Clear" button on the Watchlist page opens a confirmation dialog whose title is hard-coded to "miner(s)" no matter which tab is active. On the Repositories, Bounties, Pull Requests, and Issues tabs the title reads the wrong noun, while the button inside the same dialog already pluralizes correctly per tab.
Steps to Reproduce
/watchlist?tab=bounties.Expected Behavior
The title reflects the active tab, for example:
Actual Behavior
The title always reads:
The button below it correctly says "Clear bounties" / "Clear repositories" / etc., so the dialog contradicts itself.