Skip to content

feat: add --no-view-file flag for interactive viewer (#428)#496

Merged
dundee merged 3 commits intodundee:masterfrom
ShivamB25:feat/no-view-file-428
Feb 25, 2026
Merged

feat: add --no-view-file flag for interactive viewer (#428)#496
dundee merged 3 commits intodundee:masterfrom
ShivamB25:feat/no-view-file-428

Conversation

@ShivamB25
Copy link
Contributor

Summary

  • add a new --no-view-file flag and no-view-file config option to disable file content viewing in interactive mode
  • block file viewing via both keyboard (v) and mouse double-click, with user feedback and help text updates
  • add tests for app wiring and TUI behavior, and update README/configuration/man docs

Testing

  • golangci-lint run
  • go test ./cmd/gdu/app ./tui
  • go test ./...

Closes #428

@codecov
Copy link

codecov bot commented Feb 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.33%. Comparing base (ede21d2) to head (79d1589).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #496      +/-   ##
==========================================
+ Coverage   81.42%   83.33%   +1.91%     
==========================================
  Files          49       49              
  Lines        5126     5156      +30     
==========================================
+ Hits         4174     4297     +123     
+ Misses        816      721      -95     
- Partials      136      138       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dundee dundee self-requested a review February 24, 2026 05:17
@dundee
Copy link
Owner

dundee commented Feb 25, 2026

Nice, thanks!

@dundee dundee merged commit 54737b3 into dundee:master Feb 25, 2026
9 checks passed
@ShivamB25 ShivamB25 deleted the feat/no-view-file-428 branch February 25, 2026 12:18
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.

Disable file viewer through a --no-view-file flag

2 participants