-
Notifications
You must be signed in to change notification settings - Fork 3
Will-Frontend #123
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
Will-Frontend #123
Conversation
modified: package.json modified: src/App.tsx renamed: src/opportunities/components/FiltersField.js -> src/opportunities/components/FiltersField.tsx renamed: src/opportunities/components/HorizontalIconButton.js -> src/opportunities/components/HorizontalIconButton.tsx renamed: src/opportunities/components/Posts.js -> src/opportunities/components/Posts.tsx renamed: src/opportunities/components/PostsField.js -> src/opportunities/components/PostsField.tsx renamed: src/opportunities/components/SearchBar.js -> src/opportunities/components/SearchBar.tsx renamed: src/opportunities/components/SmallTextButton.js -> src/opportunities/components/SmallTextButton.tsx renamed: src/opportunities/pages/IndividualPost.js -> src/opportunities/pages/IndividualPost.tsx renamed: src/opportunities/pages/Jobs.js -> src/opportunities/pages/Jobs.tsx
modified: src/opportunities/components/Posts.tsx modified: src/opportunities/pages/Jobs.tsx
modified: src/opportunities/pages/Jobs.tsx
modified: src/opportunities/pages/Jobs.tsx
modified: src/opportunities/components/Posts.tsx modified: src/opportunities/components/SearchBar.tsx modified: src/opportunities/components/SmallTextButton.tsx modified: src/style/general.css
modified: src/opportunities/components/Posts.tsx
modified: src/opportunities/components/Posts.tsx
RafaelCenzano
left a comment
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.
Overall things look good, could you include a picture of the new UI? And can you fix the eslint issues on these files.
modified: src/opportunities/components/HorizontalIconButton.tsx modified: src/opportunities/components/Posts.tsx modified: src/opportunities/components/PostsField.tsx modified: src/opportunities/components/SmallTextButton.tsx modified: src/opportunities/pages/IndividualPost.tsx modified: src/opportunities/pages/Jobs.tsx
|
Yeah if possible any js files these use should tsx. Is the filters missing the years? Could we also add a clear/reset to defaults button. And if possible adding defaults for the current semester and year. Could you also add the majors? |
|
I set the years up to fetch from backend, tested that it works if i enter the years as the initial but i figured i shouldn't leave that for the pr. I can add all that and work on converting the js to tsx, you want me to cancel the pr and add everything or merge then open fresh branch? |
|
Also, ik u mentioned using the fetch years from the backend but i could use a react function to get the current year then subtract to get the others if thats easier/more error proof |
The lining is passing for now so that's good. If you want to make a separate pr to convert things to tsx that would be great. I've just been doing it as I've been updating pages. |
modified: src/opportunities/components/Posts.tsx modified: src/opportunities/pages/Jobs.tsx


Filter functionality for jobs
Fixes # (issue)
Type of change
How Has This Been Tested?
Running front end and testing adding and removing the filters
Checklist: