GithubHelp home page GithubHelp logo

katsutedev / github-red-issues Goto Github PK

View Code? Open in Web Editor NEW
39.0 1.0 1.0 931 KB

Revert closed GitHub issues from purple back to red.

Home Page: https://chrome.google.com/webstore/detail/github-red-issues/kjbbjibfgnnfdeabgmbieapkhpojikpc

License: Other

CSS 73.95% JavaScript 26.05%
chrome extension github issue issues github-issue github-issues chrome-extension red css

github-red-issues's Introduction

(✔)

GitHub Red Issues

Revert closed GitHub issues from purple back to red.

Installation

Chrome (recommended)

Google Chrome Microsoft Edge Opera Chrome Web Store

Firefox

requires Firefox 121 or higher

Mozilla Firefox Mozilla Add-on

Changes

Reverts closed issues from purple to red on:

  • Issues
  • Pulls
  • Discussions
  • Hovercards
  • Tasklists
  • Search
  • Subscriptions
  • Project boards
  • Project tables

 

This extension is released under the CC BY-NC-SA 4.0 License.

github-red-issues's People

Contributors

dependabot[bot] avatar imgbot[bot] avatar katsute avatar kdevbot[bot] avatar kidonng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

iam-py-test

github-red-issues's Issues

Security tab is purple

Operating System

Windows 10

Browser

Chrome

Extension Version

v3.2

Components

  • Pinned issues
  • Closed issues
  • Issue timeline
  • Issues tab
  • Issue hovercard
  • Closed pulls
  • Pull timeline
  • Pull hovercard
  • Subscriptions
  • Search
  • Projects
  • Projects (beta)
  • Insights
  • Other (please specify)

Issue

Fixed issues in security tab are purple.

image

How to replicate

Go to Security > Dependabot alerts > Fixed issue

https://github.com/KatsuteDev/Desktop-Flick/security/dependabot/1

Projects (Beta) Sidebar using wrong color

Prerequisites

  • I have checked that no other similar issue already exists.
  • I have checked that this issue is actually a bug and not a feature.
  • I am running the latest release version.

Operating System

Win 10

Browser

Chrome

Extension Version

v3.1

Components

  • Pinned issues
  • Closed issues
  • Issue timeline
  • Issues tab
  • Issue hovercard
  • Closed pulls
  • Pull timeline
  • Pull hovercard
  • Subscriptions
  • Search
  • Projects
  • Projects (beta)
  • Insights
  • Other (please specify)

Issue

The Projects (beta) sidebar (alpha) test is the wrong color. Maybe difficult to isolate a CSS selector since the css for this portion is obfuscated (why???). Might need to add JS to circumvent this.

https://github.blog/changelog/2022-05-05-the-new-github-issues-may-5th-update/

image

Add icon to manifest.json

Prerequisites

  • I have checked that no other similar feature request already exists.
  • This feature request makes sense for the project.
  • I have checked that this feature does not already exist.
  • I am running the latest release version.

Feature

Add icons to manifest

"icons": {
  "16": "icon16.png",
  "48": "icon48.png",
  "128": "icon128.png"
}

Reason

This will make the extension easier to identify in the installed extensions list.

Closed issue in projects beta is wrong color

Prerequisites

  • I have checked that no other similar issue already exists.
  • I have checked that this issue is actually a bug and not a feature.
  • I am running the latest release version.

Operating System

Windows 10

Browser

Google Chrome

Extension Version

v3

Components

  • Pinned issues
  • Closed issues
  • Issue timeline
  • Issues tab
  • Issue hovercard
  • Closed pulls
  • Pull timeline
  • Pull hovercard
  • Subscriptions
  • Search
  • Projects
  • Projects (beta)
  • Insights
  • Other (please specify)

Issue

image

Issue closed reason

Prerequisites

  • I have checked that no other similar issue already exists.
  • I have checked that this issue is actually a bug and not a feature.
  • I am running the latest release version.

Operating System

Browser

n/a

Extension Version

n/a

Components

  • Pinned issues
  • Closed issues
  • Issue timeline
  • Issues tab
  • Issue hovercard
  • Closed pulls
  • Pull timeline
  • Pull hovercard
  • Subscriptions
  • Search
  • Projects
  • Projects (beta)
  • Insights
  • Other (please specify)

Issue

https://github.blog/changelog/2022-05-19-the-new-github-issues-may-19th-update/

Issues now have two closed states - completed and won't fix, css selectors need to be rechecked.

Closed/completed should be red, closed/wontfix should be gray.

`:has` selector support for Firefox

:has will be supported in Firefox 121 by default (tentative December 19)

Require extension users to use the latest version of Firefox

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/browser_specific_settings#firefox_gecko_properties

"browser_specific_settings": {
  "gecko": {
    "id": "",
    "strict_min_version": "121.0" ← here
  }
}

Tracking:

Print label on closed issue have diffrent color

Operating System

Windows 7

Browser

Firefox / Edge

Extension Version

3.3

Components

  • Pinned issues
  • Closed issues
  • Issue timeline
  • Issues tab
  • Issue hovercard
  • Closed pulls
  • Pull timeline
  • Pull hovercard
  • Subscriptions
  • Search
  • Projects
  • Projects (beta)
  • Insights
  • Other (please specify)

Issue

Printed issues have purple label under header

How to replicate

Ctrl + P with enabled fancy print preview

Example closed issue

#5

Tasks

Closed issues in project table preview is colored wrong

Operating System

Windows

Browser

Chrome

Extension Version

v7.3

Theme

Dark

Components

  • Pinned issues
  • Issues
  • Issue timeline
  • Issues tab
  • Issue hovercard
  • Pulls
  • Pull timeline
  • Pull hovercard
  • Tasklist
  • Discussions
  • Subscriptions
  • Search
  • Print
  • Project Boards
  • Project Tables
  • Insights
  • Other (please specify)

Issue

The check icon is colored incorrectly on project table sidebar previews

image

How to replicate

Closed issue in project table sidebar

JS can be removed

Prerequisites

  • I have checked that no other similar feature request already exists.
  • This feature request makes sense for the project.
  • I have checked that this feature does not already exist.
  • I am running the latest release version.

Feature

Remove js

Reason

Closed pull request timeline now correctly has color-bg-danger-emphasis instead of color-bg-done-emphasis. JS workaround for fixing the CSS is no longer needed.

Color variables are outdated

Color variables need to be updated; old ones can be kept, just extend var(new, old, fallback)

image

--rissue-issue-closed : var(--color-danger-emphasis, #da3633);
--rissue-issue-closed-fg : var(--color-danger-fg, #f85149);
--rissue-issue-closed-bg : var(--color-danger-subtle, rgba(248, 81, 73, 0.1));

Should be:

  • --bgColor-closed-emphasis
  • --fgColor-closed
  • --bgColor-closed-muted #f851491a

Incorrect color on translated site

Prerequisites

  • I have checked that no other similar issue already exists.
  • I have checked that this issue is actually a bug and not a feature.
  • I am running the latest release version.

Operating System

Windows 10

Browser

Any

Extension Version

v3.1

Components

  • Pinned issues
  • Closed issues
  • Issue timeline
  • Issues tab
  • Issue hovercard
  • Closed pulls
  • Pull timeline
  • Pull hovercard
  • Subscriptions
  • Search
  • Projects
  • Projects (beta)
  • Insights
  • Other (please specify)

Issue

Projects beta shows wrong color when site is used in another language1:
https://github-com.translate.goog/users/Katsute/projects/14?_x_tr_sl=en&_x_tr_tl=ja

Caused by aria labels using translated name:
https://github.com/Katsute/GitHub-Red-Issues/blob/6da124f3ac9888a1b12f8b6b7aba5579d1f72820/src/style.css#L44-L46


Additionally closed issues will also have the wrong color1:
https://github-com.translate.goog/Katsute/GitHub-Red-Issues/issues/5?_x_tr_sl=en&_x_tr_tl=ja

Caused by titles using translated name:
https://github.com/Katsute/GitHub-Red-Issues/blob/6da124f3ac9888a1b12f8b6b7aba5579d1f72820/src/style.css#L18-L24


aria and title attributes should not be used for determining css

Footnotes

  1. Sample is provided to demonstrate that the aria and title labels are not static. The extension does not run on the google translate domain. 2

This plugin is incompatible with waterfox error

Operating System

Arch Linux

Browser

WaterfoxLimited Waterfox G6.0.9

Extension Version

8.0.0

Theme

Light

Components

  • Pinned issues
  • Issues
  • Issue timeline
  • Issues tab
  • Issue hovercard
  • Pulls
  • Pull timeline
  • Pull hovercard
  • Tasklist
  • Discussions
  • Subscriptions
  • Search
  • Print
  • Project Boards
  • Project Tables
  • Insights
  • Other (please specify)

Issue

圖片

How to replicate

install the latest waterfox
install this
profit(?)

Task completion circle colored incorrectly

Operating System

Windows

Browser

Chrome

Extension Version

v7.3

Theme

Dark

Components

  • Pinned issues
  • Issues
  • Issue timeline
  • Issues tab
  • Issue hovercard
  • Pulls
  • Pull timeline
  • Pull hovercard
  • Tasklist
  • Discussions
  • Subscriptions
  • Search
  • Print
  • Project Boards
  • Project Tables
  • Insights
  • Other (please specify)

Issue

Task progress should only be colored red on project tables, everywhere else is blue

image

How to replicate

This issue

Minimize css + js

Feature

Minimize css + js.

Reason

Comments are unnecessary for the end-user.

Settings update is colored incorrectly

Operating System

Windows

Browser

Chrome

Extension Version

v7.3

Theme

Dark

Components

  • Pinned issues
  • Issues
  • Issue timeline
  • Issues tab
  • Issue hovercard
  • Pulls
  • Pull timeline
  • Pull hovercard
  • Tasklist
  • Discussions
  • Subscriptions
  • Search
  • Print
  • Project Boards
  • Project Tables
  • Insights
  • Other (please specify)

Issue

Updating settings shows a small check which should not be recolored red

image

How to replicate

https://github.com/settings/codespaces

Change editor preference

Example closed issue

This issue is used for testing, check:

user card ↗

Tasks

  1. 1 of 1
  2. 10 of 11
  3. 0 of 1
  4. css firefox manifest
    Katsute
  5. 10 of 11

Tasks

  1. 1 of 1

Tasks

  1. 10 of 11

Tasks

  1. 0 of 1

Tasks

  1. css firefox manifest
    Katsute

Tasks

  1. 10 of 11

Use this repo to check any edge cases: https://github.com/refined-github/sandbox

Example opened issue

#5

Tasks

reborn fork for Firefox

Prerequisites

  • I have checked that no other similar feature request already exists.
  • This feature request makes sense for the project.
  • I have checked that this feature does not already exist.
  • I am running the latest release version.

Feature

reborn forked repo https://github.com/iam-py-test/GitHub-Red-Closed-Issues-Extension / maybe enable shorter name https://github.com/iam-py-test/GitHub-Red-Issues (but then long name no longer works, GitHub/MS issue).

Reason

Was active in the past.

Implement custom `accent-color` in notifications?

Feature

li.notifications-list-item:has(:not(.State.State--merged):not(.TimelineItem-badge) > svg.octicon-issue-closed) {
        accent-color: var(--rissue-issue-closed-fg)
}

obraz

Reason

Compatible with Chromium 105+ and maybe in future with Firefox.

P.S. I detected some not locked PR/issues to collaborators only. Example action to improve auto close:

yml action code
name: 'gatekeeper'

on:
  schedule:
    - cron: '0 0 * * *'

jobs:
  lock:
    runs-on: ubuntu-latest
    permissions:
      issues: write
    steps:
      - uses: dessant/lock-threads@v3
        with:
          github-token: ${{ github.token }}
          issue-inactive-days: '40'
          exclude-issue-created-before: ''
          exclude-any-issue-labels: ''
          add-issue-labels: ''
          issue-comment: 'This thread was automatically locked because there was no activity after it was closed. Please open a new ticket for related issues.'
          issue-lock-reason: 'resolved'
          pr-inactive-days: '40'
          exclude-pr-created-before: ''
          exclude-any-pr-labels: ''
          add-pr-labels: ''
          pr-comment: ''
          pr-lock-reason: 'resolved'
#         process-only: 'issues'

Closed icon in issues again is purple

See:

obraz

My idea for hotfix:

/* issue icon */
   span > svg.octicon-issue-closed {
        color: #F85149 !important;
    }
    .issue-closed-done .TimelineItem-badge[class*="done"] {
        background-color: #F85149 !important;
    }

Or try found better.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.