Zach Daniel
|
3ddc3793f7
|
fix: fix type signature of Form.errors/2
|
2021-07-23 13:20:26 -04:00 |
|
Zach Daniel
|
24cbc780de
|
improvement: add Form.errors/2 , deprecate Form.errors_for/3
|
2021-07-21 21:52:04 -04:00 |
|
Zach Daniel
|
b904af654c
|
fix: don't consider www. as part of the host
|
2021-07-21 01:00:43 -04:00 |
|
Zach Daniel
|
7f29471916
|
chore: remove commented out code
|
2021-07-20 12:02:52 -04:00 |
|
Zach Daniel
|
60ad428974
|
docs: better liveview example
|
2021-07-20 10:49:14 -04:00 |
|
Zach Daniel
|
afd094da6a
|
docs: add api option to docs
|
2021-07-20 10:45:20 -04:00 |
|
Zach Daniel
|
77e0a6337f
|
fix: track data modifications and execute them again
|
2021-07-20 10:23:36 -04:00 |
|
Zach Daniel
|
5d64d77aed
|
fix: only prepend to data when necessary
|
2021-07-20 01:46:19 -04:00 |
|
Darren Black
|
380a67a1fa
|
fix: Fix remove form path when a nested single (#19)
|
2021-07-20 01:00:44 -04:00 |
|
Darren Black
|
843923cb65
|
fix: Add form to single (#18)
|
2021-07-20 00:42:46 -04:00 |
|
Zach Daniel
|
54a4b76832
|
fix: actually reindex this time
|
2021-07-19 23:04:36 -04:00 |
|
Zach Daniel
|
d0bfdf37d9
|
fix: reindex after remove form
|
2021-07-19 22:29:34 -04:00 |
|
Darren Black
|
8194e433cb
|
improvement: Improve error message when incorrect api configured for resource (#15)
|
2021-07-19 00:58:46 -04:00 |
|
Darren Black
|
c861cc9092
|
fix: Fix nested form naming (#14)
|
2021-07-18 22:07:54 -04:00 |
|
Zach Daniel
|
d1889a5bfb
|
fix: set form aliases properly
improvement: move `api` to initial form creation option
|
2021-07-18 19:20:25 -04:00 |
|
Zach Daniel
|
b058f6b276
|
fix: ensure existing forms is a list before adding
|
2021-07-18 17:09:04 -04:00 |
|
Zach Daniel
|
ff40864c6b
|
improvement: alter behavior of params option to submit
improvement: add `set_data/2`
|
2021-07-18 12:43:59 -04:00 |
|
Darren Black
|
e8d8aebaa3
|
fix: Fix default form id when :as provided (#12)
|
2021-07-18 12:28:47 -04:00 |
|
Zach Daniel
|
2af4024562
|
improvement: lots of improvements around errors
improvement: track submission states
fix: various auto form fixes
|
2021-07-18 02:55:08 -04:00 |
|
Zach Daniel
|
f36e6c30f2
|
fix: always pass forms down
|
2021-07-17 16:06:15 -04:00 |
|
Zach Daniel
|
948dde6f4b
|
fix: show forms on single
fix: always List.wrap() forms
|
2021-07-17 14:52:18 -04:00 |
|
Zach Daniel
|
e8da89bdbc
|
improvement: add AshPhoenix.update_form/3
docs: add docs for special cases of auto forms
|
2021-07-17 14:17:05 -04:00 |
|
Zach Daniel
|
75bb281348
|
improvement: id defaults to name
|
2021-07-16 21:16:56 -04:00 |
|
Zach Daniel
|
080508c1f7
|
fix: set manage_opts properly
|
2021-07-16 21:03:48 -04:00 |
|
Zach Daniel
|
0508ff48d5
|
improvement: add auto?: true flag
|
2021-07-16 20:40:49 -04:00 |
|
Zach Daniel
|
c81568508e
|
improvement: update to latest ash
|
2021-07-16 20:20:46 -04:00 |
|
Zach Daniel
|
ea9ec350cd
|
test: add another test for validation errors
fix: don't set data unless necessary
|
2021-07-16 19:58:14 -04:00 |
|
Darren Black
|
8378a38713
|
fix: Wrap single items on to_form (#8)
|
2021-07-16 18:23:07 -04:00 |
|
Zach Daniel
|
b9f4b4345a
|
chore: update docs
|
2021-07-16 17:03:55 -04:00 |
|
Zach Daniel
|
42c6612641
|
improvement: add destroy error message
|
2021-07-16 16:55:52 -04:00 |
|
Zach Daniel
|
defbf581dc
|
improvement: first edition of auto forms
|
2021-07-16 16:50:36 -04:00 |
|
Zach Daniel
|
1eee011e26
|
chore: more documentation (#7)
Co-authored-by: Darren Black <dblack@totaltrash.net>
|
2021-07-15 14:43:11 -04:00 |
|
Zach Daniel
|
d7ec7da419
|
improvement: refactor forms with new data structure AshPhoenix.Form (#6)
Co-authored-by: Darren Black <dblack@totaltrash.net>
|
2021-07-15 14:09:15 -04:00 |
|
Zach Daniel
|
a7b2296d43
|
chore: refactor the use_data? change
|
2021-07-12 17:37:06 -04:00 |
|
Zach Daniel
|
9350101bb5
|
improvement: add use_data? opt to add_related
test: add some tests for `add_related`
fix: don't assume an empty map is an indexed map
|
2021-07-12 17:19:06 -04:00 |
|
Darren Black
|
5e3e6e02e3
|
docs: Minor doc formatting fixes (#4)
|
2021-07-09 22:30:30 -04:00 |
|
Zach Daniel
|
6c84e96c8d
|
fix: handle ash core revert
|
2021-06-24 18:27:37 -04:00 |
|
Zach Daniel
|
554286516d
|
chore: release version v0.4.22-rc1
|
2021-06-24 17:49:31 -04:00 |
|
Zach Daniel
|
c7e6e8264e
|
fix: use new ash type primitives
|
2021-06-24 17:43:56 -04:00 |
|
Zach Daniel
|
434b0da801
|
fix: map_input_to_list on manage
|
2021-06-13 22:14:02 -04:00 |
|
Zach Daniel
|
f8f4cea62e
|
fix: understand indexed lists in relationship data
|
2021-06-13 22:11:43 -04:00 |
|
Zach Daniel
|
26d24b4801
|
imorovement: add_to_path when 0th item is updating
|
2021-06-13 21:25:04 -04:00 |
|
Zach Daniel
|
d5a485e068
|
fix: fix case where "lists" weren't properly added to
test: add unit tests for `add_to_path/3`
|
2021-06-13 20:23:14 -04:00 |
|
Zach Daniel
|
2874070ff8
|
fix: use proper input params for embeds
|
2021-05-14 02:35:33 -04:00 |
|
Zach Daniel
|
98e26a9544
|
improvement: various improvements to relationship manipulation functions
fix: add removed embeds to hidden fields
|
2021-05-14 00:34:01 -04:00 |
|
Zach Daniel
|
b896735091
|
fix: support for to many rels as to_one manipulations
|
2021-05-12 20:15:08 -04:00 |
|
Zach Daniel
|
025b6e0058
|
improvement: track manage_relationship_source , as a utility
|
2021-05-10 17:44:54 -04:00 |
|
Zach Daniel
|
bde7926ed1
|
fix: ensure error message is always a string
|
2021-05-10 13:18:41 -04:00 |
|
Zach Daniel
|
5c3ea08838
|
fix: support embeds in relationships
|
2021-04-27 14:18:48 -04:00 |
|
Zach Daniel
|
c3c4ce11be
|
fix: remove IO.inspect (facepalm)
|
2021-04-17 15:32:37 -04:00 |
|
Zach Daniel
|
7b618a8816
|
fix: support proper nested embedded appends
|
2021-04-17 15:24:58 -04:00 |
|
Zach Daniel
|
7ed71ba4df
|
improvement: add add_value/4 and remove_value/3 helpers
|
2021-04-16 13:04:37 -04:00 |
|
Zach Daniel
|
68809250aa
|
chore: fix lint/dialyzer
|
2021-04-14 13:34:29 -04:00 |
|
Zach Daniel
|
45970eb163
|
fix: check for managed relationship before embedded input
|
2021-04-14 13:28:53 -04:00 |
|
Zach Daniel
|
6f8e41b468
|
fix: handle empty error fields
|
2021-04-06 10:10:38 -04:00 |
|
Darren Black
|
650d38e7ad
|
Add form errors for invalid arguments
|
2021-03-31 17:42:39 +11:00 |
|
Zach Daniel
|
918646853d
|
fix: fix remove from path with indices
|
2021-03-30 01:35:15 -04:00 |
|
Zach Daniel
|
3d8df17779
|
fix: append values to maps properly
|
2021-03-30 01:16:27 -04:00 |
|
Zach Daniel
|
31a4943038
|
fix: handle adding to array paths bettter
|
2021-03-28 18:34:09 -04:00 |
|
Zach Daniel
|
ecfc918bf5
|
fix: add to path when is a map should be a list
|
2021-03-28 14:06:03 -04:00 |
|
Zach Daniel
|
224fb485bf
|
improvement: added various utility functions
fix: fix doubly nested forms and various other issues
|
2021-03-28 13:11:54 -04:00 |
|
Zach Daniel
|
162383c750
|
improvement: many fixes around relationship forms
|
2021-03-25 12:55:21 -04:00 |
|
Zach Daniel
|
5af1cfad8f
|
fix: transform error order of operations
|
2021-03-22 17:39:23 -04:00 |
|
Zach Daniel
|
3eebc845d8
|
fix: set impl correctly
|
2021-03-21 21:51:10 -04:00 |
|
Zach Daniel
|
0e4fa16ae5
|
improvement: improve pagination helpers
|
2021-03-21 12:03:33 -04:00 |
|
Zach Daniel
|
dd8db7d461
|
chore: fix errant backtick in docs
|
2021-03-19 18:25:05 -04:00 |
|
Zach Daniel
|
0bb2216147
|
improvement: readability refactor + additional docs
|
2021-03-19 18:20:49 -04:00 |
|
Zach Daniel
|
e7f13662de
|
fix: properly set params on related create changeset
chore: clean up commented out file
chore: remove unnecessary options
|
2021-03-19 14:37:20 -04:00 |
|
Zach Daniel
|
2889b18081
|
feat: add initial support for relationships in inputs_for
|
2021-03-19 00:11:07 -04:00 |
|
Zach Daniel
|
8308a38782
|
chore: fix lint/deps
|
2021-03-16 22:47:08 -04:00 |
|
Zach Daniel
|
46ab44634b
|
feature: add_embed and remove_embed helpers
|
2021-03-16 21:42:40 -04:00 |
|
Zach Daniel
|
73fd890dbe
|
improvement: remove value option
|
2021-03-16 21:42:16 -04:00 |
|
Zach Daniel
|
da1e937216
|
improvement: don't render NotLoaded
|
2021-03-16 21:41:54 -04:00 |
|
Zach Daniel
|
c1d00e54ae
|
feat: support queries as form targets
fix: various fixes
fix: a whole new error paradigm
feat: new helpers in `AshPhoenix`
|
2021-03-04 23:08:43 -05:00 |
|
Zach Daniel
|
cc814a5b71
|
improvement: don't filter errors based on params
|
2021-02-24 00:48:51 -05:00 |
|
Zach Daniel
|
d453093cb4
|
fix: don't assume action is set
|
2021-02-24 00:05:27 -05:00 |
|
Zach Daniel
|
b7ce044075
|
improvement: support latest ash version
|
2021-02-23 21:42:08 -05:00 |
|
Zach Daniel
|
6da47f7d1d
|
WIP
|
2021-02-23 16:19:11 -05:00 |
|
Zach Daniel
|
04c9611187
|
improvement: add params_only for form helpers
improvement: add `SubdomainPlug`
|
2021-01-28 14:24:13 -05:00 |
|
Zach Daniel
|
69a80041d2
|
improvement: store changeset params in form
|
2021-01-25 02:15:47 -05:00 |
|
Zach Daniel
|
8912fdae71
|
fix: better error messages
improvement: support ci_string in html
|
2021-01-24 14:12:04 -05:00 |
|
Zach Daniel
|
7298d47d3a
|
feat: support arguments in changeset
improvement: support the latest ash
|
2021-01-22 17:31:31 -05:00 |
|
Zach Daniel
|
5d5584c215
|
chore: remove comment about errors being bad
|
2021-01-15 20:04:35 -05:00 |
|
Zach Daniel
|
412eca18da
|
improvement: support arguments in form_data
|
2021-01-07 22:18:20 -05:00 |
|
Zach Daniel
|
164459e4f8
|
fix: various improvements
|
2020-12-28 13:05:20 -05:00 |
|
Zach Daniel
|
8b03e9fc5a
|
feat: general cleanup, ready for initial release
|
2020-10-20 21:25:28 -04:00 |
|
Zach Daniel
|
6273bd08b0
|
improvement: setup project
|
2020-10-20 14:38:50 -04:00 |
|
Zach Daniel
|
b6b87b95e9
|
feat: init
|
2020-10-20 13:54:35 -04:00 |
|