4f81ca4
fix: regex pattern caching to eliminate repeated compilation overhead
Raphael Amorim created
4f81ca4
fix: regex pattern caching to eliminate repeated compilation overhead
Raphael Amorim created
cd52b53
refactor(diffview): reduce number of golden files
No need to generate light and dark themes for all tests.
Andrey Nering created
bac4f0a
fix(diffview): fix behavior of tabs and add tab width setting
Andrey Nering created
c5bf830
fix(diffview): do not print ellipsis after content has being fully printed
Andrey Nering created
9f5d70c
fix(diffview): respect line style even if it's the last one with ellipsis
Andrey Nering created
594dfd7
test(diffview): record golden files for yoffset test
Andrey Nering created
45ddc66
feat(diffview): add support for setting vertical offset
Andrey Nering created
3c80193
test(diffview): record golden files for xoffset test
Andrey Nering created
789a6b3
feat(diffview): implement ability to set horizontal offset
Andrey Nering created
f047b18
chore(diffview): add missing doc comments
Andrey Nering created
94fbd9c
refactor(diffview): move `setPadding` to be inside `adjustStyles`
Andrey Nering created
c842c7b
feat(diffview): show ellipsis if we reached the height limit
Andrey Nering created
8104d91
test(diffview): add golden files for height testing
Andrey Nering created
21ca2ae
fix(diffview): add fixes + more extensive testing for height handling
Andrey Nering created
66cd982
fix(diffview): fix small bug when width is very small
Andrey Nering created
a5a1ba2
test(diffview): add golden files for width testing
Andrey Nering created
6d22a5b
test(diffview): update golden files to remove final line breaks
Andrey Nering created
0da19d8
fix(diffview): add fixes + more extensive testing for width handling
Andrey Nering created
371662c
test(diffview): fix file name in test
Andrey Nering created
c608d8f
feat(diffview): implement resizer to make diff wider or shorter as asked
Andrey Nering created
ac33d35
refactor(diffview): refactor order of functions to match call order
Andrey Nering created
bbc3122
refactor(diffview): move padding out of `styles.go`
Andrey Nering created
864735a
refactor(diffview): cache num digits on a struct variable
Andrey Nering created
eb50c92
fix(diffview): improve code width and make it half space on each side
Andrey Nering created
498210c
chore(diffview): fix lint
Andrey Nering created
0823b31
feat(diffview): implement split / side-by-side view
Andrey Nering created
38b91cc
chore(deps): add `github.com/charmbracelet/x/exp/slice`
Andrey Nering created
b759c37
chore: add taskfile to easily run tests
Andrey Nering created
a947f59
refactor(diffview): refactor tests to be table driven
Andrey Nering created
67fe93e
refactor(diffview): ask hunk by parameter instead of accessing by index
Andrey Nering created
062c9a4
chore(diffview): update `go-udiff`
Andrey Nering created
b7219b8
fix(diffview): fix diffview width when code is too narrow
Andrey Nering created
357d727
test(diffview): add test for custom context lines
Andrey Nering created
07d4221
feat(diffview): show hunk lines and test for multiple hunks
Andrey Nering created
c8e653e
fix(diffview): fix left pad for ansi stuff
Andrey Nering created
ab0c4ff
feat(diffview): show line numbers on the left
Andrey Nering created
f8fc11e
refactor(diffview): convert styles into a reusable `LineStyle` type
Andrey Nering created
b7ab1a8
feat(diffview): basic working functionality
Andrey Nering created
1f98b24
feat(diffview): getting started with the api design
Andrey Nering created
a7943ac
refactor: rename package `diff` to `diffview`
Andrey Nering created
7de40d9
chore: having some fun with the `go-udiff` package
Andrey Nering created
bc790a9
chore: bump bubbletea to latest v2-viewable commit
Ayman Bagabas created
3b840ad
chore: initial logs changes
Kujtim Hoxha created
f44035e
feat: add attachments to messages
Kujtim Hoxha created
b744b0f
refactor: new compact dialog
Kujtim Hoxha created
6e526f2
refactor: new init dialog
Kujtim Hoxha created
ebcc9ae
refactor: initial permissions refactor
Kujtim Hoxha created
23763fb
add extra help binding
Kujtim Hoxha created
8668014
chore: rename .opencode.json -> .crush.json
Kujtim Hoxha created
7f6fb49
chore: rename OPENCODE -> CRUSH
Kujtim Hoxha created