-
Notifications
You must be signed in to change notification settings - Fork 1
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
[CHE-192] Create Filters #139
[CHE-192] Create Filters #139
Conversation
…rs for status and date
…92/story/Create-Filters
@@ -159,8 +163,8 @@ const CreateApplicationPage = (): JSX.Element => { | |||
className="w-full p-2 rounded bg-gray-800 text-white" | |||
id="date_applied" | |||
name="date_applied" | |||
type="date" | |||
value={formData.date_applied} | |||
type="datetime-local" |
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.
including the time might be overkill
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.
Definitely. It is like this so that in the current environment I can test functionally without waiting days. I need the seconds for now.
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.
sounds good. should we prevent people from choosing a date/time in the future?
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.
Yes we should! New code inc.
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.
Left a few comments for review. I can't test this manually, getting an error from the postgres container no PostgreSQL user name specified in startup packet
:
Also docker-compose-test.yml is still using the codehammers/ch-dev-dep-v2
image, so running tests locally throws an error that pg
package is not installed
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.
LGTM - this works and builds in future tickets. Only thing I'd say is adding the postgres environment variables for the dev service too, save from having to add them to .env
and change the image used in lint and test docker-compose yml's for local testing future tickets for this epic
…r postgres to dev container and code cleanup
…to CHE-192/story/Create-Filters
…hen creating an application
d5090c2
into
CHE-140/epic/Create-Job-Application-Tracker
Description
This PR adds two basic filters to the main application display page.
Jira Task
CHE-192
Testing Instructions
npm run docker-remove-all
npm run docker-dev
npm run docker-remove-all
Checklist
All Team Members
npm run docker-test
in my local environment to check that this PR passes all unit tests.Additional Notes, Images, etc.