Commit graph

280 commits

Author SHA1 Message Date
Josh Price
a0d01bf6ea
chore(deps): update ash and phoenix (#47) 2022-05-25 11:42:42 -04:00
Zach Daniel
e776fbc4ec chore: release version v0.7.2-rc.1 2022-05-23 02:34:38 -04:00
Zach Daniel
6f48087e9f fix: properly call destroy action with changeset 2022-05-23 02:25:07 -04:00
Darren Black
142bbc3b52
fix: Fix validate_opts when single form (#44) 2022-05-22 02:08:43 -04:00
Zach Daniel
de56e1d20a fix: pass error state down to nested forms properly
closes #41
2022-05-20 11:05:28 -04:00
Darren Black
465d036620
test: Failing test for validate_opts issue (#43) 2022-05-20 10:59:23 -04:00
Zach Daniel
a840ca94a0 fix: ensure list forms are always [] after remove_form
closes #42
2022-05-19 10:34:44 -04:00
Zach Daniel
3f0e3788e2 fix: add opts to for_action in add_form
closes #41
2022-05-19 10:26:11 -04:00
Zach Daniel
b660254248 improvement: add validate_opts to add/remove_form 2022-05-19 00:19:24 -04:00
Zach Daniel
0d788b1bba chore: use proper ash version in CI 2022-05-17 17:04:33 -04:00
Zach Daniel
cddfe1d1e3 chore: release version v0.7.2-rc.0 2022-05-17 17:01:09 -04:00
Zach Daniel
873317aa79 fix: validate after adding/removing forms 2022-05-17 11:06:41 -04:00
kernel-io
a861dbf3b9
test: added failing test (#40) 2022-05-17 10:39:46 -04:00
Zach Daniel
12b27461b6 fix: don't remove a form unless one exists 2022-05-16 22:42:01 -04:00
kernel-io
b65bf57ebf
test: add failing test for remove_form (#39) 2022-05-16 22:37:36 -04:00
Zach Daniel
50f6a108b4 fix: raise error on non-existant resource for api 2022-05-16 16:09:38 -04:00
Josh Price
ad5f1c4b5e
test: set primary action explicitly in tests (#38)
* test: set primary action explicitly

* chore: update all deps
2022-05-16 15:34:33 -04:00
Zach Daniel
15be502838 chore: use new Config module 2022-05-13 20:45:54 -04:00
kernel-io
89af1acd41
fix: respect touched forms in params generation (#37) 2022-05-13 20:45:07 -04:00
Zach Daniel
59abfc165a chore: fix build/point at ash main instead of master 2022-05-13 20:44:18 -04:00
Zach Daniel
8488ba3eaf chore: add to touched_forms on add/remove form 2022-05-13 10:41:10 -04:00
Zach Daniel
3d69d41fd7 fix: explicitly set as and id in matched form 2022-05-12 19:38:08 -04:00
Zach Daniel
35a4628946 fix: sequence manually matched forms
improvement: add `produce` option to `params`
2022-05-12 18:51:35 -04:00
Zach Daniel
167dbcdfd5 chore: release version v0.7.1 2022-05-09 15:54:11 -04:00
Zach Daniel
56f11c7422 chore: fix build 2022-05-09 15:53:58 -04:00
Zach Daniel
4c013819d0 fix: synthetically cast attributes in read forms
fix: raise explicitly on non-existent action
2022-05-09 15:45:57 -04:00
Zach Daniel
728df80432 improvement: remove more managed relationship context
improvement: set a _form error field
2022-05-04 03:02:12 -04:00
Zach Daniel
6b1223b7f8 improvement: removed source changesets as they are gone from ash
improvement: add destroy_action/destroy_resource for forms
2022-05-04 02:08:13 -04:00
kernel-io
66a1b4002f
improvement: fix & clarify logic in do_decode_path/4 (#35) 2022-04-29 23:20:54 -04:00
kernel-io
3829807631
improvement: handle nil paths in do_decode_path/4 (#34) 2022-04-29 22:48:07 -04:00
kernel-io
37d02e20cb
improvement: use Map.get instead of direct key access (#33)
Co-authored-by: kernel-io <git@omnium.co>
Co-authored-by: Zach Daniel <zachary.s.daniel@gmail.com>
2022-04-25 12:24:46 -04:00
Zach Daniel
367e893598 fix: bad key access in keep_live 2022-04-06 21:58:52 -04:00
Zach Daniel
9de0ff8778 improvement: support data option on add_form 2022-03-22 16:54:10 -04:00
Zach Daniel
89db16968d fix: show hidden fields for read actions 2022-03-21 22:42:34 -04:00
Zach Daniel
a8223ecc09 fix: add pkey ids as params when creating read forms from data 2022-03-21 22:34:50 -04:00
Zach Daniel
f5357b5af4 fix: track data properly for reads generated from data 2022-03-21 22:24:19 -04:00
Zach Daniel
c7bf6ee272 fix: handle read_actions with data 2022-03-21 22:05:05 -04:00
Zach Daniel
82933c6bfa Revert "Revert "fix: fetch data for read_actions as well""
This reverts commit 922f11c815.
2022-03-21 21:52:53 -04:00
Zach Daniel
922f11c815 Revert "fix: fetch data for read_actions as well"
This reverts commit 1234071dfe.
2022-03-21 21:31:32 -04:00
Zach Daniel
1234071dfe fix: fetch data for read_actions as well 2022-03-21 21:18:23 -04:00
Zach Daniel
be10fb666e improvement: add after_fetch option to keep_live 2022-03-20 20:31:43 -04:00
Zach Daniel
d61d788971 chore: release version v0.7.0 2022-03-17 14:19:39 -04:00
Zach Daniel
9e8ab6c904 test: fix test 2022-02-20 23:34:57 -05:00
Zach Daniel
0be59bb5d4 chore: release version v0.6.0-rc.7 2022-02-17 14:57:23 -05:00
Zach Daniel
2104ec8850 fix: don't create forms unnecessarily 2022-02-17 14:57:10 -05:00
Zach Daniel
0e5d4b5ee3 chore: alpha -> beta 2022-01-27 15:19:47 -05:00
Zach Daniel
7741e43f91 chore: release version v0.6.0-rc.6 2022-01-18 08:47:27 -05:00
Zach Daniel
f400a9fc1f fix: properly restrict errors to the current form 2022-01-14 19:06:47 -05:00
Zach Daniel
6f011a55fe chore: update tests/docs 2021-12-28 22:30:06 -05:00
Frank Dugan III
e1f0e66f23
fix: Fix logic for change detection of boolean defaults (#31) 2021-12-21 21:34:10 -05:00