ita-social-projects / GreenCity

The main aim of “GreenCity” project is to teach people in a playful and challenging way to have an eco-friendly lifestyle. A user can view on the map places that have some eco-initiatives or suggest discounts for being environmentally aware (for instance, coffee shops that give a discount if a customer comes with their own cup). А user can start doing an environment-friendly habit and track their progress with a habit tracker.
MIT License
65 stars 80 forks source link

[Edit Event] Uploaded image for the event cannot be edited #7357

Open Roksana77 opened 1 month ago

Roksana77 commented 1 month ago

Environment: Windows 10, Chrome 127.0.6533.89, 64-bit. Reproducible: always Build found: 10.08.2024

Preconditions 1.The page https://www.greencity.cx.ua/#/ is opened. 2.The user is logged in.

Steps to reproduce 1.Create event on page 'Events'. 2.Click on 'Edit' button. 3.Upload the image with the size less than 10MB. 4.Check if it's possible to chose area to display and edit it.

Actual result Photo is partly visible with the button 'Edit image', which is disable. https://drive.google.com/file/d/18nrcjxvaa6OG4of6TRIhRhc-j3736YDH/view?usp=sharing

Expected result Photo is visible just with the chosen area. during editing.

Postconditions Close Event's card.

User story and test case links https://github.com/ita-social-projects/GreenCity/issues/3193

Labels to be added

bzhn commented 2 weeks ago

@Roksana77 Can't reproduce the bug. Toast message shows as expected after following all steps from issue description.

Image

I used the image from this site

https://svs.gsfc.nasa.gov/vis/a030000/a030800/a030877/frames/5760x3240_16x9_01p/

Roksana77 commented 2 weeks ago

Yes, but still we have problem with editing pictures with correct size. It's impossible to edit. And in general it's difficult to edit event and it's impossible to see it edited without reloading the page.

https://drive.google.com/file/d/18nrcjxvaa6OG4of6TRIhRhc-j3736YDH/view?usp=sharing