-
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
fix: discussions-url #538
fix: discussions-url #538
Conversation
38732de
to
576f160
Compare
576f160
to
09020ae
Compare
106499b
to
8c93f91
Compare
hey @Araxeus - this is great work but it's a bit much for one PR. Can we split this up so we can more effectively review? For example, es2020 upgrade should be a standalone PR. |
First of all thank you for taking the time to look at this PR and give feedback, I really appreciate it :) The way I see it, All changes are directly related to the main change (discussion-url)
Btw I have 2 more PR's ready that depends on this one but are unrelated, so I'm waiting for this one to be merged first Maybe I'm mistaken or missing something? please let me know your thoughts |
I could make the commentId linking optional in and then changing both to and then maybe make it enabled by default? in: once again that would be more seemingly unrelated code so maybe in a follow-up PR if needed |
@codebytere Thing is, this PR spiritually builds on top of #487. That PR is a smaller chunk of this one, but it's sitting without being merged. So I understand that this one is big, but also there's actions that could be taken to make it less imposing, and those are blocked until a maintainer can help move existing PRs forward. Should we open a broader discussion on how to improve the maintenance of this repo? |
@manosim @codebytere whats up? If this repo is abandoned, can you transfer ownership or give release rights to other people? |
@afonsojramos thoughts? |
@Araxeus haven't reached this one yet. Still combing through the issues while on a full-time job. This repo will eventually be ✨ cleaned out ✨! |
very excited for this feature to be added 🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!! Great PR here! I do agree that it might be bigger than the standard, but still very manageable.
Haha amazing, it only took 2 years for this PR to get some love 😅 Might be worth to take a look at the other patch/fix I had lined up (fix native notifications not marking as read on click in 1eaaa74 / Araxeus/gitify@discussions-url-fix...markOnClick-native-notification) |
Better late than never 😅 Let's keep on working on this and maybe think of a Tauri rewrite 👀 |
fix #521 fix #531 fix #500 (indirectly)
Feats:
subject.last_comment_url
or special logic for discussions)repo
auth scope (can be reverted, but it allows the discussion fix to work on private repo notifications)es2020
to allow newer syntaxwe get the Discussion thread url using GraphQL search in both NotificationRow and NativeNotification
main filters are the discussion's
repo
,name
(exact match),lastUpdated
(>notificationCreationTime-2Hours), andviewerSubscription
(only if there are still multiple discussions with the same exact name that qualify)if either:
then it will default to the method in #487
Notes
utils/helpers.ts
(and implemented incomponents/NotificationRow.tsx
andutils/notifications.ts
)I'm guessing this Repo is abandoned (no activity and all dependencies out of date) but I hope this can help someone
if anyone wants an updated Gitify windows setup.exe that includes this and a few more fixes - its available at https://github.com/Araxeus/gitify/releases/tag/v4.3.2