Review 13.4 Merged

88396[TASK] Modernize Dashboard

Benjamin Kott CR +2 V +2 Nightmare +2701 −1458 updated 02/28/25, 09:57

Commit message

The dashboard is now fully usable via the keyboard, addressing A11Y
and usability reports. This change has been backported to the latest
LTS version, but not to older TYPO3 versions.

During initial tests, trying to implement moving widgets using keyboard
arrow keys, we discovered limitations. Widgets could not be moved in all
directions, resulting in linear sorting only. To resolve this, we
implemented a virtual grid system that allows widgets to be placed
freely.

Widgets can now occupy any position on the grid, and other elements
will move to the next logical place, mimicking natural movement. The
DOM's element ordering matches the visual alignment for consistent tab
navigation.

Breakpoints for small and medium devices now store their own positions
to avoid visual inconsistencies. Users can rearrange widgets based on
the viewport, allowing for better customization on mobile and desktop
environments. We have also limited the dashboard's maximum width,
providing developers with a reliable set of widths for designing
widgets.

Additionally, we are now using the HTML Drag and Drop API, preparing
for future enhancements. Currently, we do not support moving widgets
across windows or between dashboards, but this groundwork allows for
future development in newer versions.

By removing unnecessary page refreshes, we enhanced the user experience
by making the dashboard a reactive component, eliminating page loads
and focus loss.

This update aims to make the dashboard more fluent and enjoyable to use.

Commands executed:
  npm remove muuri
  npm install @lit-labs/motion
  npm run build

Review

  • Code review CR +2 Done
    • Benjamin Kott +2
    • Benjamin Franzke +1
  • Verified V +2 Done
    • Benjamin Kott +2
    • Benjamin Franzke +1
    • core-ci +1 CI

Issues 1

Files 67

Show 47 more files

Review log 68

  1. Benjamin Kott commented on patch set 1 02/28/25, 09:32

    Cherry Picked from branch main. The following files contain Git conflicts: * Build/phpstan/phpstan-baseline.neon
  2. core-ci voted on patch set 1 V -1 02/28/25, 09:38 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/74879

  3. Benjamin Kott uploaded patch set 2 V -1 02/28/25, 09:41

  4. Benjamin Kott commented on patch set 2 02/28/25, 09:42

    This change is ready for review.
  5. Benjamin Franzke voted on patch set 2 CR +1 V +1 02/28/25, 09:44

  6. core-ci voted on patch set 2 V +1 02/28/25, 09:52 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/74885

  7. Benjamin Kott voted on patch set 2 CR +2 V +2 02/28/25, 09:57

  8. Benjamin Kott merged patch set 3 02/28/25, 09:57