发布

  • style(runtime): match port-config UI to the app's design system (#482) (#483)

    frostbyte_neo 发布于 2026-08-06 07:58:41 +00:00

    The port-config cards added in #479 rendered as bare Text/Row/RadioButton
    with no card container, clashing with the neighbouring cards
    (RuntimeEnvVarsCard, PhpExtensionsCard, …). Both the local-service card
    and the conflict-policy card also shared the same Lan icon.

    • RuntimePortConfigSection / RuntimePortConflictSelector are now
      EnhancedElevatedCard + RuntimeSectionHeader, matching the standard
      create-screen card style; conflict card uses a distinct
      Icons.Outlined.Shield icon.
    • Conflict policy is a SingleChoiceSegmentedButtonRow (Material 3
      segmented control, already used by PhpExtensionsCard) instead of two
      bare radio rows.
    • Fixed-port input is a standard OutlinedTextField instead of a
      hand-rolled Surface + BasicTextField.
    • Removed the manual Spacers that fought WtaCreateFlowSection's
      spacedBy(CardGap) arrangement; the five create screens now rely on the
      section spacing.

    Co-authored-by: shiaho 222622008+shiaho777@users.noreply.github.com

    下载附件