Ref T8687, Events should offer Spaces as the view policy options
- Group Reviewers
- Maniphest Tasks
- T8493: Integrate Spaces into more applications
T8687: Implement Spaces in Calendar events
- Restricted Diffusion Commit
rP76e69f0be5c1: Events should offer Spaces as the view policy options
Create event, choose default Space, save, edit, choose different Space, save, new policy should be reflected on Event.
In PhabricatorCalendarEventSearchEngine->renderResultList(), you may also need to call setObject() (and maybe setUser()) on the PHUIObjectItemView objects. That will make the Space appear in the list like this, if it's non-default:
Without this, I'd expect the list view not to show spaces correctly.