Vira Vitanska created DATALAB-2812:
--------------------------------------

             Summary: [Back-end]DataLab Manage images (All users)
                 Key: DATALAB-2812
                 URL: https://issues.apache.org/jira/browse/DATALAB-2812
             Project: Apache DataLab
          Issue Type: Task
      Security Level: Public (Regular Issues)
          Components: DataLab Main
            Reporter: Vira Vitanska
            Assignee: Hennadii Shpak
         Attachments: image-2022-05-19-12-19-31-573.png, 
image-2022-05-19-12-19-47-670.png, image-2022-05-19-12-20-39-247.png, 
image-2022-05-19-12-20-55-941.png, image-2022-05-19-12-21-41-339.png, 
image-2022-05-19-12-22-46-752.png

_*As a Regular User I should be able to view and manage all images created by 
me, so that I can safe my time and use existing images whenever I need to use 
the instance with the same functionality.*_
h3. To-do list:
 * Add new panel in the Regular User section of the main menu (see Wireframe 1 
below)
 * Add table to view parameters for images (Wireframe 2 below)
 * Add Action menu for images (item by item)
 * Add Action menu for images (bulk items) {color:#de350b}Should be postponed 
as it is for admin role?{color}
 * Add Share image feature _-{color:#de350b} in progress{color}_
 ** Select users pop-up window to share image(s) _- {color:#de350b}in 
progress{color}_
 ** Add shared status pop up window that display the list of user groups with 
whom the image have been shared _- {color:#de350b}in progress{color}_
 * Add image pop up window that display details about this image (all 
parameters) _- {color:#de350b}in progress{color}_{color:#de350b} {color}



*1.  Add new panel in the Regular User section of the main menu:*
Add new "Images" panel in the main menu for Regular Users
*Wireframe 1.*

!image-2022-05-19-12-19-47-670.png!

2. *Add  table to view parameters* for images

The image table should contain next columns:
 * Image name - custom image name that has been assigned by user when creating 
the image
 * Project name - project name for the instance which was used to create the 
image
 * Creation date - date and time when the image has been created displayed 
according to the *current standard (which is the Time and Date Localization 
Formatting) (UPD)*
 * Endpoint type - endpoint for the instance which was used to create the image
 * Template name - the name of the template (custom or cloud) which was used to 
to create the instance and later the image
 * Instance name (and link to the env) - instance name that was used to create 
the image
 * Image status - current status of the image that inform user whether image is 
active or not. There might be next types of states:
 ** Created - if the image has been successfully created and added to the list 
of images;
 ** Creating - status which is displayed when the image creation request has 
been sent to the DataLab but the processes was not completed either 
successfully or not successfully;
 ** Failed - if the image has not been successfully created and added to the 
list of images (the process has failed but some information was saved to 
display it in the list of images);
 ** Terminated - when the regular or admin user has deleted/terminated 
successfully the image (possible only as the next state after the "created")
 * Shared status - current status of the image that inform user whether image 
has been shared with other users or user groups. There might be next types of 
states:
 ** Private - the image is not shared with any other user except the user who 
has created this image and admin users. Other users or user groups does not 
have access to this image;
 ** Shared - the image is shared with the other users/user groups. The 
specified users/user groups have access to the image. For images with shared 
status there is also action icon "?" that allows to call the pop up menu with 
additional information about the list of users/user groups who have the access 
to this particular image
 * Image - column contain action icons which allow users to call the
 ** pop up menu with the information and
 ** action menu - the pop-up window to perform additional operations at the 
image level (should be the same design as on the Users, Instances and Images 
panels).

*Wireframe 2:*

*!image-2022-05-19-12-20-55-941.png!*

 

3. *Add Action menu for images* (item by item)
 * Regular User should be able to view and manage all the images created by him 
on his project(s)
 * Share and terminate options should be enabled for the images with Created 
status only !image-2022-05-19-12-21-41-339.png!

4. *Add Action menu for images* (bulk items)
 * Regular User should be able to view and manage all the images created by him 
on his project(s)
 * If Regular User has selected >=1 images with Created status the Share and 
Terminate options in the Action menu should be enabled
 * If the User select 1+ images and at least one of the images has Terminated, 
Failed or Creating status, the Share and Terminate actions should be disabled 
in the Action list.


 * {color:#de350b}_In progress: check boxes behavior if the image process is 
still running_{color}

!image-2022-05-19-12-22-46-752.png!



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to