Commit Graph

636 Commits

Author SHA1 Message Date
Joyce Er
f63bfe3942 Fix auto publish before Continue On (#172324)
* Fix auto publish before Continue On

* Fix provider implementation
2023-01-25 12:12:18 -08:00
Joyce Er
0a6c277e4f Ensure Continue in Web and Continue in Clone appear in remote indicator on desktop git and remote git windows respectively (#172086) 2023-01-24 02:29:20 +01:00
Logan Ramos
8cea434dec Remove unused proposals (#172035) 2023-01-23 19:09:07 +01:00
Ladislau Szomoru
b87234ddca Git - disable one more commands while a git operation is running (#171989)
* Git - disable 3 more commands while a git operation is running

* Do not disable the open change and open all changes commands
2023-01-23 17:13:55 +01:00
Ladislau Szomoru
78f9b06101 Git - handling git repositories in parent folders (#171726) 2023-01-20 09:10:53 +01:00
Joyce Er
00d12fcdb2 Prompt before auto publishing branch (#171748) 2023-01-19 20:34:54 +01:00
Ladislau Szomoru
e37cad47f2 Revert "Git - Improvements to opening git repositories in parent folders (#171617)" (#171662)
This reverts commit fe423bbdba.
2023-01-18 20:57:55 +01:00
Ladislau Szomoru
fe423bbdba Git - Improvements to opening git repositories in parent folders (#171617)
* Initial implementation for external repositories

* Added setting

* Add basic welcome views

* Replaced "Always Open" with "Configure"

* Remove code duplication

* Polish based on feedback

* Language consistency

* Update notification severity

* Move away from the "external repository" terminology

* Refactor notification logic

* Saving my changes

* Further improvements

* Refactor parent repository notification

* Update message and fix edge case when setting is set to `never`
2023-01-18 15:27:58 +01:00
Joyce Er
e7d34457a5 Auto publish branches before Continue On in git repositories (#171211)
* Support syncing with remote before Continue On

* Auto publish before Continue On in git extension

* Add configuration description
2023-01-18 11:25:47 +00:00
Joyce Er
d61f46dcf7 Support continue in local clone from remote window (#171134) 2023-01-12 08:03:15 -08:00
Logan Ramos
4acf2d9b46 Update the telemetry modules (#170512)
Update the module
2023-01-03 15:10:45 -05:00
Ladislau Szomoru
1542e90126 Git - Add command to delete remote tags (#170415)
Add command to delete remote tags
2023-01-03 06:08:48 -08:00
Ladislau Szomoru
2c8b54bbbf Git - Add support for git stash --staged (#169539)
Add support for git stash --staged
2022-12-19 15:04:55 +01:00
Ladislau Szomoru
7febede390 Git - more tweaks to command enablement (#169292)
Use a new context for enablement
2022-12-15 18:37:03 +01:00
Logan Ramos
b1076b41f3 Bump telemetry packages (#169283) 2022-12-15 17:29:10 +01:00
Ladislau Szomoru
eb2e52b6f8 Git - Disable git commands while commit is in progress (#169124)
Disable git commands while commit is in progress
2022-12-14 13:30:08 +01:00
Ladislau Szomoru
a1f2132aa8 Git - Fix command name (#167812)
Fix command name
2022-12-01 09:57:15 +01:00
Ladislau Szomoru
d0b47f6c30 Git - Unsafe repositories flow polish (#167728) 2022-11-30 16:39:59 +01:00
Ladislau Szomoru
3a52e79cea Git - handle unsafe repositories (#167248) 2022-11-25 14:40:23 +01:00
Logan Ramos
73d882bcf7 Update telemetry package (#166292) 2022-11-14 09:30:33 -08:00
Sandeep Somavarapu
2cd8ea24f2 #159892 Finalize (#165925) 2022-11-09 10:28:27 -05:00
Logan Ramos
bf1697d98c Consume proposed telemetry API (#165862)
* Consume proposed telemetry API

* Update webpack
2022-11-08 21:58:28 -05:00
Ladislau Szomoru
b208b8794d Git - Optimistic UI plumbing (#165237) 2022-11-04 04:52:28 -07:00
João Moreno
53ef06a2dc bump unique names generator (#165015) 2022-10-31 08:25:51 +01:00
Ladislau Szomoru
f09c4124a2 Engineering - adopt l10n for git-base/git/github extesions (#164566)
Co-authored-by: Tyler James Leonhardt <me@tylerleonhardt.com>
2022-10-28 11:27:08 +02:00
Ladislau Szomoru
e1e7ce5d17 Git - adopt log output channel api (#163695) 2022-10-17 02:49:12 -07:00
Ladislau Szomoru
9bc43c7f8a Git - Rename git.fetchBeforeCheckout to git.pullBeforeCheckout (#162303)
Rename git.fetchBeforeCheckout to git.pullBeforeCheckout
2022-09-30 00:42:20 -07:00
Henning Dieterichs
b29b217e36 Fixes #162027 2022-09-29 10:50:48 +02:00
Tyler James Leonhardt
29e985eca0 rev vscode-nls to version that doesn't ask for vscode-nls-web-data (#161819)
ref #161297
2022-09-26 11:10:54 -07:00
Ladislau Szomoru
e1c7285ab5 Git - Add the ability to fetch a branch before it is checked out (#160181) 2022-09-15 16:04:37 +02:00
Isidor Nikolic
65cbb9324b change git.mergeEditor setting to be false (#160923) 2022-09-14 11:41:41 -07:00
Ladislau Szomoru
d2c241ffc0 Git - Disable git.init command, and a welcome view that uses the git.init command in codespaces (#160597)
Disable git.init command, and a welcome view that uses the git.init command in codespaces
2022-09-10 10:38:41 +02:00
Ladislau Szomoru
df51f5af27 GitHub - Disable command & view in codespaces (#160546)
Disable command & view in codespaces
2022-09-09 11:22:39 -07:00
Ladislau Szomoru
1e99736c27 Git - Add merge abort command (#159753)
* Add merge abort command

* Pull request feedback
2022-09-07 06:06:20 -07:00
Henning Dieterichs
226be69989 Adresses feedback from PR 2022-09-05 09:59:56 +02:00
Henning Dieterichs
6a853ed3f3 Introduces mergeEditorMenus proposal & fixes issues from PR. 2022-09-02 09:06:24 +02:00
Henning Dieterichs
7688a40249 Implements commands to recompute merge with git merge-file 2022-08-28 16:41:13 +02:00
Johannes Rieken
337cd4b1cf Expose editor "blue button" as menu (#158740)
* Expose editor "blue button" as menu

* rename proposed `MergeToolbar` to `EditorContent` menu
* adopt GIT and sync conflicts usage
* use content menu for "open in 3wm" command
* add new `ctxIsMergeResultEditor` context key

Better fix for https://github.com/microsoft/vscode/issues/153800

* fix typo
2022-08-22 15:24:56 +02:00
Ladislau Szomoru
3cfc74c52e Git - Add setting to remember post commit command (#158449) 2022-08-22 12:34:47 +02:00
Joyce Er
fa4ff1519d Implement and adopt edit session identifier API proposal (#157733)
* Add canonical workspace identifier proposed API

* Use canonical id to store and resume edit sessions

* Add git extension workspace identity provider

* Fix warning incorrectly showing up

* Make auto resume behavior opt in

* * Create a separate service
* Accept WorkspaceFolder instead of URI
* Return string instead of object

* Make edit session restores resilient to provider registration races

* Introduce an activation event
* Activate contributing extension before using provider

* `CanonicalWorkspaceIdentity` -> `EditSessionIdentity`

* Show progress while resuming edit session

* Store edit session even if extension will take care of opening target workspace

* Address most of PR feedback

* `IEditSessionsWorkbenchService` -> `IEditSessionsStorageService`

* Unregister provider in renderer

* Split out proposal into new `editSessionIdentityProvider.d.ts`

* Fix bad merge

* Always show progress in window

* Convert URI schemes
2022-08-19 08:01:43 -07:00
Johannes Rieken
c0ade8bc81 joh/unknown lemming (#158460)
* make git's `openMergeEditor` user-facing command and show it for editors that have conflicts

also includes a workaround for an issue with untyped editor inputs... fyi @lramos15

* Patch matches

* Remove TODO

* set nowrap for white-space

fixes https://github.com/microsoft/vscode/issues/156402

Co-authored-by: Logan Ramos <lramos15@gmail.com>
2022-08-18 06:58:30 -04:00
Ladislau Szomoru
81e6a02c18 Git - Upgrade file-type package (#156411) 2022-08-09 11:30:49 -04:00
Tyler James Leonhardt
d8453c0440 Rev built-in versions of vscode-nls to 5.1.0 (#157530)
* rev version of vscode-nls to 5.1.0

* and yarn lock
2022-08-08 18:43:45 +02:00
Johannes Rieken
b8876a2d60 enable merge editor by default (#155937) 2022-07-22 11:28:49 +02:00
Johannes Rieken
bbbae594da show "Accept Merge" only for files currently under conflict. (#155822)
While the merge editor shows users can handle merge conflicts outside of it, e.g on the console via `git add <FILE>`. The merge editor should have this graceful and step one is to hide the "Accept Merge" command when the file isn't conflicting anymore

* Adds a git-context key that contains all resource-uri-strings under conflict
* Enable/placement of the Accept Merge command is driven by that
* some merge editor context key sugar
2022-07-21 13:25:23 +02:00
Johannes
0f0101be5f use TabInputTextMerge in git extensions
For now only when checking for tabs, not yet for opening tabs
2022-07-14 09:41:54 +02:00
Logan Ramos
a20329d291 Switch extensions to 1DS (#154299)
* Move extensions to 1DS

* Switch extensions to 1DS
2022-07-06 17:18:41 -07:00
Ladislau Szomoru
6ca8db83e7 Git - Disable undo last commit command while commit is in progress (#153739)
Disable undo last commit command while commit is in progress
2022-06-29 18:45:21 +00:00
Ladislau Szomoru
8045df1b94 Git - Add commands to the editor title to accept/discard commit message (#153692)
Add commands to the editor title to accept/discard commit message
2022-06-29 14:00:09 +00:00
Johannes Rieken
bd24f72d42 fix 153492 (#153667)
* enable "accept merge" for merge editor only
* close merge editor before staging file, only stage file when editor has been closed

fixes https://github.com/microsoft/vscode/issues/153492
2022-06-29 14:08:09 +02:00