Commit 6ea1599
feat: Redo of Cinder integration (#380)
* Revert "improvement: incoporate sevenseacat theme into cinder table for consistent styling and enhanced features"
This reverts commit 7d39a83.
* Update with simpler Cinder integration
* Refactor DataTable to use Cinder's built-in pagination and data loading
Remove manual data loading via AshPhoenix.Form.submit() and let Cinder
handle pagination, error states, and loading internally. Add filter
toggle button and pass pagination config derived from action settings.
* Improve DataTable layout consistency and styling
Align spacing with other ash_admin pages, constrain query argument
form width, make table full-width within its card, use consistent
px-6 padding throughout, and style Filters button as outline.
* Fix query validation and pagination config crash
Don't pass query to Cinder when form has validation errors, and
handle action.pagination being false (not just nil).
* chore: REUSE compliance
* chore: Remove extra blank lines
* chore: run `mix format`
* Hide Filters button when resource has no filterable columns
* chore: Fix formatting.. again1 parent a90d5e7 commit 6ea1599
13 files changed
Lines changed: 281 additions & 655 deletions
File tree
- assets
- dev/resources/accounts/resources
- documentation/dsls
- lib/ash_admin
- components/resource
- resource
- themes
- priv/static
- assets
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
0 commit comments