Zach Daniel
d19d808622
fix: fix cases where data may not match expected patterns
...
this was causing an empty page on update forms
2023-11-30 10:15:15 -05:00
Zach Daniel
339f93393e
chore: fix typo
2023-11-27 20:27:58 -05:00
Zach Daniel
4b1215bc18
chore: fix typo
2023-11-27 20:26:38 -05:00
Zach Daniel
eac54c3e67
improvement: use prompt instead of adding a nil option for dropdowns
2023-11-27 20:24:28 -05:00
Zach Daniel
081b690f58
improvement: only ensure nil
value is present on dropdowns when inside of lists
2023-11-27 20:19:42 -05:00
Zach Daniel
d78894ccdc
improvement: fix warnings on actor plug
...
fix: allow nil values for all dropdowns to handle list behavior
2023-11-27 20:13:05 -05:00
Zach Daniel
33eaeffeea
improvement: use the first enum value as the default for dropdowns
2023-11-27 19:55:15 -05:00
Zach Daniel
89f39fe525
chore: fix build
2023-11-21 09:27:50 -05:00
Rebecca Le
7db3b48081
feat: Hide sensitive attributes by default ( #82 )
2023-11-21 06:16:54 -05:00
mindok
aaf1f1302e
fix: Dropdown component has Surface hangover ( #81 )
2023-11-20 20:36:03 -05:00
Zach Daniel
2071f536ad
fix: default table_columns to all attributes for proper selecting
2023-11-17 04:19:56 -05:00
Zach Daniel
aae891fef8
fix: properly match on errored loads
...
fixes : #79
2023-11-16 08:34:40 -05:00
Jeremy Grant
29c5480dd3
fix: don't use nil as new {:array, type} value ( #76 )
...
this seems to fix it bypassing the error and successfully showing the input
2023-11-13 23:20:22 -05:00
Zach Daniel
8f78b6bdf7
chore: remove accidentally commited code
2023-11-13 21:05:11 -05:00
Zach Daniel
4812fb4028
improvement: support calculations & aggregates in table columns
...
fix: load each to_one relationship independently and ignore it if it errors
2023-11-13 20:52:47 -05:00
skanderm
fcf81d54e0
fix: allow showing false values for boolean selects ( #74 )
2023-11-13 13:59:03 -05:00
Thomas Lacroix
07f1d6d87c
fix: pass actor when fetching relationships attributes ( #73 )
2023-11-13 13:51:35 -05:00
Zach Daniel
b65cbf4818
fix: properly provide arguments
to read actions
2023-10-19 11:10:54 -04:00
Zach Daniel
b288c9f0a5
improvement: force submit forms
2023-08-18 14:20:30 -04:00
Esdras Eduardo
5554afeb6c
Add prompt to selectbox
2023-08-11 15:50:21 +08:00
Esdras Eduardo
ee2eec7ea9
Use CoreComponent input ( #70 )
2023-08-09 06:34:17 -07:00
Zach Daniel
568c3eb750
fix: properly reassign form on update
2023-08-04 15:18:08 -04:00
Robert Graff
c27d1c2962
chore: fix dialyzer warning ( #63 )
2023-08-02 19:46:13 -04:00
Zach Daniel
182482990e
chore: format
2023-08-02 19:08:46 -04:00
Robert Graff
f63ab8ed81
improvement: Ui consistency ( #62 )
2023-08-02 19:08:31 -04:00
Zach Daniel
a16a8bef80
fix: support cross-api relationships in show links
2023-08-02 18:40:08 -04:00
Zach Daniel
21924d35a5
fix: use push_patch
instead of push_redirect
2023-08-02 18:27:52 -04:00
Zach Daniel
1d17d1b7bc
fix: fix links to show related resources
2023-08-02 18:00:11 -04:00
Zach Daniel
77a43cc4fa
fix: use connect params for persisted state
2023-08-02 17:24:31 -04:00
Zach Daniel
667fe6ba8c
fix: properly persist cookies
2023-08-02 17:04:03 -04:00
Robert Graff
47f87550fe
update target of clear_tenant ( #61 )
2023-08-02 16:34:20 -04:00
Jeremy Grant
3262996dc0
fix(create-form): errors from removal of surface ( #60 )
2023-08-01 09:19:04 -04:00
Esdras Eduardo
7085e885c0
Imp: Add CoreCompoment and update assets structure ( #57 )
2023-08-01 09:16:31 -04:00
Zach Daniel
efe0a4030e
fix: properly detect update and destroy actions
2023-07-31 22:59:05 -04:00
Zach Daniel
91a46bf1d0
chore: fix value display
2023-07-31 22:57:04 -04:00
Zach Daniel
0bb90e084a
fix: revalidate with params on submit
2023-07-31 22:43:52 -04:00
Zach Daniel
94183dade6
fix: send set tenant to parent liveview
2023-07-30 22:03:54 -04:00
Zach Daniel
defd653071
fix: set phx-target
2023-07-30 16:26:16 -04:00
Zach Daniel
a99ace2415
fix: set phx-target on tenant form
2023-07-29 21:06:37 -04:00
Zach Daniel
ed61546769
fix: fix editing_tenant in top_nav
2023-07-28 14:01:22 -04:00
Zach Daniel
1c75867572
fix: set assigns for show block
2023-07-26 13:30:03 -04:00
Josh Price
bb03f92054
improvement: style the metadata tables consistently ( #54 )
2023-07-26 07:23:34 -04:00
Zach Daniel
e072cfcc97
chore: fix build
2023-07-25 22:19:55 -04:00
Zach Daniel
95c12a9d67
improvement: remove surface
2023-07-25 22:16:30 -04:00
Zach Daniel
f96ef8b4ce
Merge branch 'custom-actor-plug'
2023-07-24 22:38:45 -04:00
Zach Daniel
b80770b185
fix: don't show create button if no create actions are configured
2023-07-24 22:04:46 -04:00
Zach Daniel
26672093c5
chore: fix session
option
2023-07-17 23:10:35 -04:00
Zach Daniel
83d548e44b
fix: fix behaviour and support on_mount and session
2023-07-17 23:05:43 -04:00
Zach Daniel
1e0d33876e
chore: remove IO.inspect
2023-07-17 22:12:24 -04:00
Zach Daniel
1adcd9b9a2
improvement: support setting an actor
...
note to users: this is kind of a hack. We're adding it for
edge cases, but its not a full solution.
2023-07-17 22:11:29 -04:00
Zach Daniel
5bd76a7104
improvement: show all errors on form submit
2023-07-13 16:35:12 -04:00
Zach Daniel
b237d031f0
fix: use authorize?: false
when reading actor from session
2023-07-13 12:41:03 -04:00
Wout De Puysseleir
a26b0ff503
improvement: Improve frontend a little bit ( #52 )
...
* First cut of UI improvements for resource landing page
* improvement: Use overflow-auto instead of overflow-scroll on table
* chore: Run `npm build`
---------
Co-authored-by: Josh Price <josh@alembic.com.au>
2023-06-12 23:49:49 -04:00
Zach Daniel
37331eedfa
fix: don't authorize actor read
2023-04-22 08:18:52 -06:00
Kevin Mathew
58444c47c7
fix: Admin links are not aware of the scope where ash_admin is called ( #49 )
...
* WIP - pass 1
* Pass prefix in session map and use in page_live.ex
* Update logic and add test
2023-03-25 21:09:46 -04:00
Zach Daniel
a8554182c5
fix: handle cases where actions of a given type don't exist
2023-03-20 10:27:29 -04:00
Rebecca Le
0f68ae8685
fix: Add missing mix.lock changes ( #43 )
...
* fix: Add missing mix.lock changes
* chore: Remove duplicated and unused template file
2023-02-28 07:00:02 -05:00
Rebecca Le
dce0baa7a2
feat: Inline style nonce ( #42 )
...
* chore: Support Phoenix 1.7 final
* feat: Specify nonces on inline styles/JavaScript so they can be allowed by CSPs
* docs: Remove note about Phoenix 1.7 from README
2023-02-27 23:04:08 -05:00
Zach Daniel
2cca46895c
chore: credo
2023-02-01 00:20:23 -05:00
Zach Daniel
3002af9ec6
improvement: only show 1000k records of unpaginated reads
2023-01-26 02:49:11 -05:00
Zach Daniel
cdb3b469ab
fix: don't need to track root level fields
2022-12-20 22:58:26 -05:00
Zach Daniel
83fa8ebd8d
fix: properly render template
2022-12-19 22:28:58 -05:00
Zach Daniel
d4bc664f72
fix: name our live session not *default* 🤦
2022-12-12 10:44:27 -05:00
Zach Daniel
8d671d28f9
chore: fix build
2022-11-03 10:10:59 -07:00
Zach Daniel
94f67cd321
chore: format code
...
fix: fix markdown editor and make things cleaner
2022-11-01 03:12:56 -04:00
Zach Daniel
e2bd5f3d5f
improvement: add markdown editor
2022-10-31 16:58:12 -04:00
Zach Daniel
2178f709a8
fix: handle missing api/resource better
...
fix: if pagination is available but not required, opt to use it
Generally the admin UI will be looking at "everything" and so we should assume that if an action
*can* be paginated, that it *should* be.
2022-10-20 13:29:26 -04:00
Zach Daniel
a68b3a76de
fix: don't call into ash_postgres for tables anymore
2022-09-08 13:25:45 -04:00
Zach Daniel
8d841c597a
fix: properly match on Code.ensrue_compiled/1
output
2022-09-07 16:12:33 -04:00
Zach Daniel
46427f09c6
improvement: update to latest ash
2022-08-30 23:49:33 -06:00
Rebecca Le
4a502c2ced
fix: Binary data display ( #25 )
2022-08-25 10:54:53 -04:00
Zach Daniel
b8858a933e
improvement: specify include_non_map_types?: true
for auto forms
2022-08-23 22:49:42 -04:00
Zach Daniel
40ea12b3f4
improvement: support value-backed nested forms
2022-08-22 15:45:59 -04:00
Zach Daniel
6d9a8d83e6
fix: remove unnecessary code
...
fix: fix data loading, change tracking (handled by AshPhoenix.Form)
2022-08-15 15:31:55 -04:00
Zach Daniel
d87eb2a1dc
improvement: use new authorize? configuration
2022-08-10 17:18:53 -04:00
Rebecca Le
ed12d79866
Skip check for embedded types when rendering attributes ( #22 )
2022-06-27 10:49:10 -04:00
Josh Price
dbd75bf3f3
fix: failing error case for nested forms ( #21 )
2022-05-31 10:17:46 -04:00
Josh Price
c9c0a8cb4f
feat: allow setting primary read action as default resource page ( #19 )
2022-05-23 12:41:19 -04:00
Zach Daniel
0fd921b46f
chore: format
2022-05-20 11:14:56 -04:00
Theo Harris
a3c5343849
docs: Docs formatting ( #17 )
...
* Add formatting for api.ex docs
* Minor docs tweaks and corrections
2022-05-20 11:06:04 -04:00
Rebecca Le
c050c8c228
improvement: Top nav resource grouping ( #15 )
2022-05-19 12:22:37 -04:00
Zach Daniel
cae33cafbc
fix: get the original value using AshPhoenix.Form.value/2
2022-05-18 20:33:40 -04:00
Zach Daniel
6963195cd5
improvement: add DateInput for dates
2022-03-20 20:38:29 -04:00
Zach Daniel
deac48365d
fix: a bunch of behavior fixes, getting the demo to snuff with new Ash
...
improvement: update tons of dependencies
2022-03-17 14:18:01 -04:00
Zach Daniel
ef0e947cd6
fix: fix tenant/actor session w/ new phx version
2022-03-17 10:38:41 -04:00
Zach Daniel
ed0373a951
fix: various other fixes for events and hooks
2022-03-17 00:22:02 -04:00
Zach Daniel
0cc5473cfa
fix: fix issues w/ admin UI not rendering
2022-03-16 23:34:52 -04:00
Zach Daniel
591e83a011
docs: update setup instructions with new process
2021-11-14 00:22:14 -05:00
Zach Daniel
1f95223309
fix: handle new liveview arg pattern
2021-11-13 23:44:15 -05:00
Zach Daniel
b214535f0c
improvement: remove compile-time router, use params instead
...
improvement!: support latest surface/phoenix
2021-09-01 02:43:31 -04:00
Zach Daniel
dcdbf83818
chore: remove unused variables
2021-07-24 18:39:32 -04:00
Zach Daniel
126f1243a0
chore: remove IO.inspect
2021-07-24 18:37:47 -04:00
Zach Daniel
2f72ababa8
fix: render values properly when no format set
2021-07-24 18:37:05 -04:00
Zach Daniel
24ac7f8894
chore: add some examples in dev, regen formatter
2021-07-23 20:31:14 -04:00
Nicol Acosta
46d6076431
improvement: define custom formats for any field ( #7 )
...
Co-authored-by: Nicol Acosta <nicol@landonearth.com>
2021-07-23 20:20:14 -04:00
Zach Daniel
289961b737
chore: fix typespecs, update .formatter
2021-07-23 13:34:02 -04:00
WolfDan
908efc78d8
improvements: relationships in datatable ( #6 )
...
Co-authored-by: Zach Daniel <zachary.s.daniel@gmail.com>
2021-07-23 13:29:47 -04:00
Zach Daniel
61b2223960
improvement: update to latest ash
2021-07-23 13:22:37 -04:00
Zach Daniel
fc54f97ce8
fix: digest assets
...
fix: show proper values in update forms on initial render
2021-07-20 02:35:13 -04:00
Zach Daniel
70b4f9639e
improvement: add json editor
2021-07-20 01:53:38 -04:00