Skip to content

Commit

Permalink
Dev (#1629)
Browse files Browse the repository at this point in the history
* docs: add docs and schema for "OS" provider (#1536)

* ignore .env

* ✨ use and cache imports for autocomplete (#1456)

* ✨ use and cache imports for autocomplete

* fix tsc

* add voyage rerank-1

* import Handlebars

* feat: open pane on install (#1564)

* feat: open pane on activation

* comment out testing code

* chore: add telemetry for pageviews (#1576)

* feat: update onboarding w/ embeddings model (#1570)

* chore(gui): remove unused pages

* feat: add embeddings step

* feat: update styles

* feat: copy button updates

* fix: correct pull command for embed model

* fix: remove commented code

* fix: remove commented code

* feat: simplify copy btn props

* chore: rename onboarding selection event

* feat: add provider config

* fix: undo msg name

* remove dead code

* fix: invalid mode check

* fix: remove testing logic

* fix: fullscreen gui retains context when hidden, fixed fullscreen focusing (#1582)

* small UI tweaks

* media query

* feat: add best experience onboarding

* small fixes

* feat: add free trial card to onboarding (#1600)

* feat: add free trial card to onboarding

* add import

* chore: add telemetry for full screen toggle (#1618)

* rerank-lite-1

* remove doccs

* basic tests for VS Code extension

* improved testing of VS Code extension

* manually implement stop tokens for hf inference api

* chore: onboarding metrics (#1626)

* fix: pageview tracking

* feat: add onboarding telemetry

* create single `onboardingStatus` type

* improved var naming

* remove console logs

* fix windows performance issue

* rename vscodeExtension.ts

* migration of onboarding variables

* "stash" instead of "delete" in indexing progress

* fix preview.yaml

* also fix main.yaml

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
Co-authored-by: Jonah Wagner <jonahwagner231@gmail.com>
  • Loading branch information
3 people authored Jul 2, 2024
1 parent 34b40f4 commit f602d86
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/jetbrains-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ name: Build
on:
# Trigger the workflow on pushes to only the 'main' branch (this avoids duplicate checks being run e.g., for dependabot pull requests)
push:
branches: [preview, main]
branches: [main]
# Trigger the workflow on any pull request
# pull_request:

Expand Down
15 changes: 7 additions & 8 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,14 @@ jobs:
cd extensions/vscode
npm run prepackage -- --target ${{ env.target }}
# 3. Run tests for the extension
# 3. Re-install esbuild (for cases that we force installed for another arch in prepackage.js)
- name: Re-install esbuild
run: |
cd extensions/vscode
npm install -f esbuild
# - name: Install Xvfb for Linux and run tests
# 4. Run tests for the extension
- name: Install Xvfb for Linux and run tests
run: |
sudo apt-get install -y xvfb # Install Xvfb
Xvfb :99 & # Start Xvfb
Expand All @@ -136,12 +141,6 @@ jobs:
npm run test
if: matrix.os != 'ubuntu-latest'

# 4. Re-install esbuild (for cases that we force installed for another arch in prepackage.js)
- name: Re-install esbuild
run: |
cd extensions/vscode
npm install -f esbuild
# 5. Package the extension
- name: Package the extension
run: cd extensions/vscode && npx vsce package --no-dependencies --target ${{ env.target }}
Expand Down
13 changes: 6 additions & 7 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,13 @@ jobs:
cd extensions/vscode
npm run prepackage -- --target ${{ env.target }}
# 3. Run tests for the extension
# 3. Re-install esbuild (for cases that we force installed for another arch in prepackage.js)
- name: Re-install esbuild
run: |
cd extensions/vscode
npm install -f esbuild
# 4. Run tests for the extension
- name: Install Xvfb for Linux and run tests
run: |
sudo apt-get install -y xvfb # Install Xvfb
Expand All @@ -125,12 +130,6 @@ jobs:
npm run test
if: matrix.os != 'ubuntu-latest'

# 4. Re-install esbuild (for cases that we force installed for another arch in prepackage.js)
- name: Re-install esbuild
run: |
cd extensions/vscode
npm install -f esbuild
# 5. Package the extension
- name: Package the extension
run: cd extensions/vscode && npx vsce package --pre-release --no-dependencies --target ${{ env.target }}
Expand Down
4 changes: 2 additions & 2 deletions core/indexing/LanceDbIndex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ export class LanceDbIndex implements CodebaseIndex {
accumulatedProgress += 1 / toDel.length / 3;
yield {
progress: accumulatedProgress,
desc: `Deleting ${path}`,
desc: `Stashing ${path}`,
status: "indexing",
};
}
Expand All @@ -344,7 +344,7 @@ export class LanceDbIndex implements CodebaseIndex {
accumulatedProgress += 1 / results.del.length / 3;
yield {
progress: accumulatedProgress,
desc: `Deleting ${path}`,
desc: `Removing ${path}`,
status: "indexing",
};
}
Expand Down
4 changes: 2 additions & 2 deletions extensions/vscode/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f602d86

Please sign in to comment.