Skip to content

Conversation

@bastianallgeier
Copy link
Member

@bastianallgeier bastianallgeier commented Jul 14, 2025

Description

The new class is used in the stats section to clean up the code and can later be used in our new stats field as well to simplify migration between sections and fields.

This is a first PR in a series of steps to get rid of sections.

Changelog

Enhancements

  • New Kirby\Panel\Ui\Stat backend component, which is used to create the correct information for the <k-stat> Vue component.

Refactoring

  • The stats field uses the new Kirby\Panel\Ui\Stat class to clean up the props generation for the frontend.

Breaking changes

None

Ready?

  • In-code documentation (wherever needed)
  • Unit tests for fixed bug/feature
  • Tests and CI checks all pass

For review team

  • Add changes & docs to release notes draft in Notion

@bastianallgeier bastianallgeier added this to the 5.1.0 milestone Jul 14, 2025
@bastianallgeier bastianallgeier requested a review from a team July 14, 2025 14:16
@bastianallgeier bastianallgeier force-pushed the feat/stat-backend-component branch 2 times, most recently from 7e10422 to ca623f6 Compare July 14, 2025 14:23
@bastianallgeier bastianallgeier force-pushed the feat/stat-backend-component branch from ca623f6 to b44095b Compare July 15, 2025 10:08
@bastianallgeier bastianallgeier force-pushed the feat/stat-backend-component branch from 88453e3 to b5c3097 Compare July 15, 2025 10:25
@bastianallgeier bastianallgeier force-pushed the feat/stat-backend-component branch from 3aa3d25 to 1036077 Compare July 15, 2025 10:53
@bastianallgeier bastianallgeier force-pushed the feat/stat-backend-component branch from db0435d to 364206d Compare July 15, 2025 10:56
@distantnative distantnative merged commit bf4d7ad into develop-minor Jul 15, 2025
12 checks passed
@distantnative distantnative deleted the feat/stat-backend-component branch July 15, 2025 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants