Graphite GitHub button

Add a button to go from app.graphite.com to github.com

< Σχολιασμός για τον κώδικα Graphite GitHub button

Αναφορά: Εντάξει - ο κώδικας λειτουργεί αλλά έχει σφάλματα

§
Δημοσιεύτηκε: 28/07/2023

If the repo name has dashes, the button won't show.

Need to update the regex to /^\/github\/pr\/([\w-]+)\/([\w-]+)\/(\d+).*$/ instead.

Also the button background makes the text very difficult to see on dark mode.

Topher BrownΔημιουργός
§
Δημοσιεύτηκε: 01/08/2023
Topher BrownΔημιουργός
§
Δημοσιεύτηκε: 05/11/2025

I updated this to fix this issue:
- repo name and project name can have dashes
- I fixed the button to work in dark mode and light mode
- (not this issue) I updated it to work on dev.graphite.com (the new domain)

Sorry this took 2 years!

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.