We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isBlank
1 parent c0385b8 commit f92d888Copy full SHA for f92d888
index.ts
@@ -340,6 +340,8 @@ export const isEmptyRepoRoot = (): boolean => isRepoHome() && !exists('link[rel=
340
341
export const isEmptyRepo = (): boolean => exists('[aria-label="Cannot fork because repository is empty."]');
342
343
+export const isBlank = (): boolean => exists('main .blankslate');
344
+
345
export const isRepoTaxonomyConversationList = (url: URL | HTMLAnchorElement | Location = location): boolean => /^labels\/.+|^milestones\/\d+(?!\/edit)/.test(getRepo(url)?.path!);
346
collect.set('isRepoTaxonomyConversationList', [
347
'https://github.com/sindresorhus/refined-github/labels/bug',
0 commit comments