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
Zach Daniel
df51832cbc
WIP
2021-07-19 20:58:50 -04:00
Zach Daniel
9a1cc7138e
improvement: update to latest ash
2021-07-18 19:27:17 -04:00
Zach Daniel
969b9ba67c
chore: remove unused code
2021-07-18 14:42:35 -04:00
Zach Daniel
b25536a468
fix: show boolean default values better
2021-07-18 14:19:04 -04:00
Zach Daniel
31d5aa5f96
chore: resolve warnings/dialyzer
2021-07-18 13:40:54 -04:00
Zach Daniel
73edf1c5f2
improvement: update to new form logic
2021-07-18 03:27:59 -04:00
Zach Daniel
eeb27ae044
chore: code cleanup
...
fix: retain `manage_relationship_source` context where possible
2021-05-18 00:28:30 -04:00
Zach Daniel
b99064e6cf
improvement: general manage relationship improvements
2021-05-14 01:25:42 -04:00
Zach Daniel
2c09cdb383
fix: track pkey of embeds when adding
2021-05-12 20:00:19 -04:00
Zach Daniel
63aea53223
improvement: support explicit enum types
2021-05-10 01:36:11 -04:00
Zach Daniel
032e450e18
chore: remove IO.inspect
2021-05-06 17:28:21 -04:00
Zach Daniel
20c04bd26a
improvement: always show action dropdown
...
improvement: log on failures in the UI
fix: fix special text fields
2021-05-06 17:25:19 -04:00
Zach Daniel
4da3be19d4
fix: update to ash_phoenix, fix relationship embeds
2021-04-17 15:26:30 -04:00
Zach Daniel
e28725d649
improvement: support array attribute/arguments properly
2021-04-16 13:05:54 -04:00
Zach Daniel
73b71b385e
fix: properly track embedded attribute targets
2021-04-14 23:41:21 -04:00
Zach Daniel
9e3319bc56
fix: set actor in datatable
2021-04-09 16:43:54 -04:00
Zach Daniel
e911fe33b5
fix: support binary data (by not showing it)
2021-04-09 00:15:26 -04:00
Zach Daniel
cb328a9a0d
fix: don't send empty params on save
2021-03-30 01:38:18 -04:00
Zach Daniel
b4b1204c1c
fix: show add button on array input relationships
2021-03-30 00:03:33 -04:00
Zach Daniel
0062bbb6ce
fix: allow removing to_one relationships on creates
...
improvement: support lookup forms *or* create forms
2021-03-29 15:37:02 -04:00
Zach Daniel
b2f74e8800
chore: fix lint
2021-03-29 11:56:33 -04:00
Zach Daniel
ffb2a7b605
chore: remove dependency on heroicons (and thus elixir 1.11)
2021-03-29 11:01:29 -04:00
Zach Daniel
eb25cc92ff
feat: more testing resources + relationship argument forms!
2021-03-28 14:07:09 -04:00
Zach Daniel
ff3d208bf7
improvement: use new relationship management logic
2021-03-25 13:14:37 -04:00
Zach Daniel
1c0fb37a41
fix: remove IO.inspect
...
fix: properly only provide changing fields to actions
2021-03-24 00:55:16 -04:00
Zach Daniel
535e329bbf
fix: support tenant on read actions
2021-03-24 00:27:21 -04:00
Zach Daniel
02ee279748
fix: remove IO.inspect
2021-03-24 00:13:27 -04:00
Zach Daniel
97005b42a3
improvement: only send changing fields
2021-03-24 00:08:29 -04:00
Zach Daniel
8808530b6a
improvement: don't show destination_field
on related tables
2021-03-24 00:08:03 -04:00
Zach Daniel
eef7730c4e
fix: fix build
2021-03-22 19:10:10 -04:00
Zach Daniel
aa464fea36
fix: use static routes
2021-03-22 17:44:34 -04:00
Zach Daniel
2d354d5626
docs: update docs
2021-03-22 13:12:04 -04:00
Zach Daniel
654c241f41
feat: draw the rest of the owl
2021-03-22 02:41:22 -04:00
Zach Daniel
11c7cff79a
chore: package setup + formatting + sobelow
2021-03-22 00:05:49 -04:00
Zach Daniel
3061793e41
feat: support fully managed relationships
...
fix: various fixes
2021-03-21 21:46:46 -04:00
Zach Daniel
4f102d26df
improvement: general fixes, configurable action lists
2021-03-21 12:02:27 -04:00
Zach Daniel
90edb4e266
improvement: add pagination support
2021-03-20 20:09:25 -04:00
Zach Daniel
cc3121e6eb
docs: add docs on the browser pipeline
2021-03-19 19:03:39 -04:00
Zach Daniel
31fc24782b
improvement: support read actions with arguments
...
fix: various fixes/improvements
2021-03-19 18:43:06 -04:00
Zach Daniel
59d76c7738
feat: set actor from show page
...
feat: support destroy actions
fix: various bug fixes
2021-03-19 14:38:58 -04:00
Zach Daniel
ba7f15a0a7
feat: lots of new features, including related id updates
2021-03-19 00:12:10 -04:00
Zach Daniel
b35374e1ac
fix: fix action changing
2021-03-15 23:49:00 -04:00
Zach Daniel
8e6b30d952
improvement: add "log in" button
2021-03-15 23:30:37 -04:00
Zach Daniel
fc7c64edd3
format, fix form
2021-03-15 23:16:28 -04:00
Zach Daniel
bd0ff0d3ed
chore: fix warnings
2021-03-15 23:01:43 -04:00
Zach Daniel
80553bef64
WIP
2021-03-15 22:25:03 -04:00
Zach Daniel
d9a16e3dc9
WIP
2020-12-14 20:41:04 -05:00