diff --git a/build/__snapshots__/features-meta.json b/build/__snapshots__/features-meta.json new file mode 100644 index 00000000000..c790dfb0554 --- /dev/null +++ b/build/__snapshots__/features-meta.json @@ -0,0 +1,937 @@ +[ + { + "description": "Adds a link back to the PR that ran the workflow.", + "id": "action-pr-link", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/50487467/241645264-076a0137-36a2-4fd0-a66e-735ef3b3a563.png", + }, + { + "description": "Lets you see how others are using the current Action in the Marketplace.", + "id": "action-used-by-link", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/258552390-7d2cd013-c167-4fe5-9731-33622b8607e9.png", + }, + { + "description": "Points the \"View file\" on PRs to the branch instead of the commit, so the Edit/Delete buttons will be enabled on the \"View file\" page.", + "id": "actionable-pr-view-file", + "screenshot": "https://user-images.githubusercontent.com/1402241/69044026-c5b17d80-0a26-11ea-86ae-c95f89d3669a.png", + }, + { + "description": "In conversation lists, aligns the labels to the left, below each title.", + "id": "align-issue-labels", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/261160640-28ae4f12-0e95-4db5-a79c-e89ae523a4d0.png", + }, + { + "description": "Helps you find forks on archived repos.", + "id": "archive-forks-link", + "screenshot": "https://user-images.githubusercontent.com/1402241/230362566-12493c80-bffe-4c7a-b9ba-4a11b1358ab0.png", + }, + { + "description": "Disables the enter-to-submit shortcut in some commit/PR/issue title fields to avoid accidental submissions. Use ctrl enter instead.", + "id": "avoid-accidental-submissions", + "screenshot": "https://user-images.githubusercontent.com/723651/125863341-6cf0bce0-f120-4cec-ac1f-1ce35920e7a7.gif", + }, + { + "description": "Mark/unmark multiple files as “Viewed” in the PR Files tab. Click on the first checkbox you want to mark/unmark and then shift-click another one; all the files between the two checkboxes will be marked/unmarked as “Viewed”.", + "id": "batch-mark-files-as-viewed", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/140871606/257009611-17249bee-d2e2-42ac-bdf0-ebc90029544e.gif", + }, + { + "description": "Adds a \"Bugs\" tab to repos, if there are any open issues with the \"bug\" label.", + "id": "bugs-tab", + "screenshot": "https://user-images.githubusercontent.com/46634000/156766081-f2ea100b-a9f3-472b-bddc-a984a88ddcd3.png", + }, + { + "description": "Adds a build/CI status icon next to the repo’s name.", + "id": "ci-link", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/1402241/237923995-5e14a272-0bf2-4fe4-b409-8c05378aa4fd.png", + }, + { + "description": "Hides Projects and Milestones filters in conversation lists if they are empty.", + "id": "clean-conversation-filters", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/262557246-4ef1c702-eece-4701-9000-0aad21c54c1b.png", + }, + { + "description": "Removes duplicate information in the header of issues and PRs (\"User wants to merge X commits from Y into Z\")", + "id": "clean-conversation-headers", + "screenshot": "https://user-images.githubusercontent.com/44045911/112314137-a34b0680-8ce3-11eb-9e0e-8afd6c8235c2.png", + }, + { + "description": "Hides empty sections (or just their \"empty\" label) in the conversation sidebar.", + "id": "clean-conversation-sidebar", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/253054419-48c38c01-b1dc-42ca-9ff6-fd63392b5921.png", + }, + { + "description": "Changes the layout of pinned issues from side-by-side to a standard list.", + "id": "clean-pinned-issues", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/258224321-e8ee8c70-6952-4a42-8626-6b5f31d167a3.png", + }, + { + "description": "Drops redundant \"readme-ov-file\" parameter from repo URLs.", + "id": "clean-readme-url", + "screenshot": "https://github.com/refined-github/refined-github/assets/1402241/73e96411-3314-4501-a9b6-d006af6fcc47", + }, + { + "description": "Makes some buttons on repository lists more compact to make room for other features.", + "id": "clean-repo-filelist-actions", + "screenshot": "https://user-images.githubusercontent.com/1402241/108955170-52d48080-7633-11eb-8979-67e0d3a53f16.png", + }, + { + "description": "Removes unnecessary or redundant information from the repository sidebar.", + "id": "clean-repo-sidebar", + "screenshot": "https://user-images.githubusercontent.com/46634000/107955448-18694480-6f9e-11eb-8bc6-80cc90d910bc.png", + }, + { + "description": "Moves the \"Security\" and \"Insights\" to the repository navigation dropdown. Also moves the \"Projects\", \"Actions\" and \"Wiki\" tabs if they're empty/unused.", + "id": "clean-repo-tabs", + "screenshot": "https://user-images.githubusercontent.com/16872793/124681343-4a6c3c00-de96-11eb-9055-a8fc551e6eb8.png", + }, + { + "description": "Hides unnecessary comment field tooltips and toolbar items (each one has a keyboard shortcut.)", + "id": "clean-rich-text-editor", + "screenshot": "https://user-images.githubusercontent.com/46634000/158201651-7364aba7-f9d0-4a51-89c4-2ced0cc34e48.png", + }, + { + "description": "Clears the PR merge commit message of clutter, leaving only deduplicated co-authors.", + "id": "clear-pr-merge-commit-message", + "screenshot": "https://user-images.githubusercontent.com/1402241/79257078-62b6fc00-7e89-11ea-8798-c06f33baa94b.png", + }, + { + "description": "Lets you \"close issue as unplanned\" in one click instead of three.", + "id": "close-as-unplanned", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/1402241/279745773-709cde60-c26a-4a0e-89e1-56444d25ebdf.png", + }, + { + "description": "Automatically closes dropdown menus when they’re no longer visible.", + "id": "close-out-of-view-modals", + "screenshot": "https://user-images.githubusercontent.com/1402241/37022353-531c676e-2155-11e8-96cc-80d934bb22e0.gif", + }, + { + "description": "Shows the first Git tag a merged PR was included in or suggests creating a release if not yet released.", + "id": "closing-remarks", + "screenshot": "https://user-images.githubusercontent.com/1402241/169497171-85d4a97f-413a-41b4-84ba-885dca2b51cf.png", + }, + { + "description": "Adds a button to insert collapsible content (via <details>).", + "id": "collapsible-content-button", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/260875648-bd495d27-4cd1-4190-bcc5-b8b476f07d39.png", + }, + { + "description": "Adds keyboard shortcuts to select items in command palette using ctrl n and ctrl p (macOS only).", + "id": "command-palette-navigation-shortcuts", + "screenshot": undefined, + }, + { + "description": "Adds a shortcut to edit your last comment: . (Only works in the following comment field, if it’s empty.)", + "id": "comment-fields-keyboard-shortcuts", + "screenshot": undefined, + }, + { + "description": "Reminds you you’re commenting on a draft PR by changing the submit button’s label.", + "id": "comment-on-draft-pr-indicator", + "screenshot": "https://user-images.githubusercontent.com/34235681/152473140-22b6eb86-3ef4-4104-af10-4a659d878f91.png", + }, + { + "description": "Adds links to browse the repository and linked files at the time of each comment.", + "id": "comments-time-machine-links", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/252749373-9313f1d9-3d92-44a2-a1d1-2b49a29e6a5c.png", + }, + { + "description": "Shows which PRs have conflicts in PR lists.", + "id": "conflict-marker", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/253128438-d67c8f49-44f1-4e15-9363-a717109fef39.png", + }, + { + "description": "Lets you hide every event except comments or unresolved comments in issues and PRs.", + "id": "conversation-activity-filter", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/252116522-053bce84-5c55-477b-8cc2-42a48104fb02.png", + }, + { + "description": "Adds a link to the issues and pulls on the user profile repository tab and global search.", + "id": "conversation-links-on-repo-lists", + "screenshot": "https://user-images.githubusercontent.com/16872793/78712349-82c54900-78e6-11ea-8328-3c2d39a78862.png", + }, + { + "description": "Moves the \"Convert PR to Draft\" button to the mergeability box and adds visual feedback to its confirm button.", + "id": "convert-pr-to-draft-improvements", + "screenshot": "https://user-images.githubusercontent.com/1402241/95644892-885f3f80-0a7f-11eb-8428-8e0fb0c8dfa5.gif", + }, + { + "description": "Adds a button to convert a release to draft.", + "id": "convert-release-to-draft", + "screenshot": "https://user-images.githubusercontent.com/46634000/139236979-44533bfd-5c17-457d-bdc1-f9ec395f6a3a.png", + }, + { + "description": "Enhances the y hotkey to also copy the permalink.", + "id": "copy-on-y", + "screenshot": undefined, + }, + { + "description": "Adds a keyboard shortcut to create a new release while on the Releases page: c.", + "id": "create-release-shortcut", + "screenshot": undefined, + }, + { + "description": "Adds a line-through to the deleted branches in PRs.", + "id": "cross-deleted-pr-branches", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/140871606/256963526-646ac7d0-3e7f-40c6-ba39-014b49bc0063.png", + }, + { + "description": "When exploring blames, Alt-clicking the “Reblame” buttons will extract the associated PR’s commits first, instead of treating the commit as a single change.", + "id": "deep-reblame", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/140871606/257035884-732ee7ff-22c5-4049-af7d-f11117d2bbe4.png", + }, + { + "description": "Adds a link to the default branch on directory listings and files.", + "id": "default-branch-button", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/252176294-9130783c-51aa-4df9-9c35-9b87c179199a.png", + }, + { + "description": "Dims commits and PRs by bots to reduce noise.", + "id": "dim-bots", + "screenshot": "https://user-images.githubusercontent.com/1402241/220607557-f8ea0863-f05b-48c8-a447-1fec42af0afd.gif", + }, + { + "description": "Adds a button to download entire folders, via https://download-directory.github.io.", + "id": "download-folder-button", + "screenshot": "https://user-images.githubusercontent.com/46634000/158347358-49234bb8-b9e6-41be-92ed-c0c0233cbad2.png", + }, + { + "description": "Enables toggling commit messages by clicking on the commit box.", + "id": "easy-toggle-commit-messages", + "screenshot": "https://user-images.githubusercontent.com/1402241/152121837-ca13bf8a-9b7f-4517-8e8d-b58bb135523b.gif", + }, + { + "description": "Enables toggling file diffs by clicking on their header bar.", + "id": "easy-toggle-files", + "screenshot": "https://user-images.githubusercontent.com/47531779/99855419-be173e00-2b7e-11eb-9a55-0f6251aeb0ef.gif", + }, + { + "description": "Embeds short gists when linked in comments on their own lines.", + "id": "embed-gist-inline", + "screenshot": "https://user-images.githubusercontent.com/1402241/152117903-80d784d5-4f43-4786-bc4c-d4993aec5c79.png", + }, + { + "description": "Adds a menu item to embed a gist via <iframe>.", + "id": "embed-gist-via-iframe", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/258553891-a55a3bc0-f244-421b-a24c-6f1d4a92552e.png", + }, + { + "description": "Makes it easier to distinguish draft PR in lists.", + "id": "emphasize-draft-pr-label", + "screenshot": "https://user-images.githubusercontent.com/1402241/218252438-062a1ab3-4437-436d-9140-87bee23aaefb.png", + }, + { + "description": "Adds a shortcut to cancel editing a conversation title: esc.", + "id": "esc-to-cancel", + "screenshot": "https://user-images.githubusercontent.com/35100156/98303086-d81d2200-1fbd-11eb-8529-70d48d889bcf.gif", + }, + { + "description": "Adds a keyboard shortcut to deselect the current line: esc.", + "id": "esc-to-deselect-line", + "screenshot": undefined, + }, + { + "description": "On long conversations where GitHub hides comments under a \"N hidden items. Load more...\", alt-clicking it will load up to 200 comments at once instead of 60.", + "id": "expand-all-hidden-comments", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/261160123-9c4f894b-38c0-446f-af50-9beca7ff1f74.png", + }, + { + "description": "Lets you toggle between is:open/is:closed/is:merged filters in searches.", + "id": "extend-conversation-status-filters", + "screenshot": "https://user-images.githubusercontent.com/1402241/73605061-2125ed00-45cc-11ea-8cbd-41a53ae00cd3.gif", + }, + { + "description": "Widens the Expand diff button to be clickable across the screen.", + "id": "extend-diff-expander", + "screenshot": "https://user-images.githubusercontent.com/1402241/152118201-f25034c7-6fae-4be0-bb3f-c217647e32b7.gif", + }, + { + "description": "Highlights the most-recently-modified items in file lists.", + "id": "file-age-color", + "screenshot": "https://user-images.githubusercontent.com/1402241/218314631-1442cc89-3616-40fc-abe2-9ba3d3697b6a.png", + }, + { + "description": "Auto-resizes comment fields to fit their content and no longer show scroll bars.", + "id": "fit-textareas", + "screenshot": "https://user-images.githubusercontent.com/1402241/54336211-66fd5e00-4666-11e9-9c5e-111fccab004d.gif", + }, + { + "description": "In the workflows sidebar, shows an indicator that a workflow can be triggered manually, and its next scheduled time if relevant.", + "id": "github-actions-indicators", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/252181237-a1d809b1-e5d4-4747-9654-7dde5ab5c61a.png", + }, + { + "description": "Adds filters for conversations in your repos and commented on by you in the global conversation search.", + "id": "global-conversation-list-filters", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/253048449-2f7cc331-c379-4ec0-a542-441e8b4f8d79.png", + }, + { + "description": "Adds comment indicators when comments are hidden in PR review.", + "id": "hidden-review-comments-indicator", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/253128043-a10eaf9e-ff81-48db-b67c-ee823804c859.gif", + }, + { + "description": "Hides diff signs since diffs are color coded already.", + "id": "hide-diff-signs", + "screenshot": "https://user-images.githubusercontent.com/1402241/54807718-149cec80-4cb9-11e9-869c-e265863211e3.png", + }, + { + "description": "Hides inactive deployments in PRs.", + "id": "hide-inactive-deployments", + "screenshot": undefined, + }, + { + "description": "Removes the autocomplete on search fields.", + "id": "hide-issue-list-autocomplete", + "screenshot": "https://user-images.githubusercontent.com/1402241/42991841-1f057e4e-8c07-11e8-909c-b051db7a2a03.png", + }, + { + "description": "Hides reaction comments (\"+1\", \"👍\", …) (except the maintainers’) but they can still be shown.", + "id": "hide-low-quality-comments", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/258220965-4743b9b9-2aef-41b3-a905-ccf8d7beb74e.png", + }, + { + "description": "Removes the file hover effect in the repo file browser.", + "id": "hide-navigation-hover-highlight", + "screenshot": undefined, + }, + { + "description": "Hides other inutile newsfeed events (commits, forks, new followers).", + "id": "hide-newsfeed-noise", + "screenshot": undefined, + }, + { + "description": "Hides forks and archived repos from profiles (but they can still be shown.)", + "id": "hide-user-forks", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/1402241/263195425-85cf0951-c6ed-45fe-8cfc-e447e3ed2a25.png", + }, + { + "description": "Highlights the most useful comment in conversations.", + "id": "highest-rated-comment", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/252763905-a0c3b074-b032-4d97-946e-328e8a6fb2da.png", + }, + { + "description": "Highlights conversations opened by you or the current repo’s collaborators.", + "id": "highlight-collaborators-and-own-conversations", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/252804821-a412e05c-fb76-400b-85b5-5acbda538ab2.png", + }, + { + "description": "Shows the base branch in PR lists if it’s not the default branch.", + "id": "highlight-non-default-base-branch", + "screenshot": "https://user-images.githubusercontent.com/1402241/88480306-39f4d700-cf4d-11ea-9e40-2b36d92d41aa.png", + }, + { + "description": "Adds a link to preview HTML files.", + "id": "html-preview-link", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/260874191-69d386a0-7c1f-42ae-84fd-4f67f90982da.png", + }, + { + "description": "Shows all of Refined GitHub’s new keyboard shortcuts in the help modal (? hotkey).", + "id": "improve-shortcut-help", + "screenshot": "https://user-images.githubusercontent.com/29176678/36999174-9f07d33e-20bf-11e8-83e3-b3a9908a4b5f.png", + }, + { + "description": "Automagically expands the newsfeed when you scroll down.", + "id": "infinite-scroll", + "screenshot": undefined, + }, + { + "description": "Adds a link to jump to the latest changed requested comment.", + "id": "jump-to-change-requested-comment", + "screenshot": "https://user-images.githubusercontent.com/19198931/98718312-418b9f00-23c9-11eb-8da2-dfb616e95eb6.gif", + }, + { + "description": "Adds a link to jump to the latest close event of a conversation.", + "id": "jump-to-conversation-close-event", + "screenshot": "https://user-images.githubusercontent.com/16872793/177792713-64219754-f8df-4629-a9ec-33259307cfe7.gif", + }, + { + "description": "Adds shortcuts to conversations and PR file lists: j focuses the comment/file below; k focuses the comment/file above.", + "id": "keyboard-navigation", + "screenshot": "https://user-images.githubusercontent.com/1402241/86573176-48665900-bf74-11ea-8996-a5c46cb7bdfd.gif", + }, + { + "description": "Adds a link to the last page of notifications.", + "id": "last-notification-page-button", + "screenshot": "https://user-images.githubusercontent.com/16872793/199828181-3ff2cef3-8740-4efa-8122-8f2f222bd657.png", + }, + { + "description": "Adds a button to view the changelog file from the releases page.", + "id": "link-to-changelog-file", + "screenshot": "https://user-images.githubusercontent.com/46634000/139236982-a1bce2a2-f3aa-40a9-bca4-8756bc941210.png", + }, + { + "description": "Linkifies the \"X files changed\" text on compare pages to allow jumping to the diff.", + "id": "link-to-compare-diff", + "screenshot": "https://user-images.githubusercontent.com/46634000/157072587-0335357a-18c7-44c4-ae6e-237080fb36b4.png", + }, + { + "description": "Adds a link to visit the user’s github.io website from its repo.", + "id": "link-to-github-io", + "screenshot": "https://user-images.githubusercontent.com/34235681/152473104-c4723999-9239-48fd-baee-273b01c4eb87.png", + }, + { + "description": "Linkifies branch references in \"Quick PR\" pages.", + "id": "linkify-branch-references", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/258553554-e1711be0-d5ce-4edc-aaf8-72d659c881bc.png", + }, + { + "description": "Linkifies issue/PR references and URLs in code and conversation titles.", + "id": "linkify-code", + "screenshot": "https://cloud.githubusercontent.com/assets/170270/25370217/61718820-29b3-11e7-89c5-2959eaf8cac8.png", + }, + { + "description": "Adds a link to the non-PR commit when visiting a PR commit.", + "id": "linkify-commit-sha", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/261164635-b3caa3fa-3bb6-41a5-90d3-4aba84517da6.png", + }, + { + "description": "Makes labels clickable on the dashboard.", + "id": "linkify-labels-on-dashboard", + "screenshot": "https://user-images.githubusercontent.com/46634000/136909258-88031d07-6efa-4339-b436-5636e8075964.png", + }, + { + "description": "Linkifies the header of each notification group (when grouped by repository).", + "id": "linkify-notification-repository-header", + "screenshot": "https://user-images.githubusercontent.com/1402241/80849887-81531c00-8c19-11ea-8777-7294ce318630.png", + }, + { + "description": "Linkifies symbolic links files.", + "id": "linkify-symbolic-links", + "screenshot": "https://user-images.githubusercontent.com/1402241/62036664-6d0e6880-b21c-11e9-9270-4ae30cc10de2.png", + }, + { + "description": "Linkifies the username in the edit history popup.", + "id": "linkify-user-edit-history-popup", + "screenshot": "https://user-images.githubusercontent.com/1402241/88917988-9ebb7480-d260-11ea-8690-0a3440f1ebbc.png", + }, + { + "description": "Links the \"Contributor\" and \"Member\" labels on comments to the author’s commits on the repo.", + "id": "linkify-user-labels", + "screenshot": "https://user-images.githubusercontent.com/1402241/177033344-4d4eea63-e075-4096-b2d4-f4b879f1df31.png", + }, + { + "description": "Linkifies the user location in their hovercard and profile page.", + "id": "linkify-user-location", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/262554067-43bea584-cdb4-41c7-b0fa-f487e7ef8807.png", + }, + { + "description": "On branch commit lists, shows the PR that touches the current branch.", + "id": "list-prs-for-branch", + "screenshot": "https://user-images.githubusercontent.com/16872793/119760295-b8751a80-be77-11eb-87da-91d0c403bb49.png", + }, + { + "description": "Alerts you if the current file is altered by an open PR.", + "id": "list-prs-for-file", + "screenshot": "https://user-images.githubusercontent.com/1402241/234559302-b9911ac2-a1bb-4f8a-8e88-078d631cde18.png", + }, + { + "description": "Show a label on locked issues and PRs.", + "id": "locked-issue", + "screenshot": "https://user-images.githubusercontent.com/1402241/283015579-0a04becc-9bff-4aef-8770-272d6804970b.png", + }, + { + "description": "Marks merge commits in commit lists.", + "id": "mark-merge-commits-in-list", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/1402241/285106996-9bdbc938-69c4-4692-8d47-11e30676de62.png", + }, + { + "description": "Marks private organizations on your own profile.", + "id": "mark-private-orgs", + "screenshot": "https://user-images.githubusercontent.com/6775216/44633467-d5dcc900-a959-11e8-9116-e6b0ffef66af.png", + }, + { + "description": "Makes the tabs more compact on mobile so more of them can be seen.", + "id": "mobile-tabs", + "screenshot": "https://user-images.githubusercontent.com/1402241/245446231-28f44b59-0151-4986-8cb9-05b5645592d8.png", + }, + { + "description": "Adds Everything you’re involved in and Everything you subscribed to filters in the search box dropdown.", + "id": "more-conversation-filters", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/253043952-cfb99cea-1c7b-43ad-9144-9d84bda8206f.png", + }, + { + "description": "Adds useful links to the repository navigation dropdown", + "id": "more-dropdown-links", + "screenshot": "https://user-images.githubusercontent.com/16872793/124681432-856e6f80-de96-11eb-89c9-6d78e8ae4329.png", + }, + { + "description": "Adds links to view the raw version, the blame, and the history of files in PRs and commits.", + "id": "more-file-links", + "screenshot": "https://user-images.githubusercontent.com/46634000/145016304-aec5a8b8-4cdb-48e6-936f-b214a3fb4b49.png", + }, + { + "description": "Adds unobtrusive netiquette reminders.", + "id": "netiquette", + "screenshot": "https://user-images.githubusercontent.com/1402241/226551766-0e1b6b15-65a3-427e-8bb5-9ea7873993be.png", + }, + { + "description": "Indicates with an icon whether files in commits and pull requests are being added or removed.", + "id": "new-or-deleted-file", + "screenshot": "https://user-images.githubusercontent.com/1402241/90332474-23262b00-dfb5-11ea-9a03-8fd676ea0fdd.png", + }, + { + "description": "Automatically disables projects and wikis when creating a repository.", + "id": "new-repo-disable-projects-and-wikis", + "screenshot": "https://user-images.githubusercontent.com/1402241/177040449-73fde2a5-98e2-4583-8f32-905d1c4bfd20.png", + }, + { + "description": "Hides the update time of conversations in lists when it matches the open/closed/merged time.", + "id": "no-duplicate-list-update-time", + "screenshot": "https://user-images.githubusercontent.com/1402241/111357166-ac3a3900-864e-11eb-884a-d6d6da88f7e2.png", + }, + { + "description": "Always uses unified diffs on files where split diffs aren’t useful.", + "id": "no-unnecessary-split-diff-view", + "screenshot": "https://user-images.githubusercontent.com/46634000/121495005-89af8600-c9d9-11eb-822d-77e0b987e3b1.png", + }, + { + "description": "Adds one-click buttons to change diff style and to ignore the whitespace and a keyboard shortcut to ignore the whitespace: dw.", + "id": "one-click-diff-options", + "screenshot": "https://user-images.githubusercontent.com/46634000/156766044-18c9ff50-aead-4c40-ba16-7428b3742b6c.png", + }, + { + "description": "Lets you create draft pull requests and public gists in one click.", + "id": "one-click-pr-or-gist", + "screenshot": "https://user-images.githubusercontent.com/34235681/152473201-868ad7c1-e06f-4826-b808-d90bca7f08b3.png", + }, + { + "description": "Simplifies the PR review form: Approve or reject reviews faster with one-click review-type buttons.", + "id": "one-click-review-submission", + "screenshot": "https://user-images.githubusercontent.com/1402241/236627732-df341ff7-cd98-4cd0-a579-722d1fffa5cf.png", + }, + { + "description": "Wraps selected text when pressing one of Markdown symbols instead of replacing it: [ ` ` ' \" ~ `", + "id": "one-key-formatting", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/261155564-e7aabd0e-b14b-4fe6-b379-62e7419c43f8.gif", + }, + { + "description": "Lets you open all visible conversations at once.", + "id": "open-all-conversations", + "screenshot": "https://user-images.githubusercontent.com/46634000/110980658-5face000-8366-11eb-88f9-0cc94f75ce57.gif", + }, + { + "description": "Adds a button to open all your unread notifications at once.", + "id": "open-all-notifications", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/140871606/257085496-17e5c6fa-6bad-443d-96d2-d97e73cd1a5e.png", + }, + { + "description": "Makes the \"comment\" icon in issue lists link to the latest comment of the issue.", + "id": "open-issue-to-latest-comment", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/261159396-0610574b-ab1f-42fb-813f-ee7310a1e5b6.png", + }, + { + "description": "Adds shortcuts to navigate through pages with pagination: and .", + "id": "pagination-hotkey", + "screenshot": undefined, + }, + { + "description": "GitHub renders ` text in backticks ` in some places but not others; this features fills in where forgotten.", + "id": "parse-backticks", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/262555091-df31aa17-e7a2-4c16-91ca-fb077ba6134a.png", + }, + { + "description": "Adds links to .patch and .diff files in commits.", + "id": "patch-diff-links", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/140871606/257011950-51712338-ffba-4b71-ad8f-9a0f142afb85.png", + }, + { + "description": "Replaces the \"opened\" time with the \"updated\" time on pinned issues.", + "id": "pinned-issues-update-time", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/1402241/240707405-e416be14-5ab5-4869-b33c-f43aab7afcb6.png", + }, + { + "description": "Shows color-coded review counts in PR lists.", + "id": "pr-approvals-count", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/253125143-d10d95df-4a89-4692-b218-5eba5cd79906.png", + }, + { + "description": "Shows how far behind a PR head branch is + tells you its base commit.", + "id": "pr-base-commit", + "screenshot": "https://user-images.githubusercontent.com/1402241/234492651-b54bf9ba-c218-4a30-bed4-f85a7f037297.png", + }, + { + "description": "Automatically deletes the branch right after merging a PR, if possible.", + "id": "pr-branch-auto-delete", + "screenshot": "https://user-images.githubusercontent.com/1402241/177067141-eabc7494-38a2-45b5-aef9-ac33cc0da370.png", + }, + { + "description": "Adds diff stats on PR commits.", + "id": "pr-commit-lines-changed", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/253130044-494cd822-c460-42dc-8f65-44454a9d18e3.png", + }, + { + "description": "Adds Checks and Draft PR dropdown filters in PR lists.", + "id": "pr-filters", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/253068868-6afb4656-4ef5-4846-89c5-24dc6ee7f839.png", + }, + { + "description": "Jumps to first non-viewed file in a pull request when clicking on the progress bar.", + "id": "pr-jump-to-first-non-viewed-file", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/140871606/257011208-764f509d-fed9-424b-84e9-c01cf2fd428b.gif", + }, + { + "description": "Opens links in rich text editor in new tab instead of navigating away from the page.", + "id": "prevent-comment-loss", + "screenshot": "https://user-images.githubusercontent.com/17681399/282616531-2befcabe-5c80-4b9a-bfb5-7b9917847bb5.gif", + }, + { + "description": "Avoids creating duplicate PRs when mistakenly clicking \"Create pull request\" more than once.", + "id": "prevent-duplicate-pr-submission", + "screenshot": "https://user-images.githubusercontent.com/16872793/89589967-e029c200-d814-11ea-962b-3ff1f6236781.gif", + }, + { + "description": "Suggests fixing links that are wrongly shortened by GitHub.", + "id": "prevent-link-loss", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/260087535-a0f19995-5f4a-44e9-87d8-cf742b9bfeed.gif", + }, + { + "description": "Prevents the merge panel from automatically opening on every page load after it’s been opened once.", + "id": "prevent-pr-merge-panel-opening", + "screenshot": undefined, + }, + { + "description": "Previews hidden comments inline.", + "id": "preview-hidden-comments", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/262556553-ca04b870-9adb-4a8c-a6d0-6238863948be.png", + }, + { + "description": "Adds duplicate commit navigation buttons at the bottom of the Commits tab page.", + "id": "previous-next-commit-buttons", + "screenshot": "https://user-images.githubusercontent.com/24777/41755271-741773de-75a4-11e8-9181-fcc1c73df633.png", + }, + { + "description": "Lets you see the previous version of a file in one click.", + "id": "previous-version", + "screenshot": "https://user-images.githubusercontent.com/50487467/236657960-401f3cd7-cc99-494e-b522-1dca76827369.png", + }, + { + "description": "Adds a link to the user’s public gists on their profile.", + "id": "profile-gists-link", + "screenshot": "https://user-images.githubusercontent.com/44045911/87950518-f7a94100-cad9-11ea-8393-609fad70635c.png", + }, + { + "description": "Adds a keyboard shortcut to visit your own profile: g m.", + "id": "profile-hotkey", + "screenshot": undefined, + }, + { + "description": "Adds keyboard shortcuts to cycle through PR tabs: g and g , or g 1, g 2, g 3, and g 4.", + "id": "pull-request-hotkeys", + "screenshot": "https://user-images.githubusercontent.com/16872793/94634958-7e7b5680-029f-11eb-82ea-1f96cd11e4cd.png", + }, + { + "description": "Lets you edit any comment with one click instead of having to open a dropdown.", + "id": "quick-comment-edit", + "screenshot": "https://user-images.githubusercontent.com/46634000/162252055-54750c89-0ddc-487a-b4ad-cec6009d9870.png", + }, + { + "description": "Simplifies the UI to hide comments.", + "id": "quick-comment-hiding", + "screenshot": "https://user-images.githubusercontent.com/1402241/43039221-1ddc91f6-8d29-11e8-9ed4-93459191a510.gif", + }, + { + "description": "Adds a button to edit files from the repo file list.", + "id": "quick-file-edit", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/252182890-081975f4-f041-4ba5-ae48-d52cb0796543.png", + }, + { + "description": "Adds one-click buttons to remove labels in conversations.", + "id": "quick-label-removal", + "screenshot": "https://user-images.githubusercontent.com/36174850/89980178-0bc80480-dc7a-11ea-8ded-9e25f5f13d1a.gif", + }, + { + "description": "Adds a button to @mention a user in conversations.", + "id": "quick-mention", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/261158402-5a79cc3e-4331-475f-8063-5ed81fefcf10.gif", + }, + { + "description": "Adds a link to create issues from anywhere in a repository.", + "id": "quick-new-issue", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/1402241/274816033-820ec518-049d-4248-9f8a-27b9423e350b.png", + }, + { + "description": "Lets you delete your repos in a click, if they have no stars, issues, or PRs.", + "id": "quick-repo-deletion", + "screenshot": "https://user-images.githubusercontent.com/1402241/99716945-54a80a00-2a6e-11eb-9107-f3517a6ab1bc.gif", + }, + { + "description": "Adds quick-review buttons to the PR sidebar, automatically focuses the review textarea, and adds a keyboard shortcut to open the review popup: v.", + "id": "quick-review", + "screenshot": "https://github.com/refined-github/refined-github/assets/1402241/f11039c4-c9d1-4adc-9a65-cfe1f2027ec3", + }, + { + "description": "Adds a button to delete review comments in one click when editing them.", + "id": "quick-review-comment-deletion", + "screenshot": "https://user-images.githubusercontent.com/46634000/115445792-9fdd6900-a216-11eb-9ba3-6dab4d2f9d32.png", + }, + { + "description": "Adds reaction avatars showing who reacted to a comment.", + "id": "reactions-avatars", + "screenshot": "https://user-images.githubusercontent.com/1402241/236628453-8b646178-b838-44a3-9541-0a9b5f54a84a.png", + }, + { + "description": "Reduces tabs’ size to 4 spaces instead of 8 where GitHub doesn't follow the user’s preferences.", + "id": "refined-github.css", + "screenshot": "https://cloud.githubusercontent.com/assets/170270/14170088/d3be931e-f755-11e5-8edf-c5f864336382.png", + }, + { + "description": "Adds a download count next to release assets.", + "id": "release-download-count", + "screenshot": "https://user-images.githubusercontent.com/1402241/197958719-1577bc1b-1f4d-44a8-98c2-2645b7b14d31.png", + }, + { + "description": "Adds a tags dropdown/search on tag/release pages.", + "id": "releases-dropdown", + "screenshot": "https://user-images.githubusercontent.com/1402241/231678527-f0a96112-9c30-4b49-8205-efa472bd880e.png", + }, + { + "description": "Adds a Releases tab and a keyboard shortcut: g r.", + "id": "releases-tab", + "screenshot": "https://cloud.githubusercontent.com/assets/170270/13136797/16d3f0ea-d64f-11e5-8a45-d771c903038f.png", + }, + { + "description": "Retries downloading images that failed downloading due to GitHub limited proxying.", + "id": "reload-failed-proxied-images", + "screenshot": "https://user-images.githubusercontent.com/14858959/64068746-21991100-cc45-11e9-844e-827f5ac9b51e.png", + }, + { + "description": "Displays the age of the repository in the sidebar.", + "id": "repo-age", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/252176778-f8260312-d0dc-41b5-a4d1-ca680208d347.png", + }, + { + "description": "Adds the profile picture to the header of public repositories.", + "id": "repo-avatars", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/1402241/255323568-aee4d90e-844e-41e8-880a-ce466826516c.png", + }, + { + "description": "Shows whether a repo is a fork and adds the number of stars to its header.", + "id": "repo-header-info", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/1402241/267216946-404d79ab-46d7-4bc8-ba88-ae8f8029150d.png", + }, + { + "description": "Enables the File Finder keyboard shortcut (t) on entire repository.", + "id": "repo-wide-file-finder", + "screenshot": undefined, + }, + { + "description": "Adds one-click merge conflict fixers.", + "id": "resolve-conflicts", + "screenshot": "https://user-images.githubusercontent.com/1402241/54978791-45906080-4fdc-11e9-8fe1-45374f8ff636.png", + }, + { + "description": "Adds a button to discard all the changes to a file in a PR.", + "id": "restore-file", + "screenshot": "https://user-images.githubusercontent.com/1402241/236630610-e11a64f6-5e70-4353-89b8-39aae830dd16.gif", + }, + { + "description": "Preserves current branch and path when viewing all commits by an author.", + "id": "same-branch-author-commits", + "screenshot": "https://user-images.githubusercontent.com/44045911/148764372-ee443213-e61a-4227-9219-0ee54ed832e8.png", + }, + { + "description": "Limits the height of tall code blocks and quotes.", + "id": "scrollable-areas", + "screenshot": undefined, + }, + { + "description": "Adds a shortcut to select all visible notifications: a.", + "id": "select-all-notifications-shortcut", + "screenshot": undefined, + }, + { + "description": "Select notifications by type and status.", + "id": "select-notifications", + "screenshot": "https://user-images.githubusercontent.com/83146190/252175851-e0826d3b-1990-4bff-ba09-71892463818e.gif", + }, + { + "description": "Adds a keyboard shortcut to open selection in new tab when navigating via j and k: shift o.", + "id": "selection-in-new-tab", + "screenshot": undefined, + }, + { + "description": "Shortens URLs and repo URLs to readable references like \"user/repo/.file@d71718d\".", + "id": "shorten-links", + "screenshot": "https://user-images.githubusercontent.com/1402241/27252232-8fdf8ed0-538b-11e7-8f19-12d317c9cd32.png", + }, + { + "description": "Shows the associated pull requests on branches for forked repositories.", + "id": "show-associated-branch-prs-on-fork", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/260873542-2a7fc7a2-231f-4f2e-9c7e-272d894de4c6.png", + }, + { + "description": "Adds the real name of users by their usernames.", + "id": "show-names", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/252756294-94785dc2-423e-498c-939a-359a012036e0.png", + }, + { + "description": "In your forked repos, shows number of your open PRs to the original repo.", + "id": "show-open-prs-of-forks", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/252177140-94165582-628b-45b6-9a62-faf0c7fc2335.png", + }, + { + "description": "Adds a link to the user’s most starred repositories.", + "id": "show-user-top-repositories", + "screenshot": "https://user-images.githubusercontent.com/1402241/48474026-43e3ae80-e82c-11e8-93de-159ad4c6f283.png", + }, + { + "description": "Makes whitespace characters visible.", + "id": "show-whitespace", + "screenshot": "https://user-images.githubusercontent.com/1402241/61187598-f9118380-a6a5-11e9-985a-990a7f798805.png", + }, + { + "description": "Shows a small avatar next to the username in conversation lists and mentions.", + "id": "small-user-avatars", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/1402241/271184107-24ec471e-54d1-434a-a5f2-615902d2cad9.png", + }, + { + "description": "Changes the default sort order of conversations to Recently updated.", + "id": "sort-conversations-by-update-time", + "screenshot": undefined, + }, + { + "description": "Lets you subscribe to opening/closing events of issues in one click..", + "id": "status-subscription", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/1402241/238186901-cbc98b51-d173-40c6-b21e-5f0bae3d800c.png", + }, + { + "description": "Makes the conversation list’s filters toolbar sticky.", + "id": "sticky-conversation-list-toolbar", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/261164103-875b70f7-5adc-4bb2-b158-8d5231d47da2.gif", + }, + { + "description": "Make the notifications action bar sticky.", + "id": "sticky-notifications-actions", + "screenshot": "https://user-images.githubusercontent.com/1398469/285497350-95ead695-a023-4aeb-b3bc-7c815157b439.gif", + }, + { + "description": "Makes conversation sidebars and repository sidebars sticky, if they fit the viewport.", + "id": "sticky-sidebar", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/252179311-ea6d42dc-1525-401a-bc4d-404cf8fa1785.gif", + }, + { + "description": "Stops redirecting to notification inbox from notification bar actions while holding Alt.", + "id": "stop-redirecting-in-notification-bar", + "screenshot": "https://user-images.githubusercontent.com/202916/80318782-c38cef80-880c-11ea-9226-72c585f42a51.png", + }, + { + "description": "Enables submission via ctrl enter on every page possible.", + "id": "submission-via-ctrl-enter-everywhere", + "screenshot": undefined, + }, + { + "description": "Suggests limiting commit titles to 72 characters.", + "id": "suggest-commit-title-limit", + "screenshot": "https://user-images.githubusercontent.com/37769974/60379478-106b3280-9a51-11e9-88b9-0e3607f214cd.gif", + }, + { + "description": "Adds a link to swap branches in the branch compare view.", + "id": "swap-branches-on-compare", + "screenshot": "https://user-images.githubusercontent.com/44045911/230370539-ebc94246-864f-48f2-85fa-7318fc1f6d71.png", + }, + { + "description": "Uses the PR’s title as the default squash commit title and updates the PR’s title to match the commit title, if changed.", + "id": "sync-pr-commit-title", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/140871606/257011579-25332762-b25f-407b-b6d2-bbfc13de2be7.png", + }, + { + "description": "Enables tab and shifttab for indentation in comment fields.", + "id": "tab-to-indent", + "screenshot": "https://user-images.githubusercontent.com/1402241/33802977-beb8497c-ddbf-11e7-899c-698d89298de4.gif", + }, + { + "description": "Adds a button in the text editor to quickly insert a simplified HTML table.", + "id": "table-input", + "screenshot": "https://user-images.githubusercontent.com/46634000/94559114-09892c00-0261-11eb-8fb0-c5a85ea76b6f.gif", + }, + { + "description": "Adds a link to changes since last tag/release for each tag/release.", + "id": "tag-changes-link", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/140871606/257036739-bebafb94-cb94-4053-9768-ff97306ab862.png", + }, + { + "description": "Displays the corresponding tags next to commits.", + "id": "tags-on-commits-list", + "screenshot": "https://user-images.githubusercontent.com/1402241/285106537-3c882cb2-6847-4098-9e51-cf2951dee818.png", + }, + { + "description": "Adds a shortcut to toggle all similar items (minimized comments, deferred diffs, etc) at once: alt click on each button or checkbox.", + "id": "toggle-everything-with-alt", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/253063446-6f556e7d-2ac5-439d-92f0-0c6d719fc86f.gif", + }, + { + "description": "Adds a button to toggle the repo file list.", + "id": "toggle-files-button", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/252182642-763ae9a1-f8c3-4796-bab2-25b815a7fd52.gif", + }, + { + "description": "Notifies the user of unfinished comments in hidden tabs.", + "id": "unfinished-comments", + "screenshot": "https://user-images.githubusercontent.com/1402241/97792086-423d5d80-1b9f-11eb-9a3a-daf716d10b0e.gif", + }, + { + "description": "Tells you whether you're looking at the latest version of a repository, or if there are any unreleased commits.", + "id": "unreleased-commits", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/1402241/267236196-8564c193-a3c7-4248-9735-54749c1990c7.png", + }, + { + "description": "Makes some dropdowns 1-click instead of unnecessarily 2-click.", + "id": "unwrap-unnecessary-dropdowns", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/258554504-97d4079a-2aae-4aea-a870-653a267494a8.png", + }, + { + "description": "Adds an \"Update branch\" button to every PR. GitHub has the same feature, but it must be manually configured with protected branches.", + "id": "update-pr-from-base-branch", + "screenshot": "https://user-images.githubusercontent.com/1402241/234483592-4867cb2e-21cb-436d-9ea0-aedadf834f19.png", + }, + { + "description": "Uses the first commit for a new PR’s title and description.", + "id": "use-first-commit-message-for-new-prs", + "screenshot": "https://user-images.githubusercontent.com/16872793/87246205-ccf42400-c419-11ea-86d5-0e6570d99e6e.gif", + }, + { + "description": "Adds possible related pages and alternatives on 404 pages.", + "id": "useful-not-found-page", + "screenshot": "https://user-images.githubusercontent.com/1402241/46402857-7bdada80-c733-11e8-91a1-856573078ff5.png", + }, + { + "description": "Shows the user local time in their hovercard (based on their last commit).", + "id": "user-local-time", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/140871606/257039621-132bd789-e213-4a89-83ff-e1266215c60d.png", + }, + { + "description": "On profiles, it shows whether the user follows you.", + "id": "user-profile-follower-badge", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/1402241/263206287-c8e1b94c-ec80-4394-bbb3-1cf6fb08b807.png", + }, + { + "description": "Shows Markdown front matter as vertical table.", + "id": "vertical-front-matter", + "screenshot": "https://user-images.githubusercontent.com/44045911/87251695-26069b00-c4a0-11ea-9077-53ce366490ed.png", + }, + { + "description": "Adds a link to open the latest deployment from the header of a PR.", + "id": "view-last-pr-deployment", + "screenshot": "https://user-images.githubusercontent.com/44045911/232313171-b54ac9cc-ebb1-43ef-bd41-5d81ec9f9588.png", + }, + { + "description": "When navigating a repo's file on a specific tag, it adds a link to see the release/tag itself.", + "id": "visit-tag", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/1402241/285123739-e5f4fa0a-3f48-49ef-9b87-2fd6f183c923.png", + }, + { + "description": "Adds the option to wait for checks when merging a PR.", + "id": "wait-for-checks", + "screenshot": "https://github-production-user-asset-6210df.s3.amazonaws.com/83146190/260870422-1f7fd5e6-849c-423b-8aeb-45894a006a44.gif", + }, + { + "description": "Warns you when creating a pull request from the default branch, as it’s an anti-pattern.", + "id": "warn-pr-from-master", + "screenshot": "https://user-images.githubusercontent.com/1402241/52543516-3ca94e00-2de5-11e9-9f80-ff8f9fe8bdc4.png", + }, + { + "description": "Warns you when unchecking Allow edits from maintainers, as it’s maintainer-hostile.", + "id": "warning-for-disallow-edits", + "screenshot": "https://user-images.githubusercontent.com/1402241/53151888-24101380-35ef-11e9-8d30-d6315ad97325.gif", + }, +] \ No newline at end of file diff --git a/build/__snapshots__/imported-features.json b/build/__snapshots__/imported-features.json new file mode 100644 index 00000000000..39cfc248534 --- /dev/null +++ b/build/__snapshots__/imported-features.json @@ -0,0 +1,193 @@ +[ + "action-pr-link", + "action-used-by-link", + "actionable-pr-view-file", + "align-issue-labels", + "archive-forks-link", + "avoid-accidental-submissions", + "batch-mark-files-as-viewed", + "bugs-tab", + "ci-link", + "clean-conversation-filters", + "clean-conversation-headers", + "clean-conversation-sidebar", + "clean-pinned-issues", + "clean-readme-url", + "clean-repo-filelist-actions", + "clean-repo-sidebar", + "clean-repo-tabs", + "clean-rich-text-editor", + "clear-pr-merge-commit-message", + "close-as-unplanned", + "close-out-of-view-modals", + "closing-remarks", + "collapsible-content-button", + "command-palette-navigation-shortcuts", + "comment-fields-keyboard-shortcuts", + "comment-on-draft-pr-indicator", + "comments-time-machine-links", + "conflict-marker", + "conversation-activity-filter", + "conversation-links-on-repo-lists", + "convert-pr-to-draft-improvements", + "convert-release-to-draft", + "copy-on-y", + "create-release-shortcut", + "cross-deleted-pr-branches", + "deep-reblame", + "default-branch-button", + "dim-bots", + "download-folder-button", + "easy-toggle-commit-messages", + "easy-toggle-files", + "embed-gist-inline", + "embed-gist-via-iframe", + "emphasize-draft-pr-label", + "esc-to-cancel", + "esc-to-deselect-line", + "expand-all-hidden-comments", + "extend-conversation-status-filters", + "extend-diff-expander", + "file-age-color", + "fit-textareas", + "github-actions-indicators", + "global-conversation-list-filters", + "hidden-review-comments-indicator", + "hide-diff-signs", + "hide-inactive-deployments", + "hide-issue-list-autocomplete", + "hide-low-quality-comments", + "hide-navigation-hover-highlight", + "hide-newsfeed-noise", + "hide-user-forks", + "highest-rated-comment", + "highlight-collaborators-and-own-conversations", + "highlight-non-default-base-branch", + "html-preview-link", + "improve-shortcut-help", + "infinite-scroll", + "jump-to-change-requested-comment", + "jump-to-conversation-close-event", + "keyboard-navigation", + "last-notification-page-button", + "link-to-changelog-file", + "link-to-compare-diff", + "link-to-github-io", + "linkify-branch-references", + "linkify-code", + "linkify-commit-sha", + "linkify-labels-on-dashboard", + "linkify-notification-repository-header", + "linkify-symbolic-links", + "linkify-user-edit-history-popup", + "linkify-user-labels", + "linkify-user-location", + "list-prs-for-branch", + "list-prs-for-file", + "locked-issue", + "mark-merge-commits-in-list", + "mark-private-orgs", + "mobile-tabs", + "more-conversation-filters", + "more-dropdown-links", + "more-file-links", + "netiquette", + "new-or-deleted-file", + "new-repo-disable-projects-and-wikis", + "no-duplicate-list-update-time", + "no-unnecessary-split-diff-view", + "one-click-diff-options", + "one-click-pr-or-gist", + "one-click-review-submission", + "one-key-formatting", + "open-all-conversations", + "open-all-notifications", + "open-issue-to-latest-comment", + "pagination-hotkey", + "parse-backticks", + "patch-diff-links", + "pinned-issues-update-time", + "pr-base-commit", + "pr-branch-auto-delete", + "pr-commit-lines-changed", + "pr-filters", + "pr-jump-to-first-non-viewed-file", + "prevent-comment-loss", + "prevent-duplicate-pr-submission", + "prevent-link-loss", + "prevent-pr-merge-panel-opening", + "preview-hidden-comments", + "previous-next-commit-buttons", + "previous-version", + "profile-gists-link", + "profile-hotkey", + "pull-request-hotkeys", + "quick-comment-edit", + "quick-comment-hiding", + "quick-file-edit", + "quick-label-removal", + "quick-mention", + "quick-new-issue", + "quick-repo-deletion", + "quick-review", + "quick-review-comment-deletion", + "reactions-avatars", + "release-download-count", + "releases-dropdown", + "releases-tab", + "reload-failed-proxied-images", + "repo-age", + "repo-avatars", + "repo-header-info", + "repo-wide-file-finder", + "resolve-conflicts", + "restore-file", + "rgh-dim-commits", + "rgh-feature-descriptions", + "rgh-improve-new-issue-form", + "rgh-linkify-features", + "rgh-linkify-yolo-issues", + "rgh-netiquette", + "rgh-pr-template", + "rgh-welcome-issue", + "same-branch-author-commits", + "scrollable-areas", + "select-all-notifications-shortcut", + "select-notifications", + "selection-in-new-tab", + "shorten-links", + "show-associated-branch-prs-on-fork", + "show-names", + "show-open-prs-of-forks", + "show-user-top-repositories", + "show-whitespace", + "small-user-avatars", + "sort-conversations-by-update-time", + "status-subscription", + "sticky-sidebar", + "stop-redirecting-in-notification-bar", + "submission-via-ctrl-enter-everywhere", + "suggest-commit-title-limit", + "swap-branches-on-compare", + "sync-pr-commit-title", + "tab-to-indent", + "table-input", + "tag-changes-link", + "tags-on-commits-list", + "toggle-everything-with-alt", + "toggle-files-button", + "unfinished-comments", + "unreleased-commits", + "unwrap-unnecessary-dropdowns", + "update-pr-from-base-branch", + "use-first-commit-message-for-new-prs", + "useful-not-found-page", + "user-local-time", + "user-profile-follower-badge", + "vertical-front-matter", + "view-last-pr-deployment", + "visit-tag", + "wait-for-checks", + "warn-pr-from-master", + "warning-for-disallow-edits", +] \ No newline at end of file diff --git a/build/readme-parser.test.ts b/build/readme-parser.test.ts new file mode 100644 index 00000000000..086f8ec4e9e --- /dev/null +++ b/build/readme-parser.test.ts @@ -0,0 +1,11 @@ +import {test, expect} from 'vitest'; + +import { + getFeaturesMeta, + getImportedFeatures, +} from './readme-parser.js'; + +test('readme-parser', async () => { + await expect(getImportedFeatures()).toMatchFileSnapshot('./__snapshots__/imported-features.json'); + await expect(getFeaturesMeta()).toMatchFileSnapshot('./__snapshots__/features-meta.json'); +}); diff --git a/build/readme-parser.ts b/build/readme-parser.ts index 1c22fdcfa2b..b1a865b3388 100644 --- a/build/readme-parser.ts +++ b/build/readme-parser.ts @@ -9,7 +9,11 @@ const simpleFeatureRegex = /^- \[]\(# "(?[^"]+)"\)(?: 🔥)? (?<\/a> (?.+?)\n\t+

/g; // eslint-disable-next-line unicorn/better-regex -- ur wrong const featureRegex = regexJoin(simpleFeatureRegex, /|/, highlightedFeatureRegex); -const screenshotRegex = /\.\w{3}$/; // 3 since .png and .gif have 3 letters +const imageRegex = /\.\w{3}$/; // 3 since .png and .gif have 3 letters +// eslint-disable-next-line unicorn/better-regex -- ur dably rong +const rghUploadsRegex = /refined-github[/]refined-github[/]assets[/]/; +// eslint-disable-next-line unicorn/better-regex -- so tripoli wron +const screenshotRegex = regexJoin(imageRegex, /|/, rghUploadsRegex); function extractDataFromMatch(match: RegExpMatchArray): FeatureMeta { const { diff --git a/build/verify-features.ts b/build/verify-features.ts index 64531bd0027..97e74c022ab 100755 --- a/build/verify-features.ts +++ b/build/verify-features.ts @@ -1,4 +1,5 @@ import {existsSync, readdirSync, readFileSync} from 'node:fs'; +import regexJoin from 'regex-join'; import {isFeaturePrivate} from '../source/helpers/feature-utils.js'; import {getImportedFeatures, getFeaturesMeta} from './readme-parser.js'; @@ -9,6 +10,14 @@ const entryPointSource = readFileSync(entryPoint); const importedFeatures = getImportedFeatures(); const featuresInReadme = getFeaturesMeta(); +// We used to enforce the filetype, but this is no longer possible with new URLs +// https://github.com/refined-github/refined-github/pull/7130 +const imageRegex = /\.(png|gif)$/; +// eslint-disable-next-line unicorn/better-regex -- ur rong +const rghUploadsRegex = /refined-github[/]refined-github[/]assets[/]/; +// eslint-disable-next-line unicorn/better-regex -- dably wron +const screenshotRegex = regexJoin(imageRegex, /|/, rghUploadsRegex); + function validateCss(filename: string): string | void { const isImportedByEntrypoint = entryPointSource.includes(`import './features/${filename}';`); const correspondingTsxFile = `source/features/${filename.replace(/.css$/, '.tsx')}`; @@ -52,7 +61,7 @@ function validateReadme(featureId: FeatureID): string | void { return `ERR: ${featureId} should be described better in the readme (at least 20 characters)`; } - if (featureMeta.screenshot && !/\.(png|gif)$/.test(featureMeta.screenshot)) { + if (featureMeta.screenshot && !screenshotRegex.test(featureMeta.screenshot)) { return `ERR: ${featureId} should have a screenshot (png/gif) in the readme`; }