Problem: enhancing the process with logo and banner moderation raised an issue with the existing flow of image management - it is possible only to remove the image, not to update it. So it is necessary to add one more action allowing the user to change the image that will go through the moderation process, meanwhile keeping the existing images in the DB and continue showing them to all other users of the website until the new one is approved
Acceptance criteria:
Add new action Змінити next to Banner and Logo fields on the Company profile page:
IF image hasn't been added THEN show Оберіть файл button
IF image is added THEN show Змінити, Видалити зображення (Видалити логотип) actions instead
Click on Змінити must invoke the same pop-up as for Оберіть файл button
IF image added is Approved by admin and new image is added THEN both images must be stored in the DB until the last one is Approved
IF image added is not yet Approved by admin and new image is added THEN the newly added image must be stored in the DB until it is Approved, and previously added not Approved image must be removed
Problem: enhancing the process with logo and banner moderation raised an issue with the existing flow of image management - it is possible only to remove the image, not to update it. So it is necessary to add one more action allowing the user to change the image that will go through the moderation process, meanwhile keeping the existing images in the DB and continue showing them to all other users of the website until the new one is approved
Acceptance criteria:
Змінити
next to Banner and Logo fields on the Company profile page:Змінити
,Видалити зображення
(Видалити логотип
) actions insteadЗмінити
must invoke the same pop-up as forОберіть файл
buttonEPIC: #6