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.

fix: refine composer repo bar (#6765)

teo15fd3135c0dd
diff --git a/apps/web/src/features/agents-view/agents-view.css b/apps/web/src/features/agents-view/agents-view.css
index 76b41bf765..ca9dc9bdf4 100644
--- a/apps/web/src/features/agents-view/agents-view.css
+++ b/apps/web/src/features/agents-view/agents-view.css
@@ -344,7 +344,6 @@
position: relative;
display: grid;
grid-template-rows: 0fr;
- margin: 0 16px;
border-radius: 0 0 20px 20px;
background: color-mix(in oklch, var(--surface-1) 40%, var(--surface-2));
opacity: 0;
@@ -352,6 +351,16 @@
transition: grid-template-rows 200ms cubic-bezier(0.77, 0, 0.175, 1), opacity 200ms cubic-bezier(0.23, 1, 0.32, 1), visibility 200ms;
}
+ :where(.agents-view, .agents-view-portal) .composer-drawer::before {
+ content: '';
+ position: absolute;
+ inset: 0;
+ border: 1px solid var(--edge-muted);
+ border-top: 0;
+ border-radius: inherit;
+ pointer-events: none;
+ }
+
/* Continue the footer behind the input's rounded bottom corners. */
:where(.agents-view, .agents-view-portal) .composer-drawer::after {
content: '';
@@ -361,6 +370,7 @@
right: 0;
height: 32px;
background: inherit;
+ border-inline: 1px solid var(--edge-muted);
pointer-events: none;
}
diff --git a/docs/AGENT_GUIDE/ai-chat.md b/docs/AGENT_GUIDE/ai-chat.md
index b6873becfa..14c5e999fe 100644
--- a/docs/AGENT_GUIDE/ai-chat.md
+++ b/docs/AGENT_GUIDE/ai-chat.md
@@ -88,9 +88,10 @@ permission failures should display a failed tool call without a successful resul
vertical center. The heading and first input line stay anchored while the composer
expands downward. The plus attachment button stays at the far left: before the
text in the compact row, and on the bottom control row when expanded. The editor sits above the controls, with attachments
- on the left and the agent/model and Send on the right. An inset repository bar
+ on the left and the agent/model and Send on the right. A full-width repository bar
slides and fades in below the rounded input over 200ms, with rounded bottom corners
- and a darker surface in dark mode. Selecting a chat agent retracts the bar and
+ and a subtle border along its sides and bottom, with a darker surface in dark mode.
+ Selecting a chat agent retracts the bar and
restores the compact input when the draft fits on one line, without remounting
the editor or losing the draft. Reduced-motion
preferences disable the animation. The hidden drawer is inert. **Repository**