waterthetrees / wtt_front

Water the Trees React frontend
https://waterthetrees.com
Creative Commons Zero v1.0 Universal
9 stars 24 forks source link

move tree maintenance form from dialog to inside sidepanel #782

Closed arc6789 closed 10 months ago

arc6789 commented 10 months ago

Description:

Moving the maintenance dialog form into a sidepanel within the tree details section. You can access this form when clicking on the maintenance button. Details including mockups and feature requirements are included here https://github.com/waterthetrees/wtt_front/issues/564

New maintenance side panel:

Screenshot 2023-11-13 at 8 32 39 PM

Success modal after form has been submitted:

Screenshot 2023-11-13 at 8 31 43 PM

Maintenance information on the tree details section:

Screenshot 2023-11-13 at 8 36 42 PM
arc6789 commented 10 months ago

@zoobot The images got included in this PR. I am assuming we don't want those checked in? Because there are a ALOT...

zoobot commented 10 months ago

@zoobot The images got included in this PR. I am assuming we don't want those checked in? Because there are a ALOT...

Yes please remove.

Also, I think you will need to update the snapshot so the tests work. Let me know if you need help with that. I think we have docs on it. https://github.com/waterthetrees/waterthetrees/wiki/Testing

I don't see docs on how to update but the flag to update the snapshot is -u

arc6789 commented 10 months ago

@zoobot The images got included in this PR. I am assuming we don't want those checked in? Because there are a ALOT...

Yes please remove.

Also, I think you will need to update the snapshot so the tests work. Let me know if you need help with that. I think we have docs on it. https://github.com/waterthetrees/waterthetrees/wiki/Testing

I don't see docs on how to update but the flag to update the snapshot is -u

I have updated the snapshot as well as the text!

arc6789 commented 10 months ago

@arc6789 I am not seeing this on the dev server. I merged and pulled latest code, ran the build. Should I see it? https://dev.waterthetrees.com

I can see the new sidepanel given the link above. Maybe you need to clear your cache?