[Bug] `sign` breaks on multi-team accounts
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 50/100
Direzione di ricerca
Start in the sign command's code path where teams() is called unconditionally, then check the team-ID matching it feeds. The GUI side is store.rs around line 166 and gsa_account.rs around line 62, where teams_response.teams[0] is picked by default. Done means a non-TTY sign on a multi-team account no longer prompts, a --team option is accepted, and the GUI default is either explicit or surfaced to the user; the GUI behaviour needs a maintainer decision first.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Report
I'm assuming given the intended use case this isn't common, but I have multiple teams on one account.
sign calls teams() unconditionally which triggers an interaction on a multi-team account and dies in a non-TTY context.
Adding a --team option to sign to pass a team ID (then using it via match where team_id is set right now) fixes non-TTY use.
On the GUI side (store.rs:166/gsa_account.rs:62):
teams_response.teams[0].team_id.clone()
That makes the GUI default to whatever happens to be first, which in my case also would not be great, it'd pick a professional team for signing. I saw you can set/change the team in settings but there's nothing that tells you it made a default decision and you might want/need to check the setting.
Contributor Checks
- I am willing to attempt to make a pull request to fix this bug
Additional Information
- Developer mode enabled
- Using paid developer account
- I will send an ipa of the app I'm having trouble installing if any
- I'm willing to provide crash logs or debugging information if needed
- Lingua principale
- Rust
- Stelle
- 3.4k
- Fork
- 224
- Merge medio
- 34m
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di claration/impactor
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 72/100
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 50/100
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
-
[Bug] Unable to openApertabug
Difficoltà 3/5 Mezza giornata Idoneità per principianti 35/100
-
[Feature] Add local AnisetteApertaenhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
Tutte le issue di claration/impactor
Issue simili
-
claim
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Nixitov/Riptide-Native#946 ·
I maintainer di solito rispondono entro 1 giorno
-
area: ai-assistants documentation help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
BetaBots-LLC/latticegate#17 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 94/100
storytold/craft-libs#5594 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
听歌识曲历史跳转后对应音源界面无法返回Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
LingyunStudio/RustMusic#16 ·