Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 11 additions & 14 deletions source/features/parse-backticks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,43 +8,38 @@ import {parseBackticks} from '../github-helpers/dom-formatters.js';
const selectors = [
// `isRepoHome` repository description
// https://github.com/refined-github/sandbox
'.BorderGrid--spacious .f4.my-3',
'.Layout-sidebar .f4.my-3',

// `isCommitList` commit description
// https://github.com/refined-github/sandbox/commits/buncha-files/
'.js-commits-list-item pre',
'.extended-commit-description-container',

// `isPRConversation` commit description
// https://github.com/refined-github/sandbox/pull/55#commits-pushed-d4852bb
'.js-commit-group pre',
'.TimelineItem-body pre',

// `isReleasesOrTags` Headers
// TODO: Fix. Not working
// https://github.com/refined-github/sandbox/releases/tag/cool
'.release-header',
'.Box-body h1',
Comment thread
fregante marked this conversation as resolved.

// `isCompare` with existing PR
// https://github.com/refined-github/sandbox/compare/shorten-links
'.Box-row .mb-1 a',

// https://github.com/refined-github/refined-github/pulse
'#pull-requests a.Link--primary',

// https://github.com/refined-github/refined-github/actions
'[id^="check_suite"] a.Link--primary',
'react-app[app-name="repos-pulse"] a.markdown-title',

// https://github.com/refined-github/refined-github/actions/runs/6063125869
'.js-socket-channel[data-url*="/header_partial"] h3',
Comment on lines 32 to 33
Copy link
Copy Markdown
Member Author

@SunsetTechuila SunsetTechuila Feb 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what this supposed to select


'.js-wiki-sidebar-toggle-display a', // `isWiki` sidebar pages title
'#wiki-wrapper .gh-header-title', // `isWiki` page title

// https://github.com/orgs/refined-github
'.repo-list [itemprop="description"]',
// https://github.com/orgs/refined-github/repositories
'#user-repositories-list [itemprop="description"]',

// Hovercard
// https://github.com/refined-github/sandbox/issues/72
'.js-hovercard-content > .Popover-message .Link--primary',
'.repos-list-description',

// `isGlobalSearchResults` search titles
// https://github.com/search?q=org%3Arefined-github+testing&type=pullrequests
Expand All @@ -55,7 +50,9 @@ const selectors = [

// Dashboard
// https://github.com
'[class^="DashboardListView-module__ItemTitle"]',
'a[class^="DashboardListView-module__ItemTitle"]',
// https://github.com/orgs/refined-github/dashboard
'.js-feed-item-component h3 > .Link--primary',
Comment thread
SunsetTechuila marked this conversation as resolved.
] as const;

function initOnce(): void {
Expand Down
Loading