codeforcroatia / popravi.to

This is popular map-based reporting platform FixMyStreet for Croatia named "Popravi.to"
http://popravi.to
Other
9 stars 7 forks source link

Update link/button is not visible on report page #178

Closed schlos closed 1 year ago

schlos commented 2 years ago

Describe the bug

When viewing a report (report details page), update button ("Ažuriraj") is not visible.

For comparison: Update button ("Ažuriraj") is visible if there are already other updates/comments added.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

As per figma.

Screenshots

Current - report without comments - missing Update / "Ažuriraj" button:

Screenshot from 2021-11-24 11-46-11

Current - for comparison - report with comments - Update / "Ažuriraj" button is visible:

Screenshot from 2021-11-24 11-45-50

Expected (Figma design):

https://www.figma.com/proto/OrvZfg5BsfdOzeL7nhRpEI/Popravi.to?node-id=3148%3A11297&scaling=min-zoom&page-id=25%3A186&hide-ui=1

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context

schlos commented 2 years ago

How to contribute? Read our contribution guidelines at https://codeforcroatia.org/popravito-contribution-guidelines.

schlos commented 2 years ago

Temporary fixed by adding button next to the Title.

znmustic commented 1 year ago

@schlos ovo preuzimam :)

schlos commented 1 year ago

Fixed with the pull request #192.

Screenshot from 2023-06-12 09-46-06

Screenshot from 2023-06-12 09-46-37

Screenshot from 2023-06-12 10-22-28

Screenshot from 2023-06-12 10-22-15

Screenshot from 2023-06-12 10-23-42