Buttons in Settings › Storage have three different sizes

Abierto Apto para principiantes
#346 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
78/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
swift
Área
design, desktop

Línea de trabajo

Empieza por SetupPackSection.swift, SyncFolderSection.swift y StorageSettingsSection.swift, donde el issue señala los botones con tamaños o estilos inconsistentes. Lee docs/conventions.md y comprueba las filas de Settings existentes que usan .small; después revisa SettingsDetail, WallpaperThumbnailChooser y NativeWallpaperSourceControl para verificar los valores predeterminados mencionados. El trabajo estará terminado cuando los botones de las filas de Settings tengan una altura y una apariencia de panel uniformes.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

area: settings bug Haiku review: no-score ui
Area

Settings

Wallpaper

Any

What you did

Open Settings › Storage.

What went wrong

The row buttons come in three sizes and two looks:

  • Scan library…, Pull & Review… and the backup Export… are 20 pt (.panelPrimary(size: .small)).
  • Setup Pack Export… and Import…, Choose folder… and Push now are 28 pt. They use .panelSecondary, which defaults to .regular.
  • Choose backup… has no panel style, so it's a system button that ignores the panel's colours.

You see it most where Push now (28 pt) sits next to Pull & Review… (20 pt). StorageSettingsSection sets .controlSize(.small) with the comment "Row buttons and switches share one size across Settings", and docs/conventions.md says a .panelSecondary beside a .panelPrimary uses the same size. Most other Settings rows already use .small.

Suggested fix: Use .panelSecondary(size: .small) in SetupPackSection.swift (Export…, Import…) and SyncFolderSection.swift (Choose folder…, Clear, Push now), and give Choose backup… (StorageSettingsSection.swift) the same style. SettingsDetail, WallpaperThumbnailChooser and NativeWallpaperSourceControl also use the default size and may need the same change.

What you expected

All row buttons in Settings are the same height.

Diagnostics report
screenshot
Details from the app

No response

App version

1.18.0 (71) (macOS 27.2.1)

Lenguaje dominante
Swift
Estrellas
1.3k
Forks
41
Merge medio
4 h 46 min
PR fusionados (30 d)
86

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de MMFoundation/WallpaperMachine

Todos los issues de MMFoundation/WallpaperMachine

Issues similares

Más issues de Swift

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.