Skip to content

Preserve literal string-list elements through TUI forms - #72

Open
puncsky wants to merge 1 commit into
render-oss:mainfrom
puncsky:fix/preserve-form-string-lists-20261029
Open

puncsky wants to merge 1 commit into
render-oss:mainfrom
puncsky:fix/preserve-form-string-lists-20261029

Conversation

@puncsky

@puncsky puncsky commented Oct 30, 2026

Copy link
Copy Markdown

Summary

Serialize editable string lists with quoting for commas, quotes, empty elements and newlines, then parse that representation without normalizing CRLF.

Motivation

Opening and applying an unchanged filter can split one literal comma-containing term into several terms, changing the selected results. The shared form codec should preserve the accepted elements.

How to verify

go test ./cmd/... ./pkg/... ./internal/...
  • All 57 development packages pass on the candidate.
  • Tests round-trip literal commas, embedded quotes, empty elements, Unicode and CRLF through the actual struct/form conversion, and exercise editable plain lists and malformed quoting.
  • New-code lint is clean against c31e586e; full lint on unmodified main reports 92 pre-existing findings with the pinned golangci-lint v2.14.0.

Release notes

TUI forms preserve literal comma-containing and quoted string-list elements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant