Page MenuHomePhabricator

Archiving all Spaces leaves sadpanda select behind
Open, Needs TriagePublic

Assigned To
None
Authored By
chad
Sep 15 2015, 7:05 PM
Tags
Referenced Files
F814177: pasted_file
Sep 15 2015, 7:05 PM
Tokens
"Love" token, awarded by kuba-orlik."Love" token, awarded by naktinis."Love" token, awarded by tycho.tatitscheff.

Description

People like to "play" with Spaces, even though they may not actually use it in production. Archiving Spaces is possible, but leaves UI behind.

pasted_file (40×511 px, 5 KB)

Event Timeline

chad raised the priority of this task from to Needs Triage.
chad updated the task description. (Show Details)
chad added a project: Spaces.
chad moved this task to Backlog on the Spaces board.
chad added a subscriber: chad.

@chad @epriestley :

My goal is to edit [[https://secure.phabricator.com/diffusion/P/browse/master/src/view/form/control/AphrontFormPolicyControl.php;23b2653f52cd16bc9cedfdf7328d401171e668ca$328-358 | AphrontFormPolicyControl::buildSpacesControl ]] to return null also when only default Space is remaining active.

My proposal is to replace [[ https://secure.phabricator.com/diffusion/P/browse/master/src/view/form/control/AphrontFormPolicyControl.php;23b2653f52cd16bc9cedfdf7328d401171e668ca$337-340 | this call to PhabricatorSpacesNamespaceQuery::getViewerSpacesExist($viewer) ]] by a call to PhabricatorSpacesNamespaceQuery::getViewerActiveSpacesExist($viewer).

The PhabricatorSpacesNamespaceQuery::getViewerActiveSpacesExist($viewer) don't exist so i will create something similar to [[ https://secure.phabricator.com/diffusion/P/browse/master/src/applications/spaces/query/PhabricatorSpacesNamespaceQuery.php;23b2653f52cd16bc9cedfdf7328d401171e668ca$95-104 | PhabricatorSpacesNamespaceQuery::getViewerSpacesExist($viewer) ]] using $spaces = self::getActiveViewerSpaces($viewer) instead of $spaces = self::getViewerSpaces($viewer).

Did you agree on the fix ? Am I authorized to Submit a diff. I would be very pleased.

I'm not quite sure if I should expect a response (here or on IRC) before submitting some code. Or if the maniphest task is sufficient.

eadler added a project: Restricted Project.Aug 5 2016, 5:09 PM

In Barcelona we're looking at the same problem: how to deactive Spaces? After archiving all spaces, the UI still keeps on showing the Space dropdown with default Space. We would be glad to simplify life of our users, and haven't seen the added value of Spaces as such. If anyone could give us a hint that would be greatly appreciated. Thanks in advance!