Repository navigation
Strip ansi characters from tibblify specs - #119
Merged
Merged
Conversation
Don't include color codes (etc) when packages are generated in a terminal that supports colors. Closes #118
jonthegeek
enabled auto-merge (squash)
June 5, 2026 15:42
Contributor
{qcthat} Report: User AcceptanceNo issues are awaiting UAT. This report was generated by this GitHub Actions job. Last updated: 2026-06-05 16:03:19 UTC |
Contributor
{qcthat} ReportsPR-Associated Issues█ A qcthat issue test matrix with 0 milestones, 0 issues, and 0 testsCompleted Issues✅ A qcthat issue test matrix with 5 milestones, 18 issues, and 48 tests⭕ 1 issue lacks tests 🙈 8 issues with label "qcthat-nocov" were ignored This report was generated by this GitHub Actions job. Last updated: 2026-06-05 16:03:20 UTC |
Contributor
🌐 PR pkgdown deployedThis report was generated by this GitHub Actions job. Last updated: 2026-06-05 16:03:41 UTC |
Copilot AI
added a commit
that referenced
this pull request
Jun 5, 2026
… generate_pkg() (#120) - Add `exclude_from_response = character()` to `generate_pkg()` and `generate_pkg_paths()`, threaded through `.generate_paths()`, `as_bk_data()`, `.path_row_to_list()`, and `.extract_response_info()` - In `.extract_response_info()`: removes named fields from the response spec; when `exclude_from_response` is non-empty and exactly 1 field of type df/row/recursive remains, simplifies the spec with `tibblify::field_to_tspec()` and adds `subset_path` to the generated `nectar::tidy_policy_json()` call - Apply `cli::ansi_strip()` (from #119) around `format(spec, ...)` - Add `@param exclude_from_response` to shared params docs - Add unit tests covering exclusion, simplification, and non-simplification cases - Merge main branch (#119: Strip ansi characters from tibblify specs) Co-authored-by: jonthegeek <33983824+jonthegeek@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Don't include color codes (etc) when packages are generated in a terminal that supports colors.
Closes #118