[Bug]: Cursor Usage math assumes all subs are same tier

Offen Anfängerfreundlich
#42,839 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
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
62/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript
Bereich
frontend

Rechercherichtung

Arbeite in apps/desktop: Finde die Komponente des Nutzungspanels, die die Prozentwerte pro Abonnement anzeigt, und den Code, der die Cursor-Abonnement-Kontingente zusammenfasst. Prüfe, wo die Stufe jedes Abonnements (Ultra/Super) verfügbar ist, da die Berechnung derzeit alle Abonnements gleich gewichtet. Reproduziere das Problem mit einem Ultra- und einem Super-Abonnement und bestätige, dass der angezeigte Prozentwert dem kombinierten Kontingent entspricht. Der Screenshot im Issue dient als Referenz für das fehlerhafte Verhalten.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

bug needs-triage
Before submitting
  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.
Area

apps/desktop

Steps to reproduce
  1. Add an Ultra Cursor subscription
  2. Add a Super Cursor subscription (or some other lower tier)
  3. Consume usage from on of the subscriptions
  4. Open usage panel and compare percentage usage left shown with the correct math given the subs tiers
Expected behavior

The usage modal should take into account that different subscriptions have different allowances.

Actual behavior
image

In this picture, the subscription on the right is an ultra subscription, the one on the left is a super subscription, yet the weight assigned to each is equal, meaning that the calculation is off since the ultra is 50x and Super is 15x usage allowance

Impact

Cosmetic issue

Version or commit

0.1.12

Environment

Debian, desktop, Cursor

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

Do the math by hand

Vorherrschende Sprache
TypeScript
Sterne
24.8k
Forks
6.4k
Ø Merge
1 Std. 13 Min.
Gemergte PRs (30 T.)
584

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

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 pingdotgg/t3code

Alle Issues in pingdotgg/t3code

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

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