-
-
Notifications
You must be signed in to change notification settings - Fork 909
Bug: Remove From Dashboard button doesn’t work #986
Comments
Thanks for reporting this issue, @diminutivesloop! This looks like a lack of permissions from the Onegraph instance. @bdougie, could you please look into the permissions of the Onegraph installation? I should add that I was able to reproduce this in the same way that you did. |
I encountered the same problem and just noticed this issue. After going to https://serve.onegraph.com/oauth/github/receive I received this error message: |
@jason1985, I believe this issue you are experiencing is not related to this issue (or maybe I'm just not seeing the connection), it looks like you are talking about the step in which one would install the GitHub app. If you went to the redirect URL just by typing it into the address bar, you would get an error due to the lack of any POST parameters, which are needed for the callback redirect. But if you clicked Install & Authorize it should successfuly complete (if it doesn't, please feel free to open an issue here!) |
I am experiencing the same issue of not being able to remove a repo.
|
@jason1985 wow, what a funny coincidence, I just stumbled upon that Stack Overflow question for a completely different repo of mine! I think the Anyway, thanks for reproducing this, I hope we can fix this ASAP. |
Just confirmed today that this is still a bug. I think there is a disconnect in permissions. That error message is because the remove button should not be a persisted query and instead be calling from the regular queries. |
@bdougie i mispoke on discord - this is actually already a dynamic query, uses open-sauced/src/components/DangerZone.js Lines 13 to 20 in 6043be8
open-sauced/src/lib/apiGraphQL.js Lines 366 to 373 in 6043be8
|
Uh, even weirder that it is not triggering a deletion. I am sure it is something simple. I can take a closer look this weekend. |
Related to #832, IMO (state management issues) |
🎉 This issue has been resolved in version 0.34.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Describe the bug
Remove From Dashboard button doesn’t work.
To Reproduce
I inspected at the GraphQL queries sent by the browser, and while I couldn’t quite tell what they were doing I did notice one them received the following error response:
Expected behavior
The repo should be removed from the list of repos on the dashboard.
Desktop
The text was updated successfully, but these errors were encountered: