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

Feat make smarter #69

Open
wants to merge 40 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
b0c68b5
fix - pass in the parameters to the big query generate model
waziers Jul 10, 2024
9c08d4c
make it smater
waziers Jul 11, 2024
c6c9d7d
merge
waziers Jul 11, 2024
f329650
prevent duplicate triggering of generation
waziers Jul 11, 2024
5dfcd78
move logic into helper utils
waziers Jul 11, 2024
8c94cea
fix state
waziers Jul 11, 2024
08d6fee
fix the callbacks
waziers Jul 11, 2024
82855c5
use params instead of a string
waziers Jul 11, 2024
75f79d4
add back sorting
waziers Jul 11, 2024
dac28c1
fix link generation
waziers Jul 11, 2024
618936d
remove some consoles
waziers Jul 11, 2024
c71e09f
check the filters twice, make sure that we're returning a simpler dat…
waziers Jul 11, 2024
0e65e2f
fix race condition for page load
waziers Jul 11, 2024
b157514
separate call for filter and visualization generation
waziers Jul 23, 2024
6a5d2f3
fix typescript errors
waziers Jul 23, 2024
8164b39
add jest tests
waziers Jul 23, 2024
8b6a75f
Merge branch 'main' into feat-make-smarter
waziers Jul 29, 2024
627a730
update for edge cases when custom urls, and custom dates are in examp…
flaviojdz Jul 31, 2024
4b721cc
Merge remote-tracking branch 'origin/feat-make-smarter' into feat-mak…
flaviojdz Jul 31, 2024
75ab1bc
Merge branch 'main' into feat-make-smarter
waziers Jul 31, 2024
d80310f
Fix package json
waziers Jul 31, 2024
93efb2f
more fixes post merge
waziers Jul 31, 2024
a5a99a5
fix the store
waziers Jul 31, 2024
e13fa12
fix sidepanel
waziers Aug 1, 2024
ab7dc30
fix the link to explore
waziers Aug 1, 2024
256343e
improve speed by parallelizing calls to gemini
waziers Aug 1, 2024
105bd39
fix summarization
waziers Aug 1, 2024
1a8c600
scroll into view
waziers Aug 1, 2024
912bbaa
add filter helper and tests
waziers Aug 1, 2024
96556dc
add tests
waziers Aug 1, 2024
c4c955e
run on every commit
waziers Aug 1, 2024
e7fdcf6
only use node 16 and 18
waziers Aug 1, 2024
131777c
use a filter validator
waziers Aug 1, 2024
92e2eae
remove un-used console logs
waziers Aug 1, 2024
be101b9
Merge branch 'main' into feat-make-smarter
waziers Aug 19, 2024
d4fd557
post-merge fixes
waziers Aug 19, 2024
8bf1a3c
fix tests
waziers Aug 19, 2024
732cb04
improve scrolling
waziers Aug 19, 2024
977b81b
Merge branch 'main' into feat-make-smarter
waziers Aug 20, 2024
4bc1738
fixed Description's missing words in "%FOO%" example
nacoDriven Oct 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/extension-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Explore Assistant Extension CI

on:
push:
branches:
- '**' # This will run on pushes to any branch

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x, 18.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Change to project directory
run: cd explore-assistant-extension
- name: Install dependencies
working-directory: ./explore-assistant-extension
run: npm ci
- name: Run Unit tests
working-directory: ./explore-assistant-extension
run: npm test tests/unit_tests
10 changes: 10 additions & 0 deletions explore-assistant-extension/jest-raw-loader.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const fs = require('fs');

module.exports = {
process(src, filename) {
const content = fs.readFileSync(filename, 'utf8');
return {
code: `module.exports = ${JSON.stringify(content)}`,
};
},
};
10 changes: 10 additions & 0 deletions explore-assistant-extension/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'jsdom',
setupFiles: ['dotenv/config', '<rootDir>/jest.setup.js'], // Add this line
transform: {
'^.+\\.ts?$': 'ts-jest',
'^.+\\.md$': '<rootDir>/jest-raw-loader.js', // Add this line to use the custom transformer for .md files
},
transformIgnorePatterns: ['<rootDir>/node_modules/'],
};
4 changes: 4 additions & 0 deletions explore-assistant-extension/jest.setup.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
require('regenerator-runtime/runtime');
const fetch = require('node-fetch');

global.fetch = fetch;
Loading