Skip to content

Customize issue/PR subscriptions in 1-click #3005

Closed

Description

@fregante

Try subscribing to this issue’s closure, it takes 4 clicks. Can this be reduced to 1 click?

Examples:

group icons

Or 3 clicks 😬 (but nearer/easier)

Dropdown demo code
<details class="details-reset details-overlay" open="">
  <summary aria-haspopup="true" class="btn btn-block btn-sm thread-subscribe-button">
	{unmuteIcon()} Subscribe
  </summary>
  <div class="SelectMenu right-0">
    <div class="SelectMenu-modal">
      <header class="SelectMenu-header">
        <h3 class="SelectMenu-title">Customize</h3>
        <button class="SelectMenu-closeButton" type="button">
          {xIcon()} 
        </button>
      </header>
      <div class="SelectMenu-list">
        <button class="SelectMenu-item" role="menuitemcheckbox">
          {checkIcon()} Unsubscribed
        </button>
        <button class="SelectMenu-item" role="menuitemcheckbox">
          {checkIcon()} All notifications
        </button>
        <button class="SelectMenu-item" role="menuitemcheckbox">
          {checkIcon()} Merged
        </button>
        <button class="SelectMenu-item" role="menuitemcheckbox">
          {checkIcon()} Closed
        </button>
        <button class="SelectMenu-item" role="menuitemcheckbox">
          {checkIcon()} Reopened
        </button>
      </div>
    </div>
  </div>
</details>

Activity

  1. fregante commented on Apr 15, 2020

    @fregante
    MemberAuthor

    Keeping the "Custom" section always open would also bring it down to 3 clicks:

    1. Customize
    2. Closed
    3. Save
  2. fregante commented on Sep 25, 2020

    @fregante
    MemberAuthor

    I think a relatively-easy compromise would be to add a button that subscribes you to status changes only (closed, merged, reopened) in one click

    At the very least, it can just exist and be able to submit the form.

    As an improvement, it could show a pressed+disabled style if the current subscription settings are exactly merged, closed, reopened

    Any other options and the ability to undo this are available in the Customize modal anyway.

  3. fregante commented on Mar 10, 2021

    @fregante
    MemberAuthor

    I’d rather see the one-click alternative I mentioned in my last comment. DOM-wise is just a button and a groupButtons() call.

  4. added
    Please! ♥︎
    on Jun 5, 2022
  5. changed the title [-]Customize subscriptions in 1-click[/-] [+]Customize issue/PR subscriptions in 1-click[/+] on Oct 19, 2022
  6. self-assigned this
    on Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Please! ♥︎acceptedenhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions