Skip to content

Commit

Permalink
wip router
Browse files Browse the repository at this point in the history
  • Loading branch information
aeltorio committed Nov 5, 2024
1 parent f1729b3 commit d31f955
Show file tree
Hide file tree
Showing 14 changed files with 81 additions and 421 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ghpages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: |
GROQ_API_KEY=${{ secrets.GROQ_API_KEY }} npm run getGroqModels
npm run build:github-pages
cp dist/aipane.html dist/index.html
# cp dist/index.html dist/index.html
- name: Upload pages artifact
uses: actions/upload-pages-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: |
GROQ_API_KEY=${{ secrets.GROQ_API_KEY }} npm run getGroqModels
npm run build
cp dist/aipane.html dist/index.html
# cp dist/aipane.html dist/index.html
- name: Zip dist folder
run: |
Expand All @@ -61,7 +61,7 @@ jobs:
run: |
GROQ_API_KEY=${{ secrets.GROQ_API_KEY }} npm run getGroqModels
npm run build:github-pages
cp dist/aipane.html dist/index.html
# cp dist/aipane.html dist/index.html
- name: Zip dist folder
run: |
Expand Down
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "Launch Edge",
"request": "launch",
"type": "msedge",
"url": "https://localhost:3000/aipane.html",
"url": "https://localhost:3000/",
"runtimeExecutable": "canary",
"webRoot": "${workspaceFolder}"
},
Expand All @@ -30,7 +30,7 @@
"name": "Outlook Desktop (Edge Legacy)",
"type": "office-addin",
"request": "attach",
"url": "https://localhost:3000/aipane.html?_host_Info=Outlook$Win32$16.01$en-US$$$$0",
"url": "https://localhost:3000/?_host_Info=Outlook$Win32$16.01$en-US$$$$0",
"port": 9222,
"timeout": 600000,
"webRoot": "${workspaceRoot}",
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"id": "TaskPaneRuntime",
"type": "general",
"code": {
"page": "https://localhost:3000/aipane.html"
"page": "https://localhost:3000/"
},
"lifetime": "short",
"actions": [
Expand Down
4 changes: 2 additions & 2 deletions manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<FormSettings>
<Form xsi:type="ItemRead">
<DesktopSettings>
<SourceLocation DefaultValue="https://localhost:3000/aipane.html" />
<SourceLocation DefaultValue="https://localhost:3000/" />
<RequestedHeight>250</RequestedHeight>
</DesktopSettings>
</Form>
Expand Down Expand Up @@ -89,7 +89,7 @@
<bt:Image id="Icon.80x80" DefaultValue="https://localhost:3000/assets/icon-80.png" />
</bt:Images>
<bt:Urls>
<bt:Url id="Taskpane.Url" DefaultValue="https://localhost:3000/aipane.html" />
<bt:Url id="Taskpane.Url" DefaultValue="https://localhost:3000/" />
</bt:Urls>
<bt:ShortStrings>
<bt:String id="CommandsGroup.Label" DefaultValue="Commands" />
Expand Down
31 changes: 31 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"@types/office-runtime": "^1.0.35",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react-router-dom": "^5.3.3",
"@types/webpack": "^5.28.5",
"acorn": "^8.14.0",
"babel-loader": "^9.2.1",
Expand Down
Loading

0 comments on commit d31f955

Please sign in to comment.