This repository was archived by the owner on Nov 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
Item process experience #249
Copy link
Copy link
Open
Labels
Description
Introduction
Marketplace item with access control has updated in v1.6 version of MP rest-server. It will be more user-friendly to make users not only can view templates and use templates in OpenPAI platform, but also directly edit, copy, view access details, and leverage access control ability in creating process.
Issues / Motivations
Proposals / Solutions
Edit
- Edit template name or description or other metadata
- Name
- Summary
- Description (Editable, use description template by default)
- Access Control
- Don't touch protocol (Add update protocol function or VCS for protocols in a future version)
- Hide create time,display last edit time
- Use edit state for item detail page, switch to form input style page, reuse to create item.
Copy
- Copy button with the same position as Delete button.
- Behavior:
- Change author name to the current user, (what will happen with unauthorized prerequisites / SKU mismatch/storage / virtual cluster ? Maybe add check and highlight, have troubleshooting)
- Pop a window to rename, and change access control (same as origin by default)
- Post to MP rest-server (need record fork from which item ?)
View
- Show item access control info (private/public/shared), for shared status, users can click on to view detail shared-to info
- where to display
- display behavior
- public/private can't click
- shared(restricted/protected): click to show detail share-to info
- edit behavior: toggle in edit state
- If select all group, shouldn't convert implicitly to public access.
Create
- Add access control option in the current item creation process, default is public, may share a react component with "save to template" access control selector. Save Template Experience Improvement Design #253
Work Plan
Process Check List
- Item 1
- Item 2
Test cases
- Test 1
- Test 2


