Skip to content

Commit 1e8b476

Browse files
authored
feat: toolbar, terminal, tool-input, emcn updates, chat, deploy (#1864)
* feat: toolbar resizing and searching; refactor: copilot folders * feat(terminal): clear, timestamp, run ID, input, height * feat: tool inpul, emcn search * feat: sidebar context menu, delete workflow hook * feat: chat; improvement: input and dropdown/combobox padding * feat(panel): deploy logic * improvement(chat): streaming output
1 parent 28b4160 commit 1e8b476

File tree

80 files changed

+4842
-2725
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+4842
-2725
lines changed

apps/sim/app/globals.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
--panel-width: 244px;
2121
--toolbar-triggers-height: 300px;
2222
--editor-connections-height: 200px;
23-
--terminal-height: 30px;
23+
--terminal-height: 100px;
2424
}
2525

2626
.sidebar-container {

apps/sim/app/layout.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
114114
var toolbarParsed = JSON.parse(toolbarStored);
115115
var toolbarState = toolbarParsed?.state;
116116
var toolbarTriggersHeight = toolbarState?.toolbarTriggersHeight;
117-
if (toolbarTriggersHeight !== undefined && toolbarTriggersHeight >= 100 && toolbarTriggersHeight <= 800) {
117+
if (toolbarTriggersHeight !== undefined && toolbarTriggersHeight >= 30 && toolbarTriggersHeight <= 800) {
118118
document.documentElement.style.setProperty('--toolbar-triggers-height', toolbarTriggersHeight + 'px');
119119
}
120120
}
@@ -144,13 +144,13 @@ export default function RootLayout({ children }: { children: React.ReactNode })
144144
var terminalParsed = JSON.parse(terminalStored);
145145
var terminalState = terminalParsed?.state;
146146
var terminalHeight = terminalState?.terminalHeight;
147-
var maxTerminalHeight = window.innerHeight * 0.5;
147+
var maxTerminalHeight = window.innerHeight * 0.7;
148148
149-
// Cap stored height at 50% of viewport
149+
// Cap stored height at 70% of viewport
150150
if (terminalHeight >= 30 && terminalHeight <= maxTerminalHeight) {
151151
document.documentElement.style.setProperty('--terminal-height', terminalHeight + 'px');
152152
} else if (terminalHeight > maxTerminalHeight) {
153-
// If stored height exceeds 50%, cap it
153+
// If stored height exceeds 70%, cap it
154154
document.documentElement.style.setProperty('--terminal-height', maxTerminalHeight + 'px');
155155
}
156156
}

0 commit comments

Comments
 (0)