Skip to content

Should Subscribe reason be hidden in Sidebar? #2269

Closed

Description

@trivikr

Issue

The feature clean-sidebar hides the subscribe reason in the code below:
https://github.com/sindresorhus/refined-github/blob/4bc3f3aa213de18d89c32df454957752400f249f/source/features/clean-sidebar.css#L6-L9

Screenshots

  • UX (without refined-github on left, and with refined-github on right)
    BeforeAfter

  • DevTools
    DevTools

Expected behavior

  • Power GitHub users who use refined-github extension are subscribed to multiple issues and might want to know the reason why they're subscribed to particular issue in order to decide if they want to Unsubscribe. The reason shown below Unsubcribe button is helpful.
  • clean-sidebar feature description states Hide all empty sections (or just their "empty" label) in the discussion sidebar. As per description, it shouldn't hide non-empty reason for subscription.

Activity

  1. trivikr commented on Jul 26, 2019

    @trivikr
    ContributorAuthor

    What do you feel about showing reason in sidebar?

    As of now, I'm overriding this behavior by writing following custom CSS in my extension:

    .sidebar-notifications .reason {
    	display: inline-block !important;
    }
  2. trivikr commented on Jul 30, 2019

    @trivikr
    ContributorAuthor

    Any update on this request?

    Can we at least move the following CSS to a new feature (say hide-subscription-reason) so that it doesn't break existing users? https://github.com/sindresorhus/refined-github/blob/4bc3f3aa213de18d89c32df454957752400f249f/source/features/clean-sidebar.css#L6-L9

    The users who like to see the subscription reason will just be able to disable that feature, without affecting other clean-sidebar features

  3. trivikr commented on Aug 2, 2019

    @trivikr
    ContributorAuthor
  4. fregante commented on Aug 2, 2019

    @fregante
    Member

    This is not big enough to justify a whole feature for it. Either it goes or it stays and you keep the CSS in the Custom CSS field.

    cc @sindresorhus

  5. fregante commented on Aug 2, 2019

    @fregante
    Member

    The copy looks a bit messy there with the Mark as unread button but perhaps it can be moved above Subscribe via flexbox

  6. trivikr commented on Aug 5, 2019

    @trivikr
    ContributorAuthor

    This is how "Mark as unread" button will look like if moved above Subscribe
    Screen Shot 2019-08-05 at 7 18 47 AM

  7. fregante commented on Aug 6, 2019

    @fregante
    Member

    I meant the copy can be moved above the subscribe button:

    subscribe reason
    [unsubscribe button]
    [mark as unread button]

  8. trivikr commented on Aug 6, 2019

    @trivikr
    ContributorAuthor

    Screenshot as per suggestion from @fregante
    Screen Shot 2019-08-05 at 11 14 12 PM

  9. sindresorhus commented on Aug 8, 2019

    @sindresorhus
    Member

    Sure, we can bring back the subscribe reason.

  10. trivikr commented on Aug 8, 2019

    @trivikr
    ContributorAuthor

    Sure, we can bring back the subscribe reason.

    Cool! Where should the subscribe reason be placed?

    1. Original location (below Subscribe/Unsubscribe button)
      61831574-0dcae580-ae23-11e9-96bd-0fe3dd060800

    2. Original location, with "Mark as Unread" button moved to top
      62471344-636f8e00-b751-11e9-998d-7e1415c77e93

    3. New location, above Subcribe/Unsubscribe button
      62515316-d838db80-b7d6-11e9-8e02-17b6188ba8ca

    My vote goes for 2, as it's minimal changes from the default behavior from UX perspective

  11. fregante commented on Aug 8, 2019

    @fregante
    Member

    I think 3 is best. We shouldn't flip the two buttons like in 2, especially because Mark as unread is added later so it will replace Unsubscribe (causing possible mis-clicks)

  12. added
    small
    on Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedchange requestsmall

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions