Meeds-io / MIPs

The Meeds Improvement Proposal repository
0 stars 0 forks source link

Page Templates Management #133

Closed srenault-meeds closed 4 months ago

srenault-meeds commented 4 months ago

Rationale

The Meeds Layout Manager offers to its users an option to create templates. This standed for delivering out a first version of the Meeds Layout Manager.

Now that this feature is available and admins can edit page, we need to enhance the experience of creating and managing templates Indeed, we aim to provide solutions to following problems:

1. Functional Requirements

Top User Stories

Page Templates Management

Access to templates management As an admin (* in platform/administrators or manager in web-contributors group), I can access the list of templates from the administration site

List templates Templates are listed:

When clicking to preview thumbnail, I can see it full screen

Edition When editing a template, I can change name, description, preview as currently when creating a template When switching the status from activated to not activated, then it will be no more listed in the main list I cannot edit, neither delete a product template. I can deactivate it if needed. I can access the layout template edition using the same icon for consistency

Ability to add template From this page templates management page, I can duplicate an existing template to start a new one

Of course, I can add a template from scratch When doing so, the layout manager opens in a new tab so I can start creating a template. Empty columns template will be used to start from scratch Instead of "publish" option, I have "Save"

Impacts

Gamification

Notifications

Analytics

Template creation Template usage

Unified Search

2. Technical Requirements

Expected Volume & Performance

Minor changes should be applied to Data Model, thus no major changes on data volumetry is needed.

Security

Page templates management should be accessible for /platform/administrators and manager:/platform/web-contributors only.

Extensibility

N/A

Upgradability

N/A

Existing Features

N/A

Feature Flags

No feature flag is needed

Other Non Functional Requirements

3. Impacts

Documentation

Training

4. Software Architecture

Security

The security checks has to be made user UserACL service in Service layer. The REST endpoints has to give access to all /platform/users members.

Access

Services & processing

srenault-meeds commented 4 months ago

To check please @margondicco

srenault-meeds commented 4 months ago

I added an item regarding the option to keep data

srenault-meeds commented 4 months ago

Description updated as discussed @margondicco I let you check. Thanks

margondicco commented 4 months ago

Hello thank you @srenault-meeds. Go fonc

srenault-meeds commented 4 months ago

Update

Node ID can be customized on demand at the creation as it is currently. Once created, I cannot edit it indeed.

Indeed, we won't work on "alias" implementation for now. So we keep the UX regarding node id's management as is

boubaker commented 4 months ago

Ready for tech review @rdenarie

rdenarie commented 4 months ago

Hello, Go tech

srenault-meeds commented 4 months ago

Update

We have reviewed the scope of this MIP to only address the Page Templates Management. Thus:

  1. I have created another MIP for UX for page creation -> #137 (draft for now)
  2. I have removed the following cases: import/export and Keep data when saving template Indeed, these last cases must be studied once we implement the app registry and the ability to instantiate portlets to create apps with configuration and data.

FYI @margondicco

boubaker commented 4 months ago

Update

We have reviewed the scope of this MIP to only address the Page Templates Management. Thus:

  1. I have created another MIP for UX for page creation -> DRAFT - UX review - Create a page #137 (draft for now)
  2. I have removed the following cases: import/export and Keep data when saving template Indeed, these last cases must be studied once we implement the app registry and the ability to instantiate portlets to create apps with configuration and data.

FYI @margondicco

Technical Specification changed as well to delete portlets data inclusion in page templates. (FYI @rdenarie )

boubaker commented 4 months ago

ACCs and PRs are ready to review by Meeds DAO members (eXo: @margondicco @rdenarie )

rdenarie commented 4 months ago

Hello, you can process to the merge

boubaker commented 4 months ago

MIP merged to develop