Commit Graph

102 Commits

Author SHA1 Message Date
mrparalon
a2bd0749f0 Diffview support (#56)
This MR adds support for diffview as a reviewer. I'll update the README and some other checks for Delta in a followup MR.
2023-09-05 09:44:03 -04:00
Harrison Cramer
ac2118ceb6 Bugfix: Force binary rebuild
We need to rebuild the binary whenever the plugin has changed.
Previously we were not doing this if the binary already existed. This MR
adds an override parameter to the build() function which will force a
rebuild even if the binary already exists.

The README has been updated to note that this parameter should be used
for Packer/Lazy, and when someone is troubleshooting. It won't be passed
in to the build function during the normal setup call.

Should address #55
2023-09-04 11:46:06 -04:00
Harrison (Harry) Cramer
6cb9d2887c Update README.md 2023-09-03 19:44:57 -04:00
Harrison (Harry) Cramer
94fdf5f38a Feat: See Pipeline Job Logs (#54)
This MR adds the ability to see log traces associated with Gitlab CI jobs, via the new `perform_linewise_action` keybinding in the pipeline popup.
2023-09-03 19:44:12 -04:00
Harrison (Harry) Cramer
26a133be44 Update README.md 2023-09-03 19:33:54 -04:00
Harrison (Harry) Cramer
e6e0bf4093 Feat: View + Manage Pipeline (#53)
This MR adds the `.pipeline()` command which opens up the pipeline popup. This popup shows information about the current pipeline and it's jobs, and gives users the ability to re-trigger failed jobs.
2023-09-03 18:01:54 -04:00
Harrison Cramer
4c6dcacfcd Added notification for created comments/notes 2023-09-01 10:00:48 -04:00
Harrison (Harry) Cramer
0a91b890c3 Update README.md 2023-08-31 21:56:49 -04:00
Harrison (Harry) Cramer
fc51d6a252 Update README.md 2023-08-31 21:44:59 -04:00
Harrison (Harry) Cramer
b19ab2a8ae Update README.md 2023-08-31 21:44:32 -04:00
Harrison (Harry) Cramer
152c55fd57 Feat: Notes (Non-Linked Comments) (#52)
Adds support for notes. These are comments that are not linked to specific lines of code in the MR.
2023-08-31 21:36:40 -04:00
Harrison Cramer
d92cf39dd7 Bugfix: Merge Function
Previously, the merge function would override the entire default table during a
merge if a matching table was found in the override table.

This would prevent users from modifying a single setting (for instance changing
just a single icon, rather than the whole thing)
2023-08-29 19:30:46 -04:00
Harrison Cramer
72a263d346 Bugfix: Fixes server.start() command 2023-08-28 08:25:30 -04:00
Harrison Cramer
c29fa4f43f Bugfix: Fixed default state 2023-08-28 08:21:31 -04:00
Harrison (Harry) Cramer
3108a3709f Update README.md 2023-08-27 17:28:21 -04:00
Harrison (Harry) Cramer
dfded0f3bd Update README.md 2023-08-27 17:27:47 -04:00
Harrison (Harry) Cramer
19468a3d2d BREAKING CHANGE: Delta Pager + Large Refactor (#43)
BREAKING CHANGE: This MR addresses an underlying issue with the original implementation in regards to detecting line numbers for comments. 

As such, this is a major breaking change. The setup function signature has changed, please review the `README.md` for the new arguments. The delta pager has also been added as a dependency: https://github.com/dandavison/delta

There will be future work to implement a native solution for parsing changes and line numbers.
2023-08-27 17:26:54 -04:00
Harrison (Harry) Cramer
ed67a03f8f Update README.md 2023-08-20 21:53:47 -04:00
Harrison (Harry) Cramer
2c0fc2b57e Update README.md 2023-08-20 21:53:34 -04:00
Harrison (Harry) Cramer
5cb5170f3a Update README.md 2023-08-20 21:53:23 -04:00
Harrison (Harry) Cramer
f7cdd38d5f Update README.md 2023-08-20 21:52:39 -04:00
Harrison (Harry) Cramer
2920c67fe2 Update README.md 2023-08-20 21:50:52 -04:00
Harrison (Harry) Cramer
27c54b4739 Cleanup of comment creation (#42)
Refactor of comment creation code
2023-08-19 00:27:11 -04:00
Harrison Cramer
ce5dd1aaa2 Fixes #28
We do not want to attempt to refresh the discussion tree if the buffer has been
deleted.
2023-08-18 21:38:27 -04:00
Harrison Cramer
16ed361333 Added lots of comments and documentation 📘 2023-08-18 19:23:44 -04:00
Harrison Cramer
2846dd3239 Slight cleanup + simplification of init state 2023-08-18 19:23:44 -04:00
Harrison (Harry) Cramer
57b3f12a2f Update README.md 2023-08-18 16:17:46 -04:00
Harrison (Harry) Cramer
b664406e50 Update README.md 2023-08-18 07:55:57 -04:00
Harrison (Harry) Cramer
2d6ba691f4 Update bug_report.md 2023-08-17 17:19:00 -04:00
Harrison (Harry) Cramer
2395353e5f Update README.md 2023-08-17 17:16:27 -04:00
Harrison Cramer
8c9d46ceb5 Broke require("gitlab").start_server() command into separate function
This will make debugging easier!
2023-08-17 17:13:35 -04:00
Harrison Cramer
14bb2800e5 Remove branch logic 2023-08-17 16:35:55 -04:00
Harrison Cramer
0ccff54933 Remove unused branch_exists function 2023-08-17 16:24:29 -04:00
Harrison (Harry) Cramer
f5bf720b61 Bugfix: Don't Start Server Right Away (#40)
This MR simplifies the plugin quite a bit by only attempting to start the Go server after you specifically try to run a command. This streamlines working on feature branches and removes the need for a `base_branch` property entirely.
2023-08-17 16:22:53 -04:00
Harrison (Harry) Cramer
f4aafe46a9 Update README.md 2023-08-17 12:42:52 -04:00
Harrison (Harry) Cramer
d25c62ae9f Adding Support for Resolving/Unresolving Discussions (#39)
This MR adds the ability to mark discussions as resolved or unresolved. This is important to the review process.
2023-08-17 12:42:36 -04:00
Harrison (Harry) Cramer
1676992266 Update README.md 2023-08-16 21:43:51 -04:00
Harrison (Harry) Cramer
844e093294 Add/Remove Reviewers and Assignees (#38)
Adds APIs for the ability to add or remove reviewers and assignees to a merge request. The eligible reviewers and assignees are pulled from the current members of a project.
2023-08-16 21:42:53 -04:00
Harrison (Harry) Cramer
6274746d4b Update README.md
The token should be GITLAB_TOKEN when set in the shell.
2023-08-16 19:11:42 -04:00
Harrison (Harry) Cramer
6bb7575c6d Attach UUIDs to Discussion Text (#37)
Three backticks will break the discussion tree, this MR specifically adds custom UUIDs to each text node to avoid this issue.
2023-08-15 23:33:52 -04:00
Harrison (Harry) Cramer
4f1a0f9c57 Update README.md 2023-08-15 12:03:16 -04:00
Harrison Cramer
146d7d3936 Updated issue templates 2023-08-15 08:26:26 -04:00
Harrison (Harry) Cramer
d9a744300e Fixes #28 (#33)
We weren't writing a 200 status code post-delete because Gitlab returns
a 204 (empty but successful) by default. I updated this logic to change
that and also to refresh the tree.

The collapsed state of the tree will be wiped out if you delete a
bottom-level discussion but that's okay for now, not a high priority
right now.
2023-08-14 23:16:18 -04:00
Harrison (Harry) Cramer
648e7a298b Fix #19 (#32) 2023-08-14 22:44:35 -04:00
Harrison (Harry) Cramer
76055d2652 Fixes #29 (#31)
We want to pick the note ID more carefully for deletion.

If it's the root node (aka the first comment in a discussion thread) then
we want to choose the root_note_id since that is the ID of the first
comment in the discussion. Otherwise, we want to choose the note_node
ID.
2023-08-14 21:49:07 -04:00
Harrison (Harry) Cramer
8724847d5a Addresses issue with #20 (#30) 2023-08-14 21:34:54 -04:00
Harrison (Harry) Cramer
2028be2154 Feat: Edit PR Description (#22)
This MR makes it possible to edit the description. Non-breaking, will happen within the normal description popup.
2023-08-14 20:37:36 -04:00
Harrison (Harry) Cramer
35d5b619ce Fixes #26 (#27) 2023-08-14 19:25:54 -04:00
Harrison (Harry) Cramer
1963e49d63 Update README.md 2023-08-14 18:23:37 -04:00
Harrison Cramer
0a4ce10aa1 Removed extra log 2023-08-14 17:59:40 -04:00