Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

chat styling (#118)

Eric Hayes10f517e10202
diff --git a/js/app/packages/app/component/rightbar/Rightbar.tsx b/js/app/packages/app/component/rightbar/Rightbar.tsx
index 5ddc890c53..cd682d33a4 100644
--- a/js/app/packages/app/component/rightbar/Rightbar.tsx
+++ b/js/app/packages/app/component/rightbar/Rightbar.tsx
@@ -645,7 +645,7 @@ export const RightbarWrapper = (_props: { isBigChat?: boolean }) => {
<Show when={isAuthenticated()}>
<Resize.Panel
id="sidebar-chat"
- minSize={300}
+ minSize={324}
maxSize={1000}
hidden={() => !isRightPanelOpen()}
>
diff --git a/js/app/packages/core/component/AI/component/input/ToolsetSelector.tsx b/js/app/packages/core/component/AI/component/input/ToolsetSelector.tsx
index 3a334e957e..5e963e27e6 100644
--- a/js/app/packages/core/component/AI/component/input/ToolsetSelector.tsx
+++ b/js/app/packages/core/component/AI/component/input/ToolsetSelector.tsx
@@ -1,5 +1,6 @@
import DropdownMenu from '@core/component/FormControls/DropdownMenu';
import { SegmentedControl } from '@core/component/FormControls/SegmentControls';
+import { Tooltip } from '@core/component/Tooltip';
import type { ToolSet } from '@service-cognition/generated/schemas';
import { type ParentProps, Show, type Signal } from 'solid-js';
@@ -41,7 +42,15 @@ export function ToolsetSelector(props: {
const [source, setSource] = props.sources;
const StyledTriggerLabel = (props: ParentProps) => {
- return <span class="text-[.85rem] font-medium flex">{props.children}</span>;
+ return (
+ <span class="text-[.85rem] font-medium font-mono">
+ <Tooltip
+ tooltip={"Tell the agent which sources to consider in it's search"}
+ >
+ {props.children}
+ </Tooltip>
+ </span>
+ );
};
return (
<div class="flex items-center gap-x-1">
@@ -59,7 +68,7 @@ export function ToolsetSelector(props: {
<div class="flex">
<DropdownMenu
theme="secondary"
- triggerLabel={<StyledTriggerLabel>Filter</StyledTriggerLabel>}
+ triggerLabel={<StyledTriggerLabel>Source</StyledTriggerLabel>}
>
<SegmentedControl
defaultValue={SOURCE_TO_DISPLAY[source()]}
diff --git a/js/app/packages/core/component/AI/component/input/useChatInput.tsx b/js/app/packages/core/component/AI/component/input/useChatInput.tsx
index 54063d833b..0adb8ed3a8 100644
--- a/js/app/packages/core/component/AI/component/input/useChatInput.tsx
+++ b/js/app/packages/core/component/AI/component/input/useChatInput.tsx
@@ -241,7 +241,7 @@ function ChatInput(props: ChatInputInternalProps) {
uploadQueue={props.uploadQueue}
/>
</Show>
- <div class="flex items-center">
+ <div class="flex items-center gap-x-1">
<IconButton
icon={showAttachMenu() ? XIcon : PlusIcon}
theme="base"