<feed xmlns='http://www.w3.org/2005/Atom'>
<title>water-consumption/fe/src/lib/forms, branch prod</title>
<subtitle>A simple website to track water consumption between me and my GF.</subtitle>
<link rel='alternate' type='text/html' href='https://git.zachberwaldt.dev/water-consumption/'/>
<entry>
<title>fix bugs, redo layout, reorg.</title>
<updated>2024-03-21T15:23:42+00:00</updated>
<author>
<name>Zach Berwaldt</name>
<email>zberwaldt@tutamail.com</email>
</author>
<published>2024-03-21T15:23:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.zachberwaldt.dev/water-consumption/commit/?id=fd6f6f169f9ff9a1247228fb34dc9654a9584915'/>
<id>fd6f6f169f9ff9a1247228fb34dc9654a9584915</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cleanup</title>
<updated>2024-03-16T02:00:10+00:00</updated>
<author>
<name>Zach Berwaldt</name>
<email>zberwaldt@tutamail.com</email>
</author>
<published>2024-03-16T02:00:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.zachberwaldt.dev/water-consumption/commit/?id=fd1332a3df191577e91c6d846a8b5db1747099fd'/>
<id>fd1332a3df191577e91c6d846a8b5db1747099fd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[FEAT] Refactor API main file and models</title>
<updated>2024-03-07T02:53:07+00:00</updated>
<author>
<name>Zach Berwaldt</name>
<email>zberwaldt@tutamail.com</email>
</author>
<published>2024-03-07T02:53:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.zachberwaldt.dev/water-consumption/commit/?id=5fa57845052655883120ba4d19a85d8756fb8d8c'/>
<id>5fa57845052655883120ba4d19a85d8756fb8d8c</id>
<content type='text'>
This commit refactors the `main.go` file in the API directory, as well as the related models in the `models.go` file. The changes include:

- Reordering imports and removing unnecessary imports
- Fixing error messages to be more descriptive
- Handling database connections more efficiently with deferred closures
- Handling errors and returning appropriate error responses
- Adding proper JSON bindings for POST requests
- Adding new views in the database scripts for aggregated statistics and daily user statistics

No changes were made to imports and requires.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit refactors the `main.go` file in the API directory, as well as the related models in the `models.go` file. The changes include:

- Reordering imports and removing unnecessary imports
- Fixing error messages to be more descriptive
- Handling database connections more efficiently with deferred closures
- Handling errors and returning appropriate error responses
- Adding proper JSON bindings for POST requests
- Adding new views in the database scripts for aggregated statistics and daily user statistics

No changes were made to imports and requires.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat(DataView): Add functionality to add water statistic</title>
<updated>2024-03-02T01:12:21+00:00</updated>
<author>
<name>Zach Berwaldt</name>
<email>zberwaldt@tutamail.com</email>
</author>
<published>2024-03-02T01:12:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.zachberwaldt.dev/water-consumption/commit/?id=d8b0f1335078d53d95a4212b1a4d4b0b28016702'/>
<id>d8b0f1335078d53d95a4212b1a4d4b0b28016702</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
</feed>
