Closed lilyosah closed 2 years ago
:exclamation: No coverage uploaded for pull request base (
main@6e17adf
). Click here to learn what that means. The diff coverage isn/a
.:exclamation: Current head 47010b4 differs from pull request most recent head f1f104c. Consider uploading reports for the commit f1f104c to get more accurate results
@@ Coverage Diff @@
## main #70 +/- ##
=======================================
Coverage ? 76.02%
=======================================
Files ? 15
Lines ? 559
Branches ? 123
=======================================
Hits ? 425
Misses ? 134
Partials ? 0
Flag | Coverage Δ | |
---|---|---|
FE | 76.02% <0.00%> (?) |
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 6e17adf...f1f104c. Read the comment docs.
Options to improve speed after hot reload (changes in popup immediately showing up in all other components) is added:
Changes
❗Breaking change: use id instead of pk for Task model
I changed the tasks database to use id instead of pk so that we can use uuids instead of integers. This made it easier to "create" a task in the MobX task store by generating a new uuid in the FE and passing it to the back-end to be actually created.
To update your DB: After pulling from main after this is merged, all of the old migrations are deleted.
Drop old database
In psql:
or
Added task creation pop-up
It has some basic validations in the FE and a time-picker for the times, not for the date. This was my reasoning:
Detail for init scripts
Added more detail about getting database up and running and separate scripts for Windows and Mac. Hopefully they work for everyone. There are details about them in contributing.md
Codecov
Set up a workflow to run coverage reports and upload them to codecov so we can get the shiny badge on our readme!
About the tests and coverage
The coverage for this commit is not great because I ran into issues with every test that used Testing Library for keyboard input. I want to get these changes merged and then I'm going to create a coding sandbox and submit a bug report with them, I've updated the issue involving it. #63