Commit graph

16 commits

Author SHA1 Message Date
Folke Lemaitre
dec29f5566
fix(gh): rendering of markdown comments. Closes #2488
Some checks failed
CI / ci (push) Has been cancelled
2025-11-09 21:32:18 +01:00
Folke Lemaitre
06e9ca95f8
fix(gh): render gh comments as markdown when displaying in a non-markdown buffer. Closes #2481 2025-11-09 08:38:43 +01:00
Folke Lemaitre
717073df1a
fix(gh): better integration with render-markdown. Closes #2467 2025-11-08 07:50:48 +01:00
Folke Lemaitre
27153d31e8
refactor(gh): shortcuts 2025-11-08 07:30:35 +01:00
Folke Lemaitre
c6ab18964b
feat(gh): make copilot authors as bots 2025-11-08 07:19:55 +01:00
Folke Lemaitre
f1c7f62f9f
feat(gh): special formatting for code suggestions in review comments. See #2463 2025-11-07 06:51:39 +01:00
Folke Lemaitre
6e16c85212
refactor(picker): generalize line meta data in vim.b.snacks_meta 2025-11-06 18:01:37 +01:00
Folke Lemaitre
7a15e16d01
fix(gh): properly handly pending requests 2025-11-06 16:57:21 +01:00
Folke Lemaitre
cd0d6fe864
fix(gh): use lua to parse dates so we can do this in a fast context 2025-11-06 16:16:03 +01:00
Folke Lemaitre
c83ff8d598
feat(gh): add inline review comment annotations to diff viewer
Refactors the diff renderer to support displaying GitHub review comments
inline with the relevant diff lines. Links review comments to specific
file positions using reviewThreads data from the GraphQL API, enabling a
more intuitive code review experience directly within the diff view.

- Refactored gh/api.lua to async fetch review comments and threads
- Added annotation support to diff renderer with context object pattern
- Separated diff parsing from formatting for better maintainability
- Integrated review comment positioning via reviewThreads linkage

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-06 12:00:29 +01:00
Folke Lemaitre
93cd1175e6
refactor(gh): render cleanup 2025-11-06 06:50:21 +01:00
Folke Lemaitre
1848d74e7c
fix(gh): only skip empty comment reviews. Closes #2445 2025-11-05 08:39:27 +01:00
Folke Lemaitre
714edec900
feat(gh): use new diff renderer for gh pr reviews 2025-11-04 22:22:17 +01:00
Folke Lemaitre
2e2cf50514
refactor(picker.highlight): added render and set now uses render with append=true 2025-11-03 18:52:45 +01:00
Folke Lemaitre
a4f2b9da2d
feat(gh): when on a review comment, the gh_comment action will now do a reply instead of a top-level comment. Fixes #2410 2025-11-02 18:09:08 +01:00
Folke Lemaitre
1335ca1956
feat(gh): added reviews and nice diffs to gh buffer views. See #2411 2025-11-02 09:24:41 +01:00
Renamed from lua/snacks/gh/render.lua (Browse further)