Page MenuHomePhabricator

Add a hide button to collections
Closed, ResolvedPublic1 Estimated Story Points

Description

If I visit http://en.m.wikipedia.beta.wmflabs.org/wiki/Special:Gather/by/Jdlrobson/5 there is a hide button.

CollectionsFlagging2.png (1×1 px, 305 KB)

On clicking the hide button I see a confirm message to hide the collection.
When confirming I see a confirmation message saying the collection has been hidden and the page is not reloaded.

Note: In future we will put this in a drop down menu - but for now an icon is fine.

Event Timeline

Jdlrobson raised the priority of this task from to Needs Triage.
Jdlrobson updated the task description. (Show Details)
Jdlrobson added a project: Gather.
Jdlrobson moved this task to Some day on the Gather board.
Jdlrobson added a subscriber: Jdlrobson.

Should probably consider this in the current sprint. I think it is important.

@MSyed if we need to work on this next sprint please prepare a mock asap.

Mock is attached here.

When you click the "..." button on someone else's collection a drop down appears with "flag" and "hide" options. The dropdown is very similar to the drop down in VE on mobile.

The flag icon and hide icon are attached here too.

CollectionsFlagging.png (1×1 px, 465 KB)


Jdlrobson renamed this task from No way to moderate a certain collection from the collection itself to Add a hide button to collections.Apr 13 2015, 5:46 PM
Jdlrobson updated the task description. (Show Details)
Jdlrobson added a subscriber: MSyed.

Change 205440 had a related patch set uploaded (by Jdlrobson):
Show hide button on collection itself

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

Patch is borked. I don't know what happened with the dependency but it doesn't make sense now. I've tried to rebase it with head (PS2).

Halp?

Also I can't see the flag button locally, and beta labs is breaking so I can't actually even try to fix it myself.

Change 205440 merged by jenkins-bot:
Show hide button on collection itself

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