docs: automation-contract.md omits the NWC wallet and pay identifiers
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 73/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- dart
- Ambito
- documentation
Direzione di ricerca
Inizia da docs/automation-contract.md e confronta le sue tabelle con gli identificatori in lib/core/automation/automation_ids.dart; verifica se esiste già un test che controlla il documento rispetto a questi identificatori. Documenta gli ID elencati e le relative etichette di stato, quindi aggiungi le transizioni e le tempistiche di Connected wallet (NWC). Il lavoro è concluso quando il contratto copre gli esiti di connessione, pagamento e fattura dell’acquirente descritti nell’issue.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Context
docs/automation-contract.md is the contract black-box harnesses (Mortsom) build on. Changing what it lists requires coordinated review. Several identifiers the NWC flows use are defined in lib/core/automation/automation_ids.dart and used by the app, but are not in the document.
What happens
Not documented at main 0293bd44:
| Identifier | Where |
|---|---|
settings.wallet |
settings entry that opens the wallet screen |
wallet.nwc.uri |
connect form URI field |
wallet.nwc.paste |
connect form paste action |
wallet.nwc.connect |
connect button |
wallet.settings.disconnect |
disconnect on the connected wallet screen |
pay.nwc |
"pay with wallet" button on the pay screen in wallet mode |
pay.cancel |
cancel-trade link on the manual pay screen |
The behaviour around them is not documented either, and automation has to discover it:
- The connect form carries
wallet.connectionlabelleddisconnected. It keeps that label while the app waits for the wallet's info event, up to about 10 s. On success the screen pops back to settings rather than relabelling. A harness that reads the label right after tapping connect always seesdisconnected. Mortsom did exactly this until a live run showed it. - With a wallet connected, the seller's pay screen shows
pay.nwcandpay.order_id, and no QR. After a successful payment the app moves to the trade detail. After a failed one it switches to the manual screen, withoutpay.nwcand withpay.invoice.text. - With a wallet connected, the buyer's invoice is requested and submitted the moment the order is taken. The trade then shows
trade.payout=scheduledand offers notrade.addInvoice.
How to fix
Add the identifiers to the tables in docs/automation-contract.md, with their labels where they carry state. Add a short "Connected wallet (NWC)" section that describes the transitions above, including the timing of the connect form and where each outcome lands. If there is a test that checks the doc against automation_ids.dart, extend it to these ids.
- Lingua principale
- Dart
- Stelle
- 11
- Fork
- 9
- Merge medio
- 2g 1h
- PR unite (30g)
- 16
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un 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 MostroP2P/app
-
area: ui bug priority: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
area: ui bug priority: high
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Bug: Button "Share logs" does nothingForse già presa @Luquitasjeffrey l’ha presa 7 giorni fa. Aperta
Difficoltà 2/5 Mezza giornata Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
area: rust-core bug priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di MostroP2P/app
Issue simili
-
Python example: list a model's scenes and their camerasForse già presa @rudraparmar76 l’ha presa oggi. Apertadocumentation good first issue python
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
iamahsanmehmood/openskp#796 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
Plural rendering: first matching part wins, but gen-l10n lets the last one win (=1 shadows one)Apertabug help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
crowdin/flutter-sdk#97 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
MrSpideyNihal/lockfeed#16 ·
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
InlitX/GymMane#529 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno