-
Notifications
You must be signed in to change notification settings - Fork 34
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
Develop Frontend - React #46
Comments
This is the current plan of action (order is trivial) for completing migration to React.
Few Subtasks to be mindful of in the end.
Please reassign yourselves to this issue (old #22) and add your thoughts. Please tag this issue in the future pull requests related to this issue. We will not close this issue until the complete migration to React is complete. |
Please join the team on Figma to work on the UI style and component separation.
Can someone please take the responsibility to screenshot all the current pages in the Pantry Node and share the pdf for our reference? |
Yo yo team. Glad to see moving to React is on it's way! It looks like yall created a "dead" folder in the repo that is bypassing the main CI. I'll take this to mean that you plan on rebuilding the frontend alongside the existing frontend code, and then swapping it in once you achieve feature parity. Please make sure you add a subtask for that so we don't forget to do things like, 1) enable the build in the CI, 2) enable the linter, 3) load into container, 4) use new postgreSQL DB, etc. |
Hey!!! |
Good question, I'd say since yall are handling the rewrite, you get to make that choice. |
We'd definitely want the APIs way (right, everyone?), it should make things easier on the backend too. |
Can we decide on who is doing what? |
Ideally, we should be using React hooks. |
Can we all get active on the discussions to discuss the work division? @xl26 @hardikpatil @prestonmasseyblake @abhilashSreenivasa @SANDESHSOBARAD @priyankavrao97 @nvkulkarni12 @murthy-001 |
For everyone that has never used Material UI here is the reference link to get accustomed to: https://mui.com/material-ui/getting-started/overview/ |
Would appreciate if we have more active discussions on #30 |
Our plan on the database side was recreate the current express API calls using a new stack. There's a few routes I'd love to change but that's a bigger discussion regarding how we want to improve the application. |
True, we (frontend and backend groups) need to have a brief discussion on the features and API expectations. |
I think it's ok to silo the frontend development once a good amount of the frontend pages are built out we could use dummy data for the time being. It would make sense to us what type of data would be needed. A conversation with the database team as well as the backend team should take place. I'm thinking they do the backend in express typescript but I'll leave that for them to decide. We could work in tandem to specify views routes for specific data needed, create models with the database team etc. Does anyone in particular want to be in charge of coordinating between the three teams (frontend, backend, database)? |
This is first time working on a project like this, I would appreciate any sort of guidance on what to do? |
I'm proposing a virtual meeting on Monday March 13, or we can do it on the weekend as well. The earlier the better for us to start on this. Please let me know, I will generate a zoom link and share by tomorrow EOD. |
Right now I don't think there's really a difference between the backend and database teams. If we wanted to meet regarding what routes we wanted I'd be happy to participate. We built out a database with a bunch of models already just using ideas of what we might need in the future, so now it really just depends on how we want to update the routes. If you want to see the models and our current schema for the database check out the implement-sequelize branch. |
Shall we create a new branch for all frontend development? And I think we should delete the react-tsx-frontend branch. We all can then create our branches locally and when satisfied with the commit, then merge those changes with frontend branch. This way we all can work on the latest frontend changes. |
Update, I have created a branch 'frontend', please merge all your changes into that branch before making a pull request to main. |
I was looking at the React documentation and this caught my attention, please share your opinion about our create-react-app which is designed to help learn React or develop a single page application. What is the requirement for our PantryNode application and its scalability in the future assuming that we are serious about its real world deployment one day? We can have multiple pages using Router but wanted to know your opinions on this. The React team primarily recommends these solutions: If you’re learning React or creating a new single-page app, use Create React App. |
I see that someone added current page screenshots to Figma, I really appreciate the effort. I have added a couple that were missing. |
Can we have a zoom meeting when it works for everyone to discuss what screens each will be working on? We could also discuss on discord as well if that works. |
It'd be difficult to find a time that works for everyone except for the usual class hours, I'd initially suggest we try to have some conversation on repo discussions to understand the commitments of the team members and to further the progress? |
That sounds like a good idea. Utilizing the repository's discussion feature can be a great way for team members to communicate with each other and discuss project-related matters asynchronously. It allows everyone to participate in the conversation at their own pace, without being constrained by a specific time. |
There has been a merge into branch frontend, please rebase it with your local changes. |
Just for reference.
|
Spoke with @briswells and @prestonmasseyblake Learned a bunch I'll share in a discussion after we get it working. Preston is working on a PR to prove the front-end can talk to the backend.
And after this we should have a tiny MVP that we can all run and poke at. FYI: @kbuffardi |
Ran this all locally |
This is the new issue for the frontend team this issue will stay open till everything is done. Open sub issues pertaining to a particular section of the frontend.
The text was updated successfully, but these errors were encountered: