feat(dump): date-range filter, sortable columns, native date formatting #10

Merged
haylan merged 6 commits from feat/dump-list-view into main 2026-09-21 18:00:42 +00:00
Owner

Adds the date-range filter, sortable columns, and native date formatting to the admin dump list. Bundled with the version bump to 0.0.3 (0.0.2 was taken by the CI/CD release pipeline itself) and the corresponding CHANGELOG entry.

Adds the date-range filter, sortable columns, and native date formatting to the admin dump list. Bundled with the version bump to 0.0.3 (0.0.2 was taken by the CI/CD release pipeline itself) and the corresponding CHANGELOG entry.
haylan added 6 commits 2026-09-21 17:59:51 +00:00
Adds optional from/to query params to the dumps list endpoint and
DumpLister::list(), and bumps the plugin version to 0.0.2.
The admin date filter can send a naive local date string for "from" but
a UTC Z-suffixed instant for "to" (sw-date-filter widens it client-side
via Date#toISOString()). Comparing those directly against dump
timestamps (parsed in PHP's default timezone) shifted the effective
cutoff by the timezone offset. Re-express both bounds in the app's
default timezone before applying the day boundary.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The installed PHPUnit (12.x, ahead of this plugin's ^10.0 dev
constraint) no longer parses the @dataProvider PHPDoc annotation,
so both tests silently ran their data-provider method with zero
arguments and failed with ArgumentCountError.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
- Wires the backend from/to filter into the UI via sw-filter-panel with
  a hand-built date-filter config (no DAL entity needed — sw-filter-panel's
  only external dependency, filterService, persists through the generic
  user_config entity, not one for the filtered resource).
- Makes the datetime and sizeBytes columns sortable (ascending/descending)
  using the same Mixin.getByName('listing') core list pages use, which
  also persists sort state in the URL query string.
- Replaces the ad hoc `new Date(value).toLocaleString()` with
  Shopware.Utils.format.date, matching the existing fileSize formatting
  and respecting the admin's locale/timezone.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Merge remote-tracking branch 'origin/main' into feat/dump-list-view
version-changelog / version-changelog (pull_request) Successful in 5s
56ada0cedc
# Conflicts:
#	composer.json
haylan merged commit ec5c40c9f2 into main 2026-09-21 18:00:42 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: haylan/AeonDumpManager#10