vermiculus / magithub

**DEPRECATED - please use Forge instead!** -- Magit-based interfaces to GitHub
GNU General Public License v3.0
579 stars 63 forks source link

Refresh issues assigned to me #321

Open Linuus opened 6 years ago

Linuus commented 6 years ago

Can I refresh the "Issues Assigned to Me" part somehow? If I put the cursor on "Notifications" and press gr they update (there is a typo in the message though "notifcations"). If I put the cursor on "Issues Assigned to Me" and press gr nothing happens (well, the buffer is updated because the time until reset is changed).

Known issue?

vermiculus commented 6 years ago

How does gr differ from the default g? What do you have that bound to?

Linuus commented 6 years ago

Oh, sorry. gr is bound to magit-refresh In evil-magit. So it should be the same as g right?

vermiculus commented 6 years ago

Yep, alright.

vermiculus commented 6 years ago

Sorry it's taken me so long to round back on some of this. Does C-u gr work for you? (C-u here is M-x universal-argument; not sure where it is in spacemacs.) Calling magit-refresh with a prefix argument should prompt to refresh all GitHub data in the buffer.

Linuus commented 6 years ago

No problem. I’ll check when I’m at the computer again. I’ll have to fix my bindings to get universal arg working I think... (I don’t use Spacemacs but I do use evil which binds C-u).

Linuus commented 6 years ago

Sorry for the late reply @vermiculus. Yes, when I run C-u gr it refreshes the list of issues assigned to me (it refreshes all other data as well of course :) ).

When I put the point on "Notifications" header gr is bound to (magithub-notification-refresh). When I put it on the "Issues assigned to me" header it's bound to (magit-refresh). It should be bound to (magithub-issue-refresh) i believe.