Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Samridht23/new window fix #107

Open
wants to merge 145 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
145 commits
Select commit Hold shift + click to select a range
b55887a
Fix tree selection context and command args (#211429) (#211435)
alexr00 Apr 26, 2024
e89c96c
fixes #211522
benibenj Apr 27, 2024
ed0b5c6
:lipstick:
benibenj Apr 28, 2024
78dcc8f
Merge pull request #211524 from microsoft/benibenj/dirnameFix
benibenj Apr 29, 2024
dbfe999
Context menu grouping is broken (#211625)
alexr00 Apr 29, 2024
aefdf5b
Preserve original markdown string options when doing progressive rend…
roblourens Apr 29, 2024
42d35ef
Fix dynamic sampleRequest (#211659)
roblourens Apr 29, 2024
dfa434a
cli: fix tunnels not working on Windows (#211499)
connor4312 Apr 29, 2024
eec9689
Fix workspace symbol search (#211682)
mjbvz Apr 30, 2024
e5eb53a
Candidate: Fix nb outline recompute + nb stickyscroll OutlineTarget (…
Yoyokrazy May 1, 2024
b58957e
Improve readability/quality of #211741 (#211758)
Yoyokrazy May 1, 2024
49101b1
Update version for recovery (#211968)
lramos15 May 4, 2024
0699aca
fix #211832 (#211913)
sandy081 May 6, 2024
dc96b83
Disposing a tree view while it's visible causes it to stay empty (#21…
alexr00 May 6, 2024
dfd3d6f
Added package
May 21, 2024
09d02ef
Added yarn.lock
nang-dev May 22, 2024
82c9db4
Added changes
nang-dev May 22, 2024
020b292
Added icon change
nang-dev May 22, 2024
b6843ab
Fixed yarn.lock and package.json (#40)
nang-dev May 22, 2024
dfe8465
Improve Chat Input UI (#42)
gedeondoescode May 23, 2024
27d6e9d
Fixed linting (#54)
nang-dev May 23, 2024
156fa92
clean up settings.json and add some format on save for typescript react
cwclancy May 24, 2024
375aefa
Added outer app CI/CD to ensure nothing is breaking with VSCode fork …
nang-dev May 23, 2024
6404997
Fix issues 27 and 30 (#50)
jwhitt3r May 24, 2024
454c328
UI Architecture in read me (#68)
Fryingpannn May 24, 2024
261e08e
Gpt4 turbo preview (#78)
nang-dev May 24, 2024
eb2026b
Fix issue #59 - Update contributing.md doc (#63)
Trifall May 29, 2024
c5a2e35
Implement issue #20 (#64)
Trifall May 29, 2024
6cf1d11
Implement new shortcut `Shift+Cmd+L` for opening chat (#66)
happinyz May 29, 2024
32ee91f
Added changes (#86)
nang-dev May 30, 2024
85b88f5
Added instructions for mac
nang-dev May 30, 2024
114ef6a
Removed husky
nang-dev May 30, 2024
596b0e8
Cherry picked Trifall changes (#90)
Fryingpannn May 30, 2024
7828024
Updated scripts (#89)
nang-dev May 30, 2024
626f5b7
Updated scripts (#92)
nang-dev May 30, 2024
3129838
Added PearAI Logo
Fryingpannn May 30, 2024
245d892
Continue integration (#95)
nang-dev Jun 1, 2024
c8b177a
Update CONTRIBUTING.md
Fryingpannn Jun 2, 2024
bcfb0be
Allow Pear to build on Windows (#97)
gedeondoescode Jun 2, 2024
76bdf28
Solve merge conflicts. Running on Windows (#99)
Fryingpannn Jun 2, 2024
346b327
Update CONTRIBUTING.md (#98)
Fryingpannn Jun 2, 2024
d51a41a
Update CONTRIBUTING.md
Fryingpannn Jun 3, 2024
d35577c
Update CONTRIBUTING.md
Fryingpannn Jun 3, 2024
1da6cd7
Added packaging instructions working (#103)
nang-dev Jun 3, 2024
cc6ed54
Enable Visual Studio Marketplace gallery (#111)
gedeondoescode Jun 3, 2024
ffe42dd
Update CONTRIBUTING.md (#112)
Fryingpannn Jun 4, 2024
bf841b9
add ExecutionPolicy flag for setup script (#100)
bandarussr Jun 4, 2024
5bcfed1
Update README.md
Fryingpannn Jun 4, 2024
513b248
Update README.md (#114)
Fryingpannn Jun 4, 2024
801355c
Update CONTRIBUTING.md (#115)
Fryingpannn Jun 4, 2024
43ceb35
mac-clean-setup (#113)
Fryingpannn Jun 4, 2024
c6a7b23
Added more pearai rename (#123)
nang-dev Jun 9, 2024
3997cce
Update README.md
Fryingpannn Jun 16, 2024
5d54e77
Update node version
nang-dev Jun 17, 2024
8beca20
Edit output in setup-environment.sh (#136)
nang-dev Jun 17, 2024
79c8bec
fix: better handling for symlinks (#151)
Himanshu-Singh-Chauhan Jun 30, 2024
b590216
Bump toshimaru/auto-author-assign from 2.1.0 to 2.1.1 (#155)
dependabot[bot] Jul 2, 2024
3b19af3
Update CONTRIBUTING.md (#145)
timknappe Jul 2, 2024
d240ee3
feat: set pearai ext loc to secondary side bar (Auxiliary Bar) (#156)
Himanshu-Singh-Chauhan Jul 4, 2024
4c639a2
CI Implementation for Pull Requests (#149)
cqdev-co Jul 5, 2024
f9bdf31
Update README.md to include contributors up until June 5th 2024
nang-dev Jul 5, 2024
c8c6ffa
chore: create update submodules action (#140)
benleembruggen Jul 7, 2024
baf6ab6
Release for 0.0.1
nang-dev Jul 10, 2024
8f0c3cf
New icons - Fixed sizes and color (#166)
Fryingpannn Jul 10, 2024
1df3247
Added to packaging (#167)
nang-dev Jul 11, 2024
0a68c9f
Pick up latest TS for building VS Code (#214171) (#168)
nang-dev Jul 11, 2024
ff695a1
logos rounded for linux mac (#172)
Fryingpannn Jul 12, 2024
9b088f2
Added new monaco (#169)
nang-dev Jul 12, 2024
5907366
Bump actions/cache from 3 to 4 (#162)
dependabot[bot] Jul 12, 2024
07f88eb
WORKING-ICON-FINALLY (#174)
Fryingpannn Jul 12, 2024
6d40297
Added for v0.0.1 (#175)
nang-dev Jul 12, 2024
9568ae0
Update CONTRIBUTING.md
nang-dev Jul 12, 2024
fa0ccdc
Update CONTRIBUTING.md
nang-dev Jul 12, 2024
18e7158
Fixing CI for macOS run (#160)
cqdev-co Jul 14, 2024
a9be17b
fix detached head after submodule init (#159)
Himanshu-Singh-Chauhan Jul 14, 2024
0a9d7b4
Changed close chat to use `CTRL` for windows (#178)
Fryingpannn Jul 14, 2024
51ec7a8
Update README.md
Fryingpannn Jul 14, 2024
61a42c5
Update CONTRIBUTE.MD: Step 3.2 command with backticks (#176)
Pockylee Jul 14, 2024
b6dc823
Clarified Walkthrough label (#183)
timknappe Jul 15, 2024
ec6e301
Added capitalization to walkthrough (#184)
nang-dev Jul 15, 2024
f8a9132
Update README.md
Fryingpannn Jul 16, 2024
fdb2a6b
Update README.md
Fryingpannn Jul 16, 2024
049d74d
Update README.md
Fryingpannn Jul 16, 2024
5b013ce
Added contributing revamp (#198)
nang-dev Jul 17, 2024
138b53e
Added app (#199)
nang-dev Jul 17, 2024
4b7521f
Added vscode product.json (#203)
nang-dev Jul 19, 2024
0dc0c52
new rounded icons (#207)
dscreet Jul 23, 2024
7dd40cb
windows rounded ico (#209)
dscreet Jul 23, 2024
ee9ae37
Added working code.sh and packaging (#220)
nang-dev Jul 31, 2024
55bd33d
V0.0.2 release (#224)
nang-dev Aug 2, 2024
46005eb
Update README.md with contributing (#237)
Fryingpannn Aug 5, 2024
c2f2d09
Update README.md
Fryingpannn Aug 5, 2024
7d9768b
Fixed setup issues (#248)
nang-dev Aug 6, 2024
e3b23a9
CI/CD Fixes (#216)
cqdev-co Aug 7, 2024
9a8b89f
WIP: Walkthrough changes (#236)
nang-dev Aug 7, 2024
34976c7
enable editorInsets for inline chat (#253)
Himanshu-Singh-Chauhan Aug 10, 2024
d454aa3
Fix .gitmodules
nang-dev Aug 13, 2024
896e159
Update code.sh
nang-dev Aug 16, 2024
4974b31
update submodule to latest tip (#260)
Himanshu-Singh-Chauhan Aug 16, 2024
5b80e29
fix: #262 prioritize pearai commands (#264)
jpan8866 Aug 17, 2024
835132a
feat: docs and newchat shortcut on titlebar (#266)
Himanshu-Singh-Chauhan Aug 22, 2024
e9b07d2
Update README.md (#276)
Fryingpannn Aug 25, 2024
77d4d7b
Shortcut change to resize chat on the app side (#279)
MaxFSP Aug 27, 2024
2ffc804
update icon and watermark (#278)
Himanshu-Singh-Chauhan Aug 27, 2024
eeaf83f
Added product (#285)
nang-dev Aug 27, 2024
91ea29c
set quality:stable (#267)
Himanshu-Singh-Chauhan Aug 27, 2024
b60edfe
update MacOS example in CONTRIBUTING.md file: Packaging step 3 - int…
Pockylee Aug 27, 2024
d53fdbb
PearAI main app welcome page gif fixed (#286)
Pockylee Aug 29, 2024
70abf1a
Fixed walk through (#288)
nang-dev Aug 30, 2024
a88583c
Added to readme (#295)
nang-dev Sep 3, 2024
b3eca81
add hacker theme to pearai (#300)
andrewjhopkins Sep 9, 2024
00d73de
Update README.md
Fryingpannn Sep 10, 2024
b5358dd
Set default theme to PearAI Dark/Light (#322)
andrewjhopkins Sep 14, 2024
86cb76b
Added auto-updating working client-side (#340)
nang-dev Sep 17, 2024
66fe97e
Updated wording (#341)
nang-dev Sep 17, 2024
b3652dc
Setup Environment with Space in Path (#335)
ashvinnihalani Sep 17, 2024
3e0030a
Added v1.1.0 (#344)
nang-dev Sep 18, 2024
a05830b
Bumped to v1.2.0
Sep 18, 2024
bfa5793
Update README.md
Fryingpannn Sep 18, 2024
f9aa0c3
patch-wsl (add vscode commit) (#348)
Himanshu-Singh-Chauhan Sep 19, 2024
b7c70af
Update README.md
Fryingpannn Sep 28, 2024
c6d1cde
If you are looking for commit history, read this please
Oct 3, 2024
f0cb6ea
Updated to v1.3.0
Oct 6, 2024
446c483
add pear version in about
Himanshu-Singh-Chauhan Sep 26, 2024
fe535a4
Update CONTRIBUTING.md
jpan8866 Oct 11, 2024
5e796de
Update CONTRIBUTING.md
jpan8866 Oct 11, 2024
efadcb7
Update CONTRIBUTING.md
jpan8866 Oct 11, 2024
8c8f27a
Git submodule commit update (#66)
Fryingpannn Oct 21, 2024
3731923
Bumped to v1.4.0
Oct 22, 2024
1239894
PearAI Overlay (#67)
Fryingpannn Oct 23, 2024
81b5cca
Bumped to v1.4.1
Oct 24, 2024
ae04061
Fix overlay popping up for half a second at startup (#77)
Fryingpannn Oct 25, 2024
1c057ad
Bumped versions (#80)
nang-dev Oct 29, 2024
94841c5
Handle overlay integration shortcuts (#84)
jpan8866 Oct 30, 2024
295847f
feat: new window watermark (#87)
Himanshu-Singh-Chauhan Nov 1, 2024
d831c05
Added darken and click outside overlay. todo for not closing
Nov 2, 2024
2140755
Added min for the auxbar (#94)
nang-dev Nov 2, 2024
8aa57ca
feat: overlay-lock (#92)
Himanshu-Singh-Chauhan Nov 3, 2024
81e7dde
Added remove release notes (#96)
nang-dev Nov 4, 2024
a46138c
remove unused vars (#97)
Himanshu-Singh-Chauhan Nov 4, 2024
d86f59a
Bumped to v1.4.4
Nov 5, 2024
4a51083
Default close sidebar for new window (#98)
jpan8866 Nov 5, 2024
5d555dc
Bumped to v1.4.5
Nov 6, 2024
f395f02
highlight cmd i onboarding (#105)
jpan8866 Nov 7, 2024
6deb4f0
new window fix
samridht23 Nov 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .devcontainer/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Code - OSS Development Container
# PearAI Development Container

[![Open in Dev Containers](https://img.shields.io/static/v1?label=Dev%20Containers&message=Open&color=blue&logo=visualstudiocode)](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/microsoft/vscode)

Expand Down
40 changes: 40 additions & 0 deletions .eslintplugin/code-no-dangerous-type-assertions.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/

import * as eslint from 'eslint';
import { TSESTree } from '@typescript-eslint/experimental-utils';

export = new class NoDangerousTypeAssertions implements eslint.Rule.RuleModule {

create(context: eslint.Rule.RuleContext): eslint.Rule.RuleListener {
// Disable in tests for now
if (context.getFilename().includes('.test')) {
return {};
}

return {
// Disallow type assertions on object literals: <T>{ ... } or {} as T
['TSTypeAssertion > ObjectExpression, TSAsExpression > ObjectExpression']: (node: any) => {
const objectNode = node as TSESTree.Node;

const parent = objectNode.parent as TSESTree.TSTypeAssertion | TSESTree.TSAsExpression;
if (
// Allow `as const` assertions
(parent.typeAnnotation.type === 'TSTypeReference' && parent.typeAnnotation.typeName.type === 'Identifier' && parent.typeAnnotation.typeName.name === 'const')

// For also now still allow `any` casts
|| (parent.typeAnnotation.type === 'TSAnyKeyword')
) {
return;
}

context.report({
node,
message: "Don't use type assertions for creating objects as this can hide type errors."
});
},
};
}
};
15 changes: 5 additions & 10 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"local/code-parameter-properties-must-have-explicit-accessibility": "warn",
"local/code-no-nls-in-standalone-editor": "warn",
"local/code-no-potentially-unsafe-disposables": "warn",
"local/code-no-dangerous-type-assertions": "off",
"local/code-no-standalone-editor": "warn",
"local/code-no-unexternalized-strings": "warn",
"local/code-must-use-super-dispose": "warn",
Expand Down Expand Up @@ -150,21 +151,13 @@
{
// Files should (only) be removed from the list they adopt the leak detector
"exclude": [
"src/vs/base/test/browser/browser.test.ts",
"src/vs/base/test/browser/ui/scrollbar/scrollableElement.test.ts",
"src/vs/base/test/browser/ui/scrollbar/scrollbarState.test.ts",
"src/vs/editor/contrib/codeAction/test/browser/codeActionModel.test.ts",
"src/vs/editor/test/common/services/languageService.test.ts",
"src/vs/editor/test/node/classification/typescript.test.ts",
"src/vs/platform/configuration/test/common/configuration.test.ts",
"src/vs/platform/extensions/test/common/extensionValidator.test.ts",
"src/vs/platform/opener/test/common/opener.test.ts",
"src/vs/platform/registry/test/common/platform.test.ts",
"src/vs/platform/remote/test/common/remoteHosts.test.ts",
"src/vs/platform/workspace/test/common/workspace.test.ts",
"src/vs/platform/workspaces/test/electron-main/workspaces.test.ts",
"src/vs/workbench/api/test/browser/mainThreadConfiguration.test.ts",
"src/vs/workbench/api/test/common/extHostExtensionActivator.test.ts",
"src/vs/workbench/api/test/node/extHostTunnelService.test.ts",
"src/vs/workbench/contrib/bulkEdit/test/browser/bulkCellEdits.test.ts",
"src/vs/workbench/contrib/chat/test/common/chatWordCounter.test.ts",
Expand All @@ -175,7 +168,6 @@
"src/vs/workbench/contrib/tasks/test/common/problemMatcher.test.ts",
"src/vs/workbench/contrib/tasks/test/common/taskConfiguration.test.ts",
"src/vs/workbench/services/commands/test/common/commandService.test.ts",
"src/vs/workbench/services/extensions/test/common/extensionDescriptionRegistry.test.ts",
"src/vs/workbench/services/userActivity/test/browser/domActivityTracker.test.ts",
"src/vs/workbench/test/browser/quickAccess.test.ts"
]
Expand Down Expand Up @@ -316,6 +308,10 @@
"selector": "BinaryExpression[operator='instanceof'][right.name='MouseEvent']",
"message": "Use DOM.isMouseEvent() to support multi-window scenarios."
},
{
"selector": "BinaryExpression[operator='instanceof'][right.name=/^HTML\\w+/]",
"message": "Use DOM.isHTMLElement() and related methods to support multi-window scenarios."
},
{
"selector": "BinaryExpression[operator='instanceof'][right.name='KeyboardEvent']",
"message": "Use DOM.isKeyboardEvent() to support multi-window scenarios."
Expand Down Expand Up @@ -671,7 +667,6 @@
"vscode-regexpp",
"vscode-textmate",
"worker_threads",
"@xterm/addon-canvas",
"@xterm/addon-image",
"@xterm/addon-search",
"@xterm/addon-serialize",
Expand Down
4 changes: 1 addition & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# ensure the API police is aware of changes to the vscode-dts file
# this is only about the final API, not about proposed API changes
src/vscode-dts/vscode.d.ts @jrieken @mjbvz
* @nang-dev @Fryingpannn @trypear/maintainers @trypear/moderators
47 changes: 27 additions & 20 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,29 @@
---
name: Bug report
about: Create a report to help us improve
name: 🐛 Bug report
about: When PearAI crashes or has undesired side-effects, it's a bug
title: ""
labels: "bug"
assignees: "nang-dev,fryingpannn"
---
<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes/No

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version:
- OS Version:

Steps to Reproduce:

1.
2.

## Describe the bug

_A clear and concise description of what the bug is._

## How to reproduce

_Please detail steps to reproduce the behavior. Add code if necessary._

## Expected behavior

_Clear and concise description of what you expected to happen._

## Screenshots

_If applicable, add screenshots to help explain your problem._

## Additional information

- Version of the extension impacted: _vX.X.X_

_🧙‍ Add any other context about the problem here._
8 changes: 0 additions & 8 deletions .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/dev_ticket.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: 🛠️ Dev ticket
about: Suggest a new dev task for this project (e.g. modifying configurations, refactoring, etc.)
title: ""
labels: "dev"
assignees: "nang-dev,fryingpannn"
---

## Context

## Solution
22 changes: 15 additions & 7 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
---
name: Feature request
about: Suggest an idea for this project

name: ✨ Feature request
about: "Suggest a new idea of what PearAI could do (e.g.: add new shortcut, add new payment processor, etc.)"
title: ""
labels: "enhancement"
assignees: "nang-dev,fryingpannn"
---

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->
## Is this request related to a problem? Please describe.

_A clear and concise description of what the problem is (e.g. "I'm always frustrated when […]")._

## Describe the solution you'd like

_A clear and concise description of what you want to happen._

## Additional context

<!-- Describe the feature you'd like. -->
_Add any other information or screenshots about the feature request here (e.g. a gif showing how another tool does it)._
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE/support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
name: ❓ Support
about: You have a question or need some help
title: ""
labels: "question"
assignees: "nang-dev,fryingpannn"
---

_Tell us what you need help with._
Loading