-
Notifications
You must be signed in to change notification settings - Fork 0
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
M3 Trip Create/Edit #25
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@samuraikun |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left just few comments !
@@ -0,0 +1,106 @@ | |||
import DatePicker from 'react-datepicker' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/* | ||
* NOTE: This timezone is used for the entire application. | ||
* All form inputs for date or date time should have offset of +09:00 e.g."2024-01-01T00:00:00+09:00", which is Tokyo timezone. | ||
* See "formatToISODate" function. | ||
*/ | ||
const TIMEZONE = 'Asia/Tokyo' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is important for this application so I added NOTE
<FormErrorMessage>{errors?.date_to?.message}</FormErrorMessage> | ||
</FormControl> | ||
|
||
{/* TODO Image Upload to storage & Send the URL string to DB */} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Image will be implemented later after Koji's PR is merged!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only commented on one, but it looks good to me 👍 🍎
@samuraikun |
Description
NOTE
If you want to check in local environment, please change the backend branch to tabi-memo/backend#18 first, then reset and seed.
Fixes # (issue)
#20
Type of change
Check List
URL
Create page: http://localhost:3000/trip/create
Edit Page (ex) : http://localhost:3000/trip/50370a01-879a-4e46-bda7-70e2022241cb/edit
Screen Recording
Create
Screen.Recording.2024-01-30.at.9.08.11.PM.mov
Edit
https://github.com/tabi-memo/frontend/assets/66394413/b8ef5549-2a84-4dc4-b487-6bb597b111d8