Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Event now works properly and as intended. #165

Merged
merged 7 commits into from
Sep 16, 2020
Merged

Conversation

thai-truong
Copy link
Collaborator

@thai-truong thai-truong commented Sep 16, 2020

After creating an event, the browser redirects to the newly created
event's EventDetails page

Thai added 5 commits September 13, 2020 13:50
After creating an event, the browser redirects to the newly created
event's EventDetails page.

Note that fbURL and canvaURL both have to either be empty or filled
out with a proper URL string, otherwise a status code 400 will be
sent from the backend server.
@thai-truong thai-truong added bug Something isn't working enhancement New feature or request labels Sep 16, 2020
@thai-truong thai-truong requested a review from a team September 16, 2020 09:05
@thai-truong thai-truong self-assigned this Sep 16, 2020
@netlify
Copy link

netlify bot commented Sep 16, 2020

Deploy preview for hknucsd-portal-dev ready!

Built with commit d6d37f0

https://deploy-preview-165--hknucsd-portal-dev.netlify.app

@thai-truong
Copy link
Collaborator Author

Okay well my git history is messed up... Guess I'll be fixing merge conflicts pretty soon

@@ -158,4 +157,4 @@ function App(): JSX.Element {
);
}

export default config.nodeEnv === 'development' ? hot(App) : App;
export default process.env.NODE_ENV === 'development' ? hot(App) : App;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why revert back

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I messed up with merging or pulling somewhere along the line... I did not change it back myself :)))

@thai-truong thai-truong merged commit f5077aa into dev Sep 16, 2020
@thai-truong thai-truong linked an issue Sep 19, 2020 that may be closed by this pull request
godwinpang pushed a commit that referenced this pull request Sep 20, 2020
* Tsconfig changes again : (

* Fixed merge issue

* Create Event now works properly and as intended.

After creating an event, the browser redirects to the newly created
event's EventDetails page.

Note that fbURL and canvaURL both have to either be empty or filled
out with a proper URL string, otherwise a status code 400 will be
sent from the backend server.

* Added url validation to create event form's schema's fbURL + canvaURL.

* Changed process.env in src/index.js to using config.
@godwinpang godwinpang deleted the event_creation_fix branch September 20, 2020 22:09
thai-truong added a commit that referenced this pull request Oct 3, 2020
* Tsconfig changes again : (

* Fixed merge issue

* Create Event now works properly and as intended.

After creating an event, the browser redirects to the newly created
event's EventDetails page.

Note that fbURL and canvaURL both have to either be empty or filled
out with a proper URL string, otherwise a status code 400 will be
sent from the backend server.

* Added url validation to create event form's schema's fbURL + canvaURL.

* Changed process.env in src/index.js to using config.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create Event
2 participants