Adds a new pulls tab to the user profile which will then display the last 6 months of pull requests for a user.
Ideally this would have some sort of paging or a way to limit the number of pull requests displayed?
Adds a new pulls tab to the user profile which will then display the last 6 months of pull requests for a user.
Ideally this would have some sort of paging or a way to limit the number of pull requests displayed?
None yet.
None yet.
Signed-off-by: Will Andrews <will7989@hotmail.com>
I actually have a local benanch with a common pagination template I drafted up to get issues and pulls using the same stuff. I鈥檓 yet to create a proposal for it, but if you are down I can brining it in to see if it鈥檚 the direction the tangled folks would be ok with
Oh nice! Just checked out your PR and that would be super useful for this!
is this patch an implementation of https://tangled.org/tangled.org/core/issues/367? looking at the code:
i assumed the linked issue was a sort of "my work" tab, that surfaces the most recent pulls/issues; so one can quickly jump back in!
I was a bit conflicted with which to do so went with the easiest to implement 馃
I liked the idea of a "work tab" but that seemed like it was a whole other thing that probably needed more thoughts and design around whereas putting a list of pulls (and issues next) as another tab on the user profile didn't really need any thought or design for.
And like you said, pulls and issues are public anyway so it's not really showing any more information that's not available, it's just making the information easier to view.
But if you prefer a dedicated page / section for "my work" (which I'm onboard with and would be super useful) I can switch to starting to do something like that instead.
i think I do prefer a "my work" style tab. this would need more design thought however (maybe it surfaces more "active" issues, contains a list of "unread" comments etc. at the very least, I think it could start off with the most recent pulls and issues submitted by the user. preferably in a single page.
Yh totally fair and that's a nicer feature too.
I'll close this PR and we can move the discussion around what it's going to look like into the issue https://tangled.org/tangled.org/core/issues/367
This is very simple and naive at the moment. I've tested locally and links work etc but I have a small dataset of pull requests for repos in my local environment.