Skip to content

feat(tui): add full-screen Bubble Tea TUI to hooksctl forward - #10

Merged
aaronbrethorst merged 7 commits into
mainfrom
tui
May 14, 2026
Merged

feat(tui): add full-screen Bubble Tea TUI to hooksctl forward#10
aaronbrethorst merged 7 commits into
mainfrom
tui

fix(tui): address post-review bugs and test gaps

acb67b1
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 14, 2026 in 15s

Annotations

Check failure on line 158 in cmd/hooksctl/forward.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=OneBusAway_hooks&issues=AZ4ktrIflhLVGXtYZ7k1&open=AZ4ktrIflhLVGXtYZ7k1&pullRequest=10

Check failure on line 75 in internal/tui/model.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=OneBusAway_hooks&issues=AZ4c-puxqbKbxTCof8Ub&open=AZ4c-puxqbKbxTCof8Ub&pullRequest=10

Check warning on line 232 in cmd/hooksctl/forward.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 10 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=OneBusAway_hooks&issues=AZ4ktrIflhLVGXtYZ7k3&open=AZ4ktrIflhLVGXtYZ7k3&pullRequest=10

Check failure on line 139 in cmd/hooksctl/forward.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "forward:" 3 times.

See more on https://sonarcloud.io/project/issues?id=OneBusAway_hooks&issues=AZ4ktrIflhLVGXtYZ7k0&open=AZ4ktrIflhLVGXtYZ7k0&pullRequest=10

Check failure on line 23 in cmd/hooksctl/forward_unit_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=OneBusAway_hooks&issues=AZ4ktrKWlhLVGXtYZ7k6&open=AZ4ktrKWlhLVGXtYZ7k6&pullRequest=10

Check failure on line 201 in internal/tui/view.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "│ │\n" 3 times.

See more on https://sonarcloud.io/project/issues?id=OneBusAway_hooks&issues=AZ4c-psnqbKbxTCof8Ua&open=AZ4c-psnqbKbxTCof8Ua&pullRequest=10

Check failure on line 238 in cmd/hooksctl/forward.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 33 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=OneBusAway_hooks&issues=AZ4ktrIflhLVGXtYZ7k4&open=AZ4ktrIflhLVGXtYZ7k4&pullRequest=10

Check failure on line 363 in cmd/hooksctl/forward.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=OneBusAway_hooks&issues=AZ4ktrIflhLVGXtYZ7k5&open=AZ4ktrIflhLVGXtYZ7k5&pullRequest=10

Check warning on line 158 in cmd/hooksctl/forward.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 10 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=OneBusAway_hooks&issues=AZ4ktrIflhLVGXtYZ7k2&open=AZ4ktrIflhLVGXtYZ7k2&pullRequest=10