Page MenuHomePhabricator

If a user has collections, their last 3 collections show up on their mobile user profile
Closed, DeclinedPublic3 Estimated Story Points

Description

In beta:
If a user has collections, cards for the last 3 public collections show up on their mobile user profile and below them is a link to their collections.

A link at end should say 5 collections when you have 5 collections.

(Note the Special:UserProfile page still needs a lot of love design wise)

Note this mock is aspirational, but you should use it as the basis for this change:

profiles.png (994×335 px, 260 KB)

Details

Event Timeline

JKatzWMF raised the priority of this task from to Needs Triage.
JKatzWMF updated the task description. (Show Details)
JKatzWMF added a project: Gather.
JKatzWMF moved this task to This Sprint on the Gather board.
JKatzWMF subscribed.
Jdlrobson updated the task description. (Show Details)

Design for this is unclear and needs discussion. Currently we only show last edit, last upload. Showing last 3 collections is a big change

Jdlrobson edited a custom field.
Jdlrobson moved this task from In Analysis to Ready for dev on the Gather Sprint Greatest Hits board.
Jdlrobson updated the task description. (Show Details)

Hopefully I'll get round to this tomorrow. Got caught up in writing tasks around performance and dealing with all the SWAt deploys needed today, sorry.

Change 209542 had a related patch set uploaded (by Jdlrobson):
Render 3 collections on user profile

https://gerrit.wikimedia.org/r/209542

The patch I've submitted shows the latest 3 collections.
If I own the profile private ones will show up.
If I don't the first three collections alphabetically
T98503 is needed to take this any further cc @Tgr

Screen Shot 2015-05-07 at 7.42.12 PM.png (635×711 px, 198 KB)

css is not perfect
@JKatzWMF I can make this beta only or stable - what do you prefer?

What about the "link at end should say 5 collections when you have 5 collections" part? I don't think we have API support for that. (I'm not even sure it fits into any of the existing APIs.)

@Tgr good spot - I've created T98633 in mean time "view all collections should suffice here"
@JKatzWMF need your feedback on https://phabricator.wikimedia.org/T96226#1269728

In the mobile frontend patches, they are mostly ready, just the second needs some comment to florian.

I'm fighting Jenkins and Qunit to get the first one merged, but they are wining (See T98377)

The third one is +2ed.

The Gather patch is blocked on missing comments from @JKatzWMF to @Jdlrobson's questions above here.

I'm moving it to -1 for the moment. Feel free to move it to code review & poke me if you want reviewing.

Let's finish this when the blocking task is completed.

@Jdlrobson - not sure if the question addressed to me (Beta v. stable) is still relevant, but I think it should go in beta-only for now.

Change 209542 abandoned by Jdlrobson:
Render 3 collections on user profile

Reason:
Whilst the bug is unresolved and the future of user profile seems in flux.

https://gerrit.wikimedia.org/r/209542

MBinder_WMF subscribed.

This task was declined as part of a batch-decline related to sunsetting the Gather project. Please ping (politely) if this task should be reopened. For more information, you can also see here: https://www.mediawiki.org/wiki/Extension:Gather