Skip to content

mark-locked - Restore feature - #10291

Merged
fregante merged 4 commits into
mainfrom
claude/mark-locked
Oct 25, 2026
Merged

fregante merged 4 commits into
mainfrom
claude/mark-locked

Conversation

@fregante

@fregante fregante commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

Created by Claude, will be reviewed by @fregante first.

Part of #10253.

Test URLs

https://github.com/refined-github/sandbox/issues?q=locked
https://github.com/refined-github/sandbox/pulls?q=locked
https://github.com/refined-github/sandbox/issues?q=long%20title (check together with mark-pinned)

Checked

The state icon lookup used the old LeadingVisual class prefix, so the lock was never added even when the title link matched. It now finds the icon next to the title container.

  • Logged out, /pulls?q=locked with the built extension: both locked PRs get the lock icon, the unlocked one doesn't (0 before).
  • Not checked: /issues (client-rendered, needs login) and the logged-in markup. Reviewer: please check /issues?q=locked.

@fregante fregante changed the title mark-locked - Update title link selectors mark-locked - Restore feature Oct 20, 2026
@github-actions github-actions Bot added the bug label Oct 20, 2026
@fregante

Copy link
Copy Markdown
Member Author

No luck, all broken.

/issues

<div class="container__mDVuhO" data-listview-item-title-container="true">
	<h4 class="heading__fzQskI">
		<a class="anchor__PSAOdR inline__z8HXmA titleLink__-u2mid inlineCodeTitle__kWY7pC rgh-seen-2340407360 rgh-seen-2340292040 rgh-seen-2340289157" href="https://github.com/refined-github/sandbox/pull/48" data-hovercard-url="/refined-github/sandbox/pull/48/hovercard" data-hovercard-type="pull_request" octo-click="hovercard-link-click" octo-dimensions="link_type:self" aria-keyshortcuts="Alt+ArrowUp" data-testid="listitem-title-link" tabindex="-1">
			<span>
				<span class="prc-Text-Text-9mHv3" data-component="Text">Locked PR</span>
			</span>
		</a>
	</h4>
	<span class="trailingBadgesSpacer__YtV8rh"></span>
	<span class="trailingBadgesContainer__4AEjpg"></span>
</div>

/pulls

<li id="_R_6eio5_-list-view-node-_R_7ueio5_" class="listItem__X41oTe listItem__97ykKy" tabindex="0" aria-label="Merged locked PR into non-default. More information available below.">
	<div class="container__mDVuhO" data-listview-item-title-container="true">
		<h4 class="heading__fzQskI">
			<a class="anchor__PSAOdR inline__z8HXmA titleLink__-u2mid inlineCodeTitle__kWY7pC rgh-seen-2340407360 rgh-seen-2340292040 rgh-seen-2340289157" href="https://github.com/refined-github/sandbox/pull/166" data-hovercard-url="/refined-github/sandbox/pull/166/hovercard" data-hovercard-type="pull_request" octo-click="hovercard-link-click" octo-dimensions="link_type:self" aria-keyshortcuts="Alt+ArrowUp" data-testid="listitem-title-link" tabindex="-1">
				<span>
					<span class="prc-Text-Text-9mHv3" data-component="Text">Merged locked PR into non-default</span>
				</span>
			</a>
		</h4>
		<span class="trailingBadgesSpacer__YtV8rh"></span>
		<span class="trailingBadgesContainer__4AEjpg"></span>
	</div>
	<div class="container__qJ5_i3">
		<input type="checkbox" aria-required="false" aria-invalid="false" aria-disabled="false" aria-label="Select: Merged locked PR into non-default" data-listview-component="selection-input" data-component="Checkbox" class="checkbox__1J-nJk prc-Checkbox-Input-lWIkv prc-Checkbox-Checkbox-jjOgT" aria-checked="false" tabindex="-1">
	</div>
	<div class="container__Woawlr isSelectable__Xu5Fva">
		<div class="outer__GxZvDe" style="--leadingVisual-size-default:16px;--leadingVisual-size-narrow:16px;--leadingVisual-size-regular:16px;--leadingVisual-size-wide:16px;--leadingVisual-marginTop-default:14px;--leadingVisual-marginTop-narrow:14px;--leadingVisual-marginTop-regular:14px;--leadingVisual-marginTop-wide:14px">
			<div>
				<div class="inner__BgjhSm">
					<span style="display:inline-flex;align-items:center">
						
					</span>
				</div>
			</div>
		</div>
	</div>
	<div class="container__VGL_Vt authorAssociationMainContent__fPQBaX">
		<div class="inner__Rm1Enx">
			<div class="container__W45oI6 description__mZjLFE">
				<span>
					<span>
						#<!-- -->
						166
					</span>
				</span>
				<span data-testid="timestamp-container">
					<span class="timestampSeparator__CQkME0" aria-hidden="true">·</span>
					<span>by </span>
					<a class="filterLink__OXCGsP Link__H3GvIl rgh-seen-2340256483 rgh-seen--1860304295 rgh-own-conversation rgh-seen-5199172423 d-inline-block lh-condensed-ultra" data-testid="author-filter-link" aria-label="Filter by author fregante" href="/refined-github/sandbox/pulls?q=sort%3Aupdated-desc+locked+author%3Afregante+" data-discover="true" tabindex="-1" data-original-href="https://github.com/refined-github/sandbox/pulls?q=locked+author%3Afregante">
						<img class="avatar avatar-user rgh-small-user-avatars v-align-text-bottom mr-1 tmp-mr-1" src="https://github.com/fregante.png?size=28" width="14" height="14" loading="lazy">
						fregante
					</a>
					<span> was merged </span>
					<relative-time data-component="RelativeTime" datetime="2026-09-15T07:49:20.000Z" title="Sep 15, 2026 at 2:49 PM GMT+7">Sep 15, 2026</relative-time>
				</span>
				<span class="metadataGroup__7ts0Sx">
					<span class="prc-Label-Label-qG-Zu rgh-seen-2340235341" data-size="small" data-variant="secondary" data-testid="comment-author-association" aria-label="This user is a member of the refined-github organization." aria-describedby="_R_3inueio5_" data-component="Label">Member</span>
				</span>
			</div>
		</div>
	</div>
	<div class="container__1MF1B1"></div>
</li>

@fregante
fregante marked this pull request as ready for review October 25, 2026 11:57
@fregante

Copy link
Copy Markdown
Member Author
Screenshot

@fregante
fregante merged commit 3b3a5f0 into main Oct 25, 2026
21 checks passed
@fregante
fregante deleted the claude/mark-locked branch October 26, 2026 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant