Commit Graph

1779 Commits

Author SHA1 Message Date
Christopher Charbonneau Wells f7d2b46410
Delete .github/workflows/review-app.yml 2024-04-01 14:34:07 -07:00
Christopher Charbonneau Wells 73e801ef2f
Remove deploy demo workflow 2024-04-01 14:30:40 -07:00
Christopher Charbonneau Wells 708c973cfd
Add nixpacks config 2024-04-01 06:45:32 -07:00
Christopher C. Wells 7058baaa88 Update Python dependencies 2024-03-28 06:20:39 -07:00
Christopher C. Wells d3a50fe193 Update node dependencies 2024-03-28 06:11:47 -07:00
Christopher C. Wells ad0fa4a234 Add latest translation strings to locale messages 2024-03-28 06:02:18 -07:00
Christopher C. Wells 141a5b9a1e Update translations with latest contributions 2024-03-28 05:56:47 -07:00
Christopher C. Wells 8b4ac2487f Add Hebrew translations 2024-03-28 05:50:41 -07:00
Christopher Charbonneau Wells a9480950d2
Add Ukrainian translations (#786) 2024-03-28 05:03:11 -07:00
Andrew Hosgood 197d663f92 Build static assets 2024-03-28 04:57:51 -07:00
Andrew Hosgood 09464540b9 Add shortcuts to site.webmanifest 2024-03-28 04:57:51 -07:00
Christopher C. Wells 25f52400d8 Update node dependencies 2024-03-13 21:30:48 -07:00
Christopher C. Wells 3fc798fa9c Disable flaky test 2024-03-13 20:39:33 -07:00
WeslleyNasRocha a68deabdf0 Add Brazilian Portuguese translations 2024-03-13 20:27:00 -07:00
abog854 ab5bb66c8f
Add feeding method history (#774)
* add feeding method history

* Make it a specialized breastfeeding card instead.

* Minor improvements:

 - don't print days for an empty card.
 - make the width of the bar for each day proportional to that day's total feeding time.

* Don't make bar width proportional to feeding time, actually, it's kinda ugly.

---------

Co-authored-by: ag <ag@ag.com>
Co-authored-by: Christopher C. Wells <git-2022@chris-wells.net>
2024-03-13 19:59:50 -07:00
billybonks 25d3c9f58c deploy: rebuild static files 2024-03-06 05:33:19 -08:00
Michael Salaverry f1ab5a0484 Add external developer documentation to BBoTW README.md 2024-02-28 05:26:29 -08:00
billybonks dd4e565008 feat: improve styling of pill groups
1. add default spacing
2. increase size to use all space on mobile
2024-02-27 20:11:41 -08:00
billybonks f2190ce387 feat: Apply advanced fields to all forms 2024-02-27 20:11:41 -08:00
billybonks 5ec806ef86 feat: use pill radio and include advanced fields on feeding form 2024-02-27 20:11:41 -08:00
billybonks 66ccc1c6c8 refactor: move javascript to babybuddy.js
having it directly in the page html is not ideal, now its properly
isolated.

Also use the new classname
2024-02-27 20:11:41 -08:00
billybonks b7743674d8 feat: Improve advanced fields styling
on mobile it text align center
Increased the font size so its easier to click
Added translations
2024-02-27 20:11:41 -08:00
billybonks 232cde19ee feat: use field set on some forms
Create choices template to have all multi choice experience be the same
as radio select choices.

Moved notes and tags into advanced template in order to reduce the
amount of fields in a form for users. Given that these two fields are
usually a catch all for anything that is not in the core data model. it
is not garunteed that users will use them.

If a user does decide to use the fields we will store that selection in
localstorage so that they dont have to open it every time.

I put the javascript into the page section, as i seem to have had issues
with javascript blocks overriding each other.
2024-02-27 20:11:41 -08:00
billybonks 60b113f197 feat: create fieldset implementation
In order to have more control and flexiability on how elements are
rendered create field set implementation.

every field set gets rendered in order, and uses the template specified.

This should probably be built into the metaclass of the form but i have
no idea how to do that.
2024-02-27 20:11:41 -08:00
billybonks 3edd645f53 feat: Add PillRadioSelect widget
In order to promote less clicks on the mobile experience, this wideget
will splat out the drop down options similar to child select
2024-02-27 20:11:41 -08:00
billybonks 2d1338a915 lint: add markdown and yaml to prettier 2024-02-07 19:46:51 -08:00
billybonks dda68e0fc3 feat: add prettier to format command 2024-02-07 19:46:51 -08:00
billybonks f28df6ecf3 lint: lint all js and sjon files with prettier 2024-02-07 19:46:51 -08:00
billybonks e141492db7 ci: add prettier to ci 2024-02-07 19:46:51 -08:00
billybonks 1694c6f670 lib: install prettier 2024-02-07 19:46:51 -08:00
billybonks 5ccca11b42 bugfix: dashboard shows ago when less then 1minute 2024-02-07 04:58:49 -08:00
Christopher C. Wells 59e9263a69 Add djlint to gulp format 2024-02-06 20:24:55 -08:00
Sebastien Stettler 682090f594
feat: add links for bottle feeding (#764)
Co-authored-by: Christopher C. Wells <git-2022@chris-wells.net>
2024-02-06 20:17:54 -08:00
Sebastien Stettler f30479db42
ci: add djlint to ci (#763)
* ci: add djlint to ci

* lint: all django templates
2024-02-06 05:35:36 -08:00
Christopher C. Wells ae76ef3606 Add LOGGING override option for production troubleshooting 2024-02-05 21:02:44 -08:00
billybonksl 3c54636790 feat: create a trimmed form just for bottle feeding.
While Feeding for is great, i think there is room to create optimised
forms for breast feeding and bottle feeding.

This is the first one a trimmed down form for bottle feeding
specifically
2024-01-28 06:03:41 -08:00
Christopher C. Wells 4ff6f7dd9b Update CI action versions 2024-01-27 19:51:07 -08:00
Christopher C. Wells 98f46fe468 Create v2.2.1 release 2024-01-27 19:43:07 -08:00
Christopher C. Wells c1e4876c20 Set explicit bounds on some graphs
Fixes #706
2024-01-27 19:42:12 -08:00
Christopher C. Wells 17635a71a1 Update node dependencies and static assets 2024-01-27 19:41:10 -08:00
Christopher C. Wells e65b1749e0 Catch invalid object ID in form initial setup
Fixes #735
2024-01-27 09:32:51 -08:00
Christopher C. Wells 267780d113 Update outdated Django docs references 2024-01-27 09:05:24 -08:00
Christopher C. Wells c3bdd329fe Compile locale messages 2024-01-27 08:58:18 -08:00
hejhj 420e9d6848
742 fix sleep zh trans (#752)
* Chinese translation - 喂食 -> 睡眠

* fix translations on the dashboard screen
2024-01-27 08:57:22 -08:00
Christopher C. Wells 27d4a9e98d Create v2.2.0 release 2024-01-20 06:35:12 -08:00
Christopher C. Wells 400084ba34 Make and compile latest translations 2024-01-20 06:32:45 -08:00
Christopher C. Wells 413338c236 Correct error string 2024-01-20 06:13:53 -08:00
Christopher C. Wells 921bc0ddd2 Compile latest ES translations 2024-01-13 21:11:44 -08:00
José Ignacio Amelivia Santiago 6918b079d9
Fix typo in Spanish translations (#747)
Co-authored-by: Christopher Charbonneau Wells <10456740+cdubz@users.noreply.github.com>
2024-01-13 21:08:16 -08:00
Christopher Charbonneau Wells 49d8f2b340
Update to Django 5.x (#746) 2024-01-13 20:22:08 -08:00