peregrine-cms icon indicating copy to clipboard operation
peregrine-cms copied to clipboard

Feature/personal hp

Open cmrockwell opened this issue 5 years ago • 0 comments

As discussed here's draft PR so the team is aware about about the initiative and can review as it develops.

Scenarios

  1. Given I am a new user on first login, and I accepted the terms. Then I see the welcome screen (/admin/pages/onboard/welcome.html) having three buttons. Given I click on "Create Your ~ Page," then I go /admin/pages/homepage.html and a modal opens. Screen Shot 2021-04-21 at 3 43 05 PM

Initialization Modal Screen Shot 2021-04-27 at 1 12 48 PM

  1. Given I am not a new user, and I am on any tooling page having the global Peregrine CMS nav. When I click on the user icon in the upper right, the Profile button is enabled. Given I click on the Profile button, I will then go to page /admin/pages/homepage.html Screen Shot 2021-04-27 at 1 09 36 PM

  2. Given I am on /admin/pages/homepage.html, and I have not initialized my ~page, then preferences['tildaPage'] should be false. Then the initialization modal will open upon first loading. If I cancel the modal or it closes for any reason, and I still have not initialized my ~ page, then the modal reopens using the button on /admin/pages/homepage.html "Create Your ~Page" Screen Shot 2021-04-27 at 1 07 56 PM

  3. Given I have initialized my ~ Page, adding rich text content

  4. Given I have initialized my ~ Page, and I want to change the tildaURI and other initial ~page properties

Tasks / Inventory

UI Flows both link user to /admin/pages/homepage.html [X] Button for Personal ~Page on the on-boarding page [X] Enable Profile button from toolingpage user drop-down [X] Tooling-page /admin/pages/homepage.html consumes /perapi/admin/access.json [X] AccessServlet respons preferences['tildaPage'] = This means that either the user has initialized their ~page (true) or not (false). It is backed by a node property preferences/tildaPage under the users' home [X] ~Page name validation (backend) [X] ~Page name validation (frontend) [X] Backend method to check whether ~Page name exists [X] Backend service to create ~Page under user space assuming the name is valid and does not already exist [X] Frontend modal to initial ~ Page [ ] Rendering component for an initialized ~page [ ] Publishing in this case means the user's ~Page will be publicly accessible via /~selected-and-unique-uri.html [ ] Editor to add content to ~ Page [ ] Buttons to publish and unpublish ~Page [ ] Button to permanently delete ~Page

Out of scope

Some features are needed but will be out of scope for this PR

  • A way to upload files including images to ~ Page
  • A maximum amount of disk space available to ~ Page
  • An image component available to the ~ Page editor
  • User ~Page fragment rendering selector
  • Tenant users "Team Page" aggregation
  • Invite users to Tenant group

cmrockwell avatar Apr 27 '21 17:04 cmrockwell