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

Đang mở
#274 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cli, go
Lĩnh vực
cli

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Go
Star
1
Fork
1
Merge trung bình
7 giờ 48 phút
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của TMHSDigital/subenum

Tất cả issue của TMHSDigital/subenum

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.