magithub icon indicating copy to clipboard operation
magithub copied to clipboard

Refresh issues assigned to me

Open Linuus opened this issue 7 years ago • 6 comments

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?

Linuus avatar Apr 17 '18 19:04 Linuus

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

vermiculus avatar Apr 18 '18 02:04 vermiculus

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

Linuus avatar Apr 18 '18 08:04 Linuus

Yep, alright.

vermiculus avatar Apr 18 '18 11:04 vermiculus

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.

vermiculus avatar May 19 '18 19:05 vermiculus

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 avatar May 21 '18 11:05 Linuus

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.

Linuus avatar Jun 06 '18 12:06 Linuus