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

Offen
#274 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
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
55/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
cli, go
Bereich
cli

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Go
Sterne
1
Forks
1
Ø Merge
7 Std. 48 Min.
Gemergte PRs (30 T.)
6

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 TMHSDigital/subenum

Alle Issues in TMHSDigital/subenum

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

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