You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We want to make it easier for administrators to manage monitoring forms. In the short term this will just be read-only access to lists of forms and submissions (will later look at ways to add new forms)
Describe the solution you'd like
Form summary
Create dashboard pages for /monitoring
Create db endpoint for monitoring_forms with schema matching hardcoded data found in apps\picsa-tools\monitoring-tool\data\forms
Manually populate seed data for the 3 hardcoded forms. Once populated export as csv and place in the apps\picsa-server\supabase\data folder to make it easier for others to import
Create db bindings and UI to list forms and display in a table
Form submissions
Create page for /monitoring/{formId} (using route param for form id)
There is already a db schema for monitoring_tool_submissions so I think fine to leave as-is for now
Create db bindings to get all submissions by a form id and display in a table
Additional context
A new picsa-data-table component has been added to make it easier to generate simple data tables (uses mat-table but less boilerplate code required). This can be imported into any page, and should be used to create the UI tables instead of manually creating new mat-tables.
The easiest way to generate seed data for monitoring_tool_submissions is to run the app locally, fill in a form and submit. It should automatically sync to the local supabase db.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
We want to make it easier for administrators to manage monitoring forms. In the short term this will just be read-only access to lists of forms and submissions (will later look at ways to add new forms)
Describe the solution you'd like
Form summary
/monitoring
monitoring_forms
with schema matching hardcoded data found inapps\picsa-tools\monitoring-tool\data\forms
apps\picsa-server\supabase\data
folder to make it easier for others to importForm submissions
/monitoring/{formId}
(using route param for form id)monitoring_tool_submissions
so I think fine to leave as-is for nowAdditional context
A new
picsa-data-table
component has been added to make it easier to generate simple data tables (uses mat-table but less boilerplate code required). This can be imported into any page, and should be used to create the UI tables instead of manually creating new mat-tables.The easiest way to generate seed data for
monitoring_tool_submissions
is to run the app locally, fill in a form and submit. It should automatically sync to the local supabase db.The text was updated successfully, but these errors were encountered: