Skip to content

Instantly share code, notes, and snippets.

@403-html
Last active September 20, 2023 16:06
Show Gist options
  • Save 403-html/4b42979475ab2c8dee6aac205f3ed56f to your computer and use it in GitHub Desktop.
Save 403-html/4b42979475ab2c8dee6aac205f3ed56f to your computer and use it in GitHub Desktop.
Set of rules to uOrigin for GitHub, for fixing common style problems in PR's view.
# Full list of checks, without small window \w scroll
github.com##div.merge-status-list:style(max-height: unset !important;)
# Move failed checks to the top
github.com##div.merge-status-list:style(display: flex; flex-direction: column;)
github.com##div.merge-status-item:has(.color-fg-danger):style(order: -2;)
# Move currently running checks to the top
github.com##div.merge-status-item:has(.anim-rotate):style(order: -1;)
# Move skipped/neutral to bottom
github.com##div.merge-status-item:has(.neutral-check):style(order: 999;)
# Hide deploy/CI spam messages
github.com##div.js-timeline-item:has(*[title="Deployment Status Label: Inactive"])
github.com##div.js-timeline-item:has(*[title="Deployment Status Label: Active"])
github.com##div.js-timeline-item:has(*[title="Deployment Status Label: Error"])
github.com##div.js-timeline-item:has(*[title="Deployment Status Label: In progress"])
github.com##div.js-timeline-item:has(*[title="Deployment Status Label: Queued"])
github.com##div.js-timeline-item:has(*[title="Deployment Status Label: Pending"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment