Together-100Devs / Together

Together is a group calendar application using the MERN stack intended to bring discord communities closer!
https://together.cyclic.app/
MIT License
167 stars 112 forks source link

Clicking "New Event" after event submission routes you back to landing page #269

Closed MatthewBozin closed 1 year ago

MatthewBozin commented 1 year ago

Intro

This issue has been opened specifically to give 100Devs members a chance to get involved. The issues presented will have more instruction and be easier to solve. If you are already contributing to this project or your skills are well-ahead of this issue, consider letting someone else take this on!

Summary

Our button to create a new event after submitting a new one is wrapped in an anchor tag with an href to the landing page (/)

To Reproduce

Steps to reproduce the behavior:

  1. Go through the event creation form
  2. Submit it
  3. Click on "New Event"
  4. You'll be on the landing page

The Task

Creating your branch

Setting up a local server

What you need to do

Remove the anchor element surrounding the "New Event" button. Modify the css of the elements so that the page visually remains the same. (Or a janky solution would just be to turn the anchor tag into a div with the exact same css classes.)

When you are done

-Use git add . and then git commit -m 'add a descriptive commit message here' to commit your changes to your local branch. -Push your commit(s) using git push. -Open your fork in github and you will see a message saying you can create a pull request. Make sure your pull request is pulling into the 'development' branch instead of 'main'.

Other Info

Who to contact

If you have any questions, you can either send a message in the Together channel in 100Devs Discord or contact @MatthewBozin.

Relevant file locations

client/src/features/form/FormSuccess.js

Potential Problems

If you're interested in working on this feature, please comment so you can be assigned

MatthewBozin commented 1 year ago

Remade #251 as a 100Devs first try issue.

mjbramich commented 1 year ago

Hey, i'd like to help with this issue.