Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
276 changes: 268 additions & 8 deletions PanTS-Demo/package-lock.json

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

3 changes: 2 additions & 1 deletion PanTS-Demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"esbuild": "^0.25.9",
"jszip": "^3.10.1",
"pako": "^3.0.1",
"pdfjs-dist": "^6.2.108",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"react-router-dom": "^7.8.1",
Expand All @@ -37,7 +38,7 @@
"devDependencies": {
"@eslint/js": "^9.33.0",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^7.0.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/pako": "^2.0.4",
Expand Down
38 changes: 38 additions & 0 deletions PanTS-Demo/src/components/AIAssistant/AISidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,44 @@
font-size: 11px;
}

/* "Best for ..." line under each model name in the picker. */
.ai-model-menu__desc {
overflow: hidden;
color: rgba(255, 255, 255, 0.42);
font-size: 10px;
line-height: 1.35;
text-overflow: ellipsis;
white-space: nowrap;
}

.ai-model-menu__item:hover .ai-model-menu__desc,
.ai-model-menu__item[data-selected="true"] .ai-model-menu__desc {
color: rgba(255, 255, 255, 0.56);
}

/* Notice shown in the menu when images are attached: the vision model takes
over for that message. Uses the sidebar's existing blue accent. */
.ai-model-menu__note {
margin: 0 2px 5px;
padding: 7px 9px;
border: 1px solid rgba(110, 168, 254, 0.28);
border-radius: 8px;
background: rgba(110, 168, 254, 0.16);
color: #a8c8ff;
font-size: 10.5px;
line-height: 1.4;
}

/* Picker button while the vision model is active for the pending message. */
.ai-model-picker__button[data-vision="true"] {
border-color: rgba(110, 168, 254, 0.34);
color: #a8c8ff;
}

.ai-model-picker__button[data-vision="true"] .ai-model-picker__dot {
opacity: 1;
}

@keyframes ai-model-pulse {
0%,
100% {
Expand Down
Loading
Loading