Commit graph

130 commits

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