vzauartcc / ui

vZAU UI
2 stars 2 forks source link

Nh event to discord #72

Closed ThunderRock13 closed 1 year ago

ThunderRock13 commented 1 year ago

[ZAU-xxxx]


Summary

What does this PR do?

Okay, it adds the upload button next to the delete button in the upcoming events, brings up a submit modal, and clicks it. The first time it will post the event embed (like the bot used to do), and any other time you click it, it will edit it instead so it doesn't send a new one.


DB Changes (if any)

adds button for upload 
adds new API post request adding the message id to the event in the DB

Testing

  1. Run all tests.
  2. Additional testing requirements...

Post-Deployment Validation

How to verify in the production environment.

find an event, click the upload button and submit, after posting, change the position of someone and click submit again.

ghost commented 1 year ago
👇 Click on the image for a new way to code review #### [![Review these changes using an interactive CodeSee Map](https://s3.us-east-2.amazonaws.com/maps.codesee.io/images/github/vzauartcc/ui/72/9e9cbcf1/7064f3fc04510a1dcdf2251601d1fe0e20338b90.svg)](https://app.codesee.io/r/reviews?pr=72&src=https%3A%2F%2Fgithub.com%2Fvzauartcc%2Fui) #### Legend CodeSee Map legend