Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-03-01 | feat: Add last seven days labels to chart | Zach Berwaldt | |
In the `DataView.svelte` component, the last seven days are now included as labels in the chart. This allows users to easily visualize data for the past week. The `getLastSevenDays` function generates an array of string values representing the dates in ISO format. This array is assigned to the `lastSevenDays` variable, which is then used as the labels in the chart's dataset. | |||
2024-03-01 | feat(DataView): Add functionality to add water statistic | Zach Berwaldt | |
This commit adds functionality to add water statistics to the DataView component. It includes the following changes: - Remove unused imports and variables - Move the 'handleClick' function logic to a new 'AddForm' component - Create the 'AddForm' component which displays a dialog with input fields for date and quantity and allows the user to add a new water statistic - Dispatch events on form submit and dialog close in the 'AddForm' component - Call the 'fetchData' function on successful submission of a new statistic - Update chart data to display sample data New component: - AddForm.svelte: A form component to add a new water statistic Note: This commit message exceeds the 50-character limit in the subject line, but adheres to the other specified requirements. | |||
2024-03-01 | Add dependencies, refine dataview | Zach Berwaldt | |
2024-03-01 | reformat fe | Zach Berwaldt | |
2024-02-29 | modify api, build additional FE components, add types | Doog | |
2024-02-24 | add gitignore | Doog | |
2024-02-21 | first commit | Doog | |