Commit graph

119 commits

Author SHA1 Message Date
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