Skip to content

mouse support+select fixes#35

Merged
hugoh merged 10 commits into
mainfrom
mouse-support+select-fixes
Jun 10, 2026
Merged

mouse support+select fixes#35
hugoh merged 10 commits into
mainfrom
mouse-support+select-fixes

Conversation

@hugoh

@hugoh hugoh commented Jun 9, 2026

Copy link
Copy Markdown
Owner
  • fix(tui): selection
  • build: moved from jscpd to jscpd v5's cpd
  • feat(tui): mouse support
  • fix(tui): esc on selection exits without saving
  • test: fix state path
  • refactor(tests): another test helper
  • feat(tui): mouse support in lists & command bar
  • refactor(tui): split update code
  • perf: mem allocation
  • refactor: simplified logger init

@deepsource-io

deepsource-io Bot commented Jun 9, 2026

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in dd8a4cf...49a8545 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
Go Jun 10, 2026 12:07a.m. Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

Comment thread internal/tui/testhelper_test.go Outdated
"github.com/hugoh/hrd/internal/config"
)

func newTestModel(tb testing.TB, ctx context.Context, opts Options) (*model, error) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

context.Context should be the first parameter of a function


context.Context should be the first parameter of a function.

@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 84.84848% with 65 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.87%. Comparing base (dd8a4cf) to head (49a8545).

Files with missing lines Patch % Lines
internal/tui/command_bar.go 68.86% 32 Missing and 1 partial ⚠️
internal/tui/screens.go 82.99% 21 Missing and 4 partials ⚠️
internal/tui/mouse.go 93.47% 5 Missing and 1 partial ⚠️
internal/ui/ui.go 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
+ Coverage   88.76%   88.87%   +0.11%     
==========================================
  Files          24       28       +4     
  Lines        3008     3101      +93     
==========================================
+ Hits         2670     2756      +86     
- Misses        272      276       +4     
- Partials       66       69       +3     

☔ View full report in Codecov by Harness.
📢 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.

@hugoh hugoh force-pushed the mouse-support+select-fixes branch from 9081819 to f727e70 Compare June 10, 2026 00:04
@sonarqubecloud

Copy link
Copy Markdown

@hugoh hugoh merged commit f88a65a into main Jun 10, 2026
6 of 7 checks passed
@hugoh hugoh deleted the mouse-support+select-fixes branch June 10, 2026 00:10
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