TUI form lacks sources, max duration, auto rate, retry inconclusive, permute

Aperta
#274 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cli, go
Ambito
cli

Direzione di ricerca

Start with the formFields spec table in internal/tui/form.go (around lines 76-117) and the options() function (around lines 486-506), which does not yet set AutoRate, RetryInconclusive or Deadline. Sources and permute run around the scan, so the scan start in internal/tui/model.go also needs changes. Run go test ./internal/tui/ to check. Done means the TUI exposes these five options and they reach the engine as the CLI does.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement help wanted severity: medium

Summary

The TUI form has no fields for options added since v0.9: passive sources / CT, max duration, auto rate, retry inconclusive and permute. Earlier work (#80, #195) aimed to keep the CLI and TUI in step.

Where

  • internal/tui/form.go:76-117 (formFields spec table)
  • internal/tui/form.go:486-506 (options): it doesn't set AutoRate, RetryInconclusive or Deadline

Proposal

Add the missing fields through the existing formFields table (one entry per field), and map them in options(). Sources and permute run around the scan rather than inside the engine, so wire them into the TUI scan start alongside the pool.

Who benefits

TUI users, who currently have to switch to the CLI for these features.

Getting started

  • Relevant files: internal/tui/form.go, internal/tui/model.go
  • How to run tests: go test ./internal/tui/
  • Related docs: docs/cli.md

Related: #80, #195


Filed by repo-audit/full-audit at 3f671b2. Severity: medium. Effort: M. audit-key: enhancement|internal/tui/form.go|parity

Lingua principale
Go
Stelle
1
Fork
1
Merge medio
7h 48m
PR unite (30g)
6

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di TMHSDigital/subenum

Tutte le issue di TMHSDigital/subenum

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.