RoboTigers / FRCScout2020

MIT License
1 stars 8 forks source link

Early development of pit navigation #22

Closed DanielLaszczych closed 4 years ago

DanielLaszczych commented 4 years ago

Summary

We want a navigation page for pit scouting and the pit forms. This is an early development of that page which displays a table with information related to pit scouting.

Details

The table includes the team number, team name, status (not started, needs follow up, or completed) of the pit form related to the team, and a button that will either correspond to start, continue, or edit (names are subject to change) based on the status of the pit form. The table is populated by Postgres.

Testing

I inserted data into a Postgres database and confirmed that the teams with the correct corresponding information showed up in the table.

Next Steps

Add functionality to the buttons so that they actually send the person to the correct pit form. We may also want to think of how to populate the Postgres pit table. Because currently, this implementation requires there to already be data in the Postgres pit table to populate the pit navigation table.

DanielLaszczych commented 4 years ago

The latest commit also had some changes to the SQL file related to the pit table. Some of the data types aren't final. I'm just testing data types like JSON and arrays to see which one works best.