Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "copy link to file" anchor for each file diff #326

Open
evangrim opened this issue Oct 25, 2022 · 0 comments
Open

Add "copy link to file" anchor for each file diff #326

evangrim opened this issue Oct 25, 2022 · 0 comments

Comments

@evangrim
Copy link

Feature Request

Generate anchors for each file diff, and a button to copy URL with diff, for instance
https://react-native-community.github.io/upgrade-helper/?from=0.62.2&to=0.68.4#metro.config.js

Why it is needed

Throughout upgrading, I need to make decisions based on educated guesses (I'm not really an expert in the ecosystem). There are a lot of loose ends to follow up on -- this or that outdated package, various hacks involved in installing them, etc.

Being able to easily copy a reference to a specific file diff would help me provide context for such notes.

Possible implementation

Each file diff (header or container) has an ID based on its path. Add "Link" icon next to "Copy file path" using same clipboard mechanism.

Code sample

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant