Commit Graph

162 Commits

Author SHA1 Message Date
Matt Bierner
9e0a44acc3 Port github extension to use esbuild
Had to make same fixes as with #296355. We can't pull in const enums from a d.ts file like this
2026-03-02 11:28:35 -08:00
Osvaldo Ortega
756602da18 Set GitHub context for open pull requests based on session resolution 2026-02-26 16:26:55 -08:00
Osvaldo Ortega
c040dd4b13 Refactor pull request handling to open repository page on API failure and update command to open pull request 2026-02-26 15:18:43 -08:00
Osvaldo Ortega
19a12a4ff3 Update pull request state handling to include all states in checks 2026-02-26 15:16:05 -08:00
Osvaldo Ortega
7c32c58bbd Remove 'state: open' from pull request creation and check functions 2026-02-26 15:09:54 -08:00
Osvaldo Ortega
c4f26872d1 Add command to check for open pull requests and refactor session repository resolution 2026-02-26 15:08:16 -08:00
Osvaldo Ortega
68f9ece10a add logging for activation in GitHub extension 2026-02-26 14:48:20 -08:00
Osvaldo Ortega
abf18a18fc Refactor code structure for improved readability and maintainability 2026-02-26 14:40:52 -08:00
Osvaldo Ortega
0d0acbcde2 remove unnecessary context setting for open pull request in createPullRequest function 2026-02-26 11:58:29 -08:00
Osvaldo Ortega
21049d3dc8 add openPullRequest command and update related logic in GitHub extension 2026-02-26 11:55:52 -08:00
Benjamin Pasero
b1009c98bb Sessions exploration (#294912) 2026-02-17 14:14:39 +00:00
Matt Bierner
cca17c1b7f Use ts-go for building our extensions
Also reverts to use experimental decorators due to stage 3 decorators not being supported yet https://github.com/microsoft/typescript-go/issues/2354

The skipLib check is needed to work around some jsdom types issues
2026-02-02 20:06:00 -08:00
Ladislau Szomoru
2b52b93770 Git - enable ESLint rule for git extensions (#277156)
* Initial commit with all exceptions

* First pass of fixing

* Add ignored files explicitly
2025-11-13 15:35:01 +00:00
Ladislau Szomoru
ffcd44e6a1 Git - remove the use of in (#277077) 2025-11-13 08:51:35 +00:00
Ladislau Szomoru
da14a6ea3a GitHub - use different link for hover commands and links in the commit message (#275518) 2025-11-05 09:46:59 +00:00
Matt Bierner
1c35a4d05c Enforce single quote string usage in extension tests
Single quoted string usage is already enforced everywhere except our tests. Having this inconsistent style can confuse contributors and code generation

Starting with converting over tests in the `extensions` dir
2025-10-15 01:51:43 -07:00
Matt Bierner
2baf1b4cde Runtime fixes for stage 3 decorators 2025-08-06 14:32:43 -07:00
Matt Bierner
30b93b1217 Bump extensions to target es2024
I reviewed the various changes and library additions of es2024 and it seems they are widely supported across node and modern browsers
2025-08-05 10:40:33 -07:00
Ladislau Szomoru
90fcd05e94 GitHub - update remote order for git blame actions (#257816) 2025-07-25 12:06:47 +00:00
Ladislau Szomoru
4d7c56ee82 Engineering - Add GitHub action for pull requests (#254056)
* Test - handle running tests as part of a GitHub action

* Add GitHub action files
2025-07-04 08:21:56 +00:00
Ladislau Szomoru
9913e0238a GitHub - cleanup octokit auth (#251266)
Refactor auth
2025-06-12 12:41:33 +02:00
Ladislau Szomoru
39500b94ef GitHub - fix auth regression (#250556)
* Revert "GitHub - fix regression in `getOctokitGraphql()` (#249355)"

This reverts commit 3381c264e1.

* Fix graphql client caching
2025-06-03 13:13:53 -07:00
nomike
c80442dee0 Enhance GithHub publishing logic to handle renamed repositories (#245024)
* Enhance GithHub publishing logic to handle renamed repositories.

* Make "result" const as it is never reassigned.

* Pull request feedback

---------

Co-authored-by: nomike <nomike@nomike.cpm>
Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2025-05-27 13:20:25 +00:00
Ladislau Szomoru
e806b1ba01 GitHub - only prompt once to authenticate in the avatar provider (#249785) 2025-05-26 01:30:03 -07:00
Ladislau Szomoru
3381c264e1 GitHub - fix regression in getOctokitGraphql() (#249355) 2025-05-20 16:43:20 +02:00
Ladislau Szomoru
70107d1562 GitHub - fix graphql query regression following the ESM migration (#249340) 2025-05-20 12:09:15 +02:00
Johannes Rieken
cb0950e9d7 Migrate github extension to ESM (2nd attempt) (#248312)
* Revert "GitHub - revert ESM migration (#247322)"

This reverts commit 2047ab0fff.

* use `"@vscode/extension-telemetry": "^1.0.0"` which doesn't use default export anymore
2025-05-07 15:52:46 +02:00
Ladislau Szomoru
2047ab0fff GitHub - revert ESM migration (#247322)
* Revert "fix github extension bundling (#247314)"

This reverts commit 0cffb673f5.

* Revert "migrate github-extension to ESM"

This reverts commit 493874c390.

* Add missing JS file
2025-04-24 19:24:59 +02:00
Johannes
493874c390 migrate github-extension to ESM 2025-04-16 16:04:12 +02:00
Ladislau Szomoru
b9cbfa49d8 GitHub - fix event handled (#238676) 2025-01-24 16:05:13 +01:00
Ladislau Szomoru
7667cdd1ed GitHub - add setting to disable avatar resolution (#238270) 2025-01-20 10:32:51 +01:00
Ladislau Szomoru
4b4cd6b702 GitHub - add more logs to avatar resolution (#238266) 2025-01-20 09:46:10 +01:00
Ladislau Szomoru
d64829f052 Git - add avatar to graph hover (#238246) 2025-01-19 21:30:42 +01:00
Ladislau Szomoru
1600fb4c76 GitHub - avatar resolution improvements (#238239)
* Add support for size

* Add support for extracting user id from GitHub no-reply email addresses

* Fix git blame email parsing

* Extrat link into function
2025-01-19 16:44:40 +01:00
Ladislau Szomoru
bb655894c2 GitHub - add "Open on GitHub" action to timeline context menu (#238144) 2025-01-17 09:19:04 -08:00
Ladislau Szomoru
5e399f3069 GitHub - add support for batch avatar query (#238114) 2025-01-17 10:56:49 +01:00
Ladislau Szomoru
abecfae1ec Git - add avatar resolution to git blame editor decoration hover (#238083)
* Initial implementation

* Add logging

* Improve avatar resolution
2025-01-16 21:33:08 +01:00
Ladislau Szomoru
7610cc1d19 Git - 💄 fix history item details provider name (#238045) 2025-01-16 20:25:19 +09:00
Ladislau Szomoru
eaba97f995 Git - extract history item detail provider (#238041)
* Initial refactor of hover commands

* Delete old code for hover commands

* More refactoring
2025-01-16 11:37:27 +01:00
Ladislau Szomoru
57e8c28877 GitHub - link provider for various hovers (#237961)
* Initial implementation

* Refactor code, add link to blame decoration

* Add links to timeline hover

* Saving my work

* Update remote order for "Open on GitHub" action

* Bug fixes

* Add link provider for graph hover

* Rename method
2025-01-15 16:30:43 +01:00
Ladislau Szomoru
924d7a84bf SCM - Add "Open on GitHub" action to history item hover (#237893) 2025-01-14 15:10:20 +01:00
Ladislau Szomoru
9ee0345b63 Git - fix "Open on GitHub" command (#237832) 2025-01-14 11:45:03 +01:00
Ladislau Szomoru
9bb633aaf7 GitHub - add "Open on GitHub" action to the SCM graph (#237635) 2025-01-10 13:52:01 +01:00
Ladislau Szomoru
dca80ea667 GitHub - add "Open on GitHub" to blame hover (#237514)
* WIP - saving my work

* Refactor hover rendering code
2025-01-08 11:34:54 -08:00
Ladislau Szomoru
1c10a0e551 Git - remove proposed api typings from git/github extensions (#237409) 2025-01-07 17:00:02 +01:00
Joyce Er
1d96980398 Don't prompt to publish branch after it was pushed (#188166) 2023-07-18 17:22:35 +02:00
Ladislau Szomoru
ad395686d2 Git - add support for type changed (#187714)
* Initial implementation

* Add icons
2023-07-12 16:18:38 +02:00
Ladislau Szomoru
0af4ba0b54 GitHub - add branch protection telemetry (#187589) 2023-07-11 16:51:09 -04:00
Ladislau Szomoru
dca0fc0fd7 GitHub - do not clear branch protection if the user is not signed in (#187588) 2023-07-11 16:18:06 +02:00
Joyce Er
52b72a22f9 Share > Copy vscode.dev Link polish (#186576)
* Prompt when copying link and behind remote

* Make dialog actions explicit re: copy behavior
2023-06-28 16:43:18 -07:00