Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Add Gauge support

Offen
#1,022 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
42/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
swift
Bereich
frontend

Rechercherichtung

Use the linked Apple Gauge docs as the API contract. Find how similar value-in-range views (for example ProgressView) and style protocols are implemented in this repo, then add public Gauge, GaugeStyle, .gaugeStyle(_:), labels, and range-preserving updates. Done when Gauge(value:in🏷️) compiles and renders on supported hosts, styles change presentation only, and examples plus focused tests cover simple and fully labeled gauges.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

area: rendering area: view type: feature

Summary

Add public Gauge support for displaying a value within a bounded range.

Scope

  • Add the public Gauge API and its common value-in-range initializers.
  • Support labels for the gauge, current value, minimum value, maximum value, and marked values where applicable.
  • Integrate GaugeStyle, style configuration, .gaugeStyle(_:), and baseline platform-appropriate presentations.
  • Normalize and update gauge values while preserving the supplied range and label content.
  • Add examples and focused coverage for simple and fully labeled gauges.

Acceptance criteria

  • A basic Gauge(value:in:label:) compiles and renders on supported hosts.
  • Current, minimum, and maximum value labels are available to gauge styles.
  • Applying a supported gauge style changes the presentation without changing the underlying value semantics.
  • Updating the value or range updates the rendered gauge while preserving view identity.

API reference

Vorherrschende Sprache
Swift
Sterne
2.5k
Forks
84
Ø Merge
2 Std. 10 Min.
Gemergte PRs (30 T.)
62

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus OpenSwiftUIProject/OpenSwiftUI

Alle Issues in OpenSwiftUIProject/OpenSwiftUI

Ähnliche Issues

Weitere Issues zu Swift

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.