Skip to content

[BUG] Watchlist clear confirmation dialog says "miner(s)" on every tab #910

@fansilas

Description

@fansilas

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

  1. Star a couple of items so they appear in the Watchlist (for example, two bounties).
  2. Open /watchlist?tab=bounties.
  3. Click the "Clear bounties" button in the toolbar.
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions