feat(10-03): search, sort, filter, page and bulk-delete any list
- List state (search, sort, dir, page, per_page, filter[<name>]) lives in
the URL query through parseListQuery/toListQuery; every change is a
router replace and clears the selection; search is debounced 300 ms and
resets the page
- DataTable renders the schema columns with a tri-state page checkbox,
asc/desc/none sorting with aria-sort, selected rows, a sticky header,
eight skeleton rows while loading and an empty slot
- CellValue renders text (muted dash when empty, arrays comma-joined),
datetime as YYYY-MM-DD HH:mm and switch as the Tak/Nie pills
- The heading shows the plural recordCount and the create button;
delete sits in the toolbar, disabled without a selection, and confirms
with the plural deleteConfirm in a Reka alert dialog before POSTing
bulk-delete; a 409 shows a danger toast
- FilterBar renders switch (JSON of the option value), daterange
(from..to) and scope filters (choices from filters/{scope}/options)
- Pagination shows the range, the per-page select over perPageOptions
(hidden with one choice) and a pager with ellipsis
- The tracer smoke test skips the new checkbox column; new backend::lang
list keys; boardwalk/dist rebuilt
This commit is contained in:
1
boardwalk/dist/assets/index-BB795npz.js
vendored
1
boardwalk/dist/assets/index-BB795npz.js
vendored
File diff suppressed because one or more lines are too long
3
boardwalk/dist/assets/index-CAZobGnD.js
vendored
Normal file
3
boardwalk/dist/assets/index-CAZobGnD.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
boardwalk/dist/assets/index-VVVgyQoR.css
vendored
1
boardwalk/dist/assets/index-VVVgyQoR.css
vendored
File diff suppressed because one or more lines are too long
1
boardwalk/dist/assets/index-W7axD3vY.css
vendored
Normal file
1
boardwalk/dist/assets/index-W7axD3vY.css
vendored
Normal file
File diff suppressed because one or more lines are too long
4
boardwalk/dist/index.html
vendored
4
boardwalk/dist/index.html
vendored
@@ -6,8 +6,8 @@
|
||||
<meta name="robots" content="noindex, nofollow" />
|
||||
<meta name="summer-admin-base" content="__SUMMER_ADMIN_BASE__" />
|
||||
<title>SummerCMS</title>
|
||||
<script type="module" crossorigin src="./assets/index-BB795npz.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="./assets/index-VVVgyQoR.css">
|
||||
<script type="module" crossorigin src="./assets/index-CAZobGnD.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="./assets/index-W7axD3vY.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
Reference in New Issue
Block a user