Skip to content
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

feat(dashboard): crop information pages #207

Closed
4 of 5 tasks
chrismclarke opened this issue Dec 14, 2023 · 0 comments · Fixed by #232
Closed
4 of 5 tasks

feat(dashboard): crop information pages #207

chrismclarke opened this issue Dec 14, 2023 · 0 comments · Fixed by #232
Assignees

Comments

@chrismclarke
Copy link
Collaborator

chrismclarke commented Dec 14, 2023

Is your feature request related to a problem? Please describe.
In-country stakeholders will want to be able to manage various aspects of crop information available in the app. This should be supported in the admin dashboard app

Describe the solution you'd like

  • Create crop-information module in dashboard apps\picsa-apps\dashboard\src\app\modules
  • Add routing and home page for created module and sidebar link in apps\picsa-apps\dashboard\src\app\app.component.ts
  • Create DB table to manage crop varieties. columns should include name, water_lower, water_upper, length_lower, length_upper as used in example crop probability calculations. Will need generated UID column as variety name assumed non-unique (different locations specify different water requirements for same variety)
  • Create / (home) page component and table to list crop information table from db (can just manually populate a couple example crop info rows to db for testing, will migrate full list later)
  • Create /edit page component and UI to add and edit crop variety information

Additional context

  • Will need development server running locally. See docs for more info: https://docs.picsa.app/server
  • Dashboard can be run locally via yarn start:dashboard
  • Some example of interacting with server/services can be seen in the resources module of the dashboard codebase apps\picsa-apps\dashboard
@chrismclarke chrismclarke moved this to Next Priority in PICSA Apps Development Dec 14, 2023
@chrismclarke chrismclarke moved this from Next Priority to In Progress in PICSA Apps Development Jan 17, 2024
@FaithDaka FaithDaka linked a pull request Feb 13, 2024 that will close this issue
@chrismclarke chrismclarke moved this from In Progress to Done in PICSA Apps Development Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants