Graphite GitHub button

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

< 脚本 Graphite GitHub button 的反馈

评价:一般 - 脚本能用,但还有一些问题

§
发布于:2023-07-28

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作者
§
发布于:2025-11-05

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!

发布留言

登录以发布留言。