Page MenuHomePhabricator

Implement conversion process for non-collaborationhub pages detected to be subpages of a collaborationhub
Closed, DeclinedPublic

Description

We need a way to convert arbitrary other content model pages to ch pages. This may be through specialchangecontentmodel or through specialeditcollaborationhub or something else.

Effectively, the conversion is as follows: new collaborationhub page is made with generally empty fields; all existing content is shoved into the 'content' field, and the content type is set to whatever th contentmodel of the existing content was. It proceeds to render exactly as was, but now embedded in a collaborationhub page.

There are two ways a user would do this:

  • Go to the special page explicitly and tell it what page to convert
  • A js that automatically detects pages that exist as subpages to a collaborationhub and adds a tab or similar to convert that page