-
Notifications
You must be signed in to change notification settings - Fork 269
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
Clicking on a notification navigates to the repository instead of the issue/pull request/etc. #1656
Comments
Likely duplicate of #1645 Can you please check the logs to see where it is failing |
Hi, I have the same issue. Here are my logs for clicking on a notification about that a PR got merged that I participated in:
I think it's at least not quite the same issue as the one that you linked @setchy because not only is the fragment
The URL that Gitify opens is:
I'm running Gitify v5.17.0 on macOS. |
Thanks @JakobEdding - I agree, this is a different issue you and @axelrindle are facing. Does this happen for all notification types, or only a subset? The 404 error from the log above appears to be thrown in the below function, which takes a notifications comment url to resolve the html url. gitify/src/renderer/utils/api/client.ts Lines 214 to 221 in a34087b
This is called in two places within our chain of notification html resolving gitify/src/renderer/utils/helpers.ts Lines 121 to 180 in a34087b
Running Gitify from source and debugging locally will be helpful to understanding why the exception is being thrown |
Thanks for your help! I just noticed in the FAQs what scopes Gitify requires the PAT to have. I reused an older PAT that only had the notification's scope enabled and nothing else. I extended the permissions now and everything works fine as expected. |
Great to hear @JakobEdding 🥳 @axelrindle - perhaps this is also the same for your situation 🤞 |
Raised #1685 to help proactively notify users of mismatched scopes For now I'll be closing this issue. Happy to reopen if there are other causes to triage. |
🔍 Is there already an issue for your problem?
📝 Description
While the notifications per se are working fine, navigating to the source of the notification does not. Clicking on a notification immediately removes it from the list and brings me to the main repository page instead of the issue/pull request/etc.
🪜 Steps To Reproduce
Gitify Version
5.16.2
Operating System
macOS
GitHub Account
GitHub Cloud
📸 Screenshots
No response
The text was updated successfully, but these errors were encountered: