The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
fix(studio): the assistant column keeps the chat's own buttons, and the bar fits with its toggle
Mauriceb6511445370b
diff --git a/client/src/components/Studio/StudioAssistantPanel.tsx b/client/src/components/Studio/StudioAssistantPanel.tsxindex e11cd6bd5..d656766e6 100644--- a/client/src/components/Studio/StudioAssistantPanel.tsx+++ b/client/src/components/Studio/StudioAssistantPanel.tsx@@ -186,7 +186,7 @@ export function StudioAssistantToggle({ assistant }: { assistant: StudioAssistanreturn (<buttontype="button"- className={`st-tool ${assistant.open ? 'is-on' : ''}`}+ className={`st-tool st-assistant-toggle ${assistant.open ? 'is-on' : ''}`}onClick={assistant.toggle}aria-pressed={assistant.open}title={t('journey.studio.assistant.toggleHint')}diff --git a/client/src/styles/dashboard.css b/client/src/styles/dashboard.cssindex c50bc395b..59bc82757 100644--- a/client/src/styles/dashboard.css+++ b/client/src/styles/dashboard.css@@ -92,7 +92,9 @@.trek-dash * { box-sizing: border-box; }.trek-dash .mono { font-family: "Poppins", -apple-system, BlinkMacSystemFont, system-ui, sans-serif; font-feature-settings: "tnum"; }-.trek-dash button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }+/* The Studio's assistant column is the app's own chat, drawn with utility classes this+ reset would outrank, so it keeps the buttons the chat has everywhere else. */+.trek-dash button:where(:not(.st-assistant *)) { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }.trek-dash a { color: inherit; text-decoration: none; }/* ----------------- layout ----------------- */diff --git a/client/src/styles/studio-assistant.css b/client/src/styles/studio-assistant.cssindex 091cb000a..564ef7214 100644--- a/client/src/styles/studio-assistant.css+++ b/client/src/styles/studio-assistant.css@@ -14,6 +14,9 @@bottom: 0;width: 300px;box-shadow: var(--sh-lg);+ /* Over the page the glass would show the page through it, and in the dark+ scheme the inspector's light text would sit on white paper. */+ background: var(--surface);}@media (max-width: 1079px) {@@ -22,6 +25,27 @@}}+/* The toggle is the bar's newest tool, so it gives up its label first: from 1360+ to 1519 it is an icon while the others keep theirs, and the bar fits where it+ did before. The journey's name gives way too rather than push the bar past+ the window. */+@media (max-width: 1519px) {+ .trek-dash .st-assistant-toggle .st-tool-label {+ display: none;+ }+ .trek-dash .st-assistant-toggle {+ padding: 0 8px;+ }+}++.trek-dash .st-bar .st-back {+ min-width: 0;+}++.trek-dash .st-bar .st-back > svg {+ flex: none;+}+.trek-dash .st-assistant {min-width: 0;overflow: hidden;