Skip to content

mark-pinned but for locked issues #9987

Closed

Description

@fregante

Description

We have locked-issue that adds a label to the individual issue's header. This feature would instead add a lock icon or marker to the lists

  • The code most likely looks like mark-merge-commits-in-list
  • Style probably like mark-pinned, without highlight. TBD

See #9663 for more info on what doesn't work (namely an icon before the title).

Alternative could also be a (locked) pill style on the list but it would not be that noticeable.

Example URLs

https://github.com/refined-github/refined-github/issues?q=generated%20is%3Apr%20sort%3Acomments-asc

Activity

  1. added
    small
    on Aug 19, 2026
  2. driveadityayadav18-art commented on Aug 22, 2026

    @driveadityayadav18-art
  3. sujal-17-nagpal commented on Sep 1, 2026

    @sujal-17-nagpal
  4. Mihir4921 commented on Sep 13, 2026

    @Mihir4921
    Contributor

    I put together a working prototype and tried a few ways of showing the locked state:

    • Replace the existing state icon with a lock, similar to mark-pinned. This is very noticeable, but it removes the issue/PR distinction from the icon.
    • Overlay a small lock on the existing state icon. This preserves the original issue/PR + state information, but some placements can feel a little cramped.
    • Place a small lock below the existing state icon. This also preserves the original icon and keeps the two signals visually separate.

    Since the styling is still TBD, is there a direction you’d prefer for this?

  5. fregante commented on Sep 13, 2026

    @fregante
    MemberAuthor

    It turns out we also have joint icons:

    Replacing the icons would hide the state (open, closed, merged, draft) but it would remain visible by color (similar reasoning to mark-pinned, except we wouldn't have a highlight.

    This would be preferred over your first two suggestions.

    I'd try with your third one, the only concern is getting it right in regards to spacing and positioning. Can you try it? Make sure to only support the issue list and new/preview PR list, I don't want new features on deprecated views.

  6. Mihir4921 commented on Sep 13, 2026

    @Mihir4921
    Contributor

    Tried the third option in both supported views. The existing state/type icon stays unchanged, with a 12px muted lock centered underneath it.

    I checked it on the current issue list and the new/preview PR list, including open/closed/merged/draft states. The spacing/positioning looks good in both, and unlocked rows remain untouched.

    The selectors are limited to those two current views, so deprecated list views aren’t targeted.

    I couldn’t attach screenshots here, but I tested it on:

  7. fregante commented on Sep 13, 2026

    @fregante
    MemberAuthor

    You can just open a PR, but you must take screenshots

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

    acceptedenhancementsmall

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions