Skip to content

feat(toolbar): flat toolbar redesign + agent presence indicator#790

Open
jacobjove wants to merge 5 commits into
eigenpal:mainfrom
jacobjove:feat/toolbar-refresh
Open

feat(toolbar): flat toolbar redesign + agent presence indicator#790
jacobjove wants to merge 5 commits into
eigenpal:mainfrom
jacobjove:feat/toolbar-refresh

Conversation

@jacobjove

@jacobjove jacobjove commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Refreshes the editor toolbar to a flat, single-surface design (borderless icon buttons, blue-tint active state, segmented font-size control, consistent dividers) and adds an AgentActivityIndicator component for showing AI-collaborator presence in the title-bar slot.

Separately fixes a latent rendering bug: the library ships without Tailwind's preflight (by design, so it never resets a host app's styles), but nothing reproduced the button-relevant subset for the editor's own controls. In host apps without their own reset, toolbar buttons inherited user-agent chrome, width-only border utilities rendered nothing (border-style defaults to none), buttons had no pointer cursor, and content-box inputs resized on focus. Now reproduced scoped to .ep-root.

React and Vue both updated; changeset included (minor — additive AgentActivityIndicator).


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

@vercel

vercel Bot commented Jun 13, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the EigenPal Team on Vercel.

A member of the Team first needs to authorize it.

@eigenpal-release-pal

eigenpal-release-pal Bot commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅

Posted by the CLA bot.

@jacobjove jacobjove force-pushed the feat/toolbar-refresh branch 3 times, most recently from a6571c2 to 20d89c5 Compare June 15, 2026 13:47
Refresh the editor toolbar to a flat, single-surface design — borderless
icon buttons, a blue-tint active state, a segmented font-size control, and
consistent dividers/spacing — and add an AgentActivityIndicator component
for AI-collaborator presence in the title-bar slot. React + Vue.

Also reproduce the button-relevant subset of Tailwind preflight, scoped to
.ep-root. The library ships without preflight (so it never resets a host
app's styles); without it, host apps lacking their own reset get leftover
user-agent button chrome, width-only border utilities that render nothing,
no pointer cursor on buttons, and content-box inputs that resize on focus.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@jacobjove jacobjove force-pushed the feat/toolbar-refresh branch from 20d89c5 to 0414e17 Compare June 15, 2026 13:53
Jacob Jove and others added 4 commits June 15, 2026 13:38
- Replace bare hex/rgba/named colors in the toolbar + agent-presence components
  with the existing --doc-* chrome tokens (surface, shadow, primary, text,
  border, bg-hover, text-subtle/-muted) so they re-theme under .ep-root.dark.
  Adds a constant --doc-on-agent token for the white foreground on the indigo
  agent badge (badge stays indigo in dark, so it must not invert). React + Vue.
- Regenerate docs/api/docx-editor-react/ui.api.md for the ZoomControl props this
  PR added — api:check was missing them (would fail CI on merge).
… reset

The library ships `@tailwind utilities` only (no preflight) so it never resets a
host app's styles. Document the silent breakages in a host without its own reset
(UA button chrome, no-op width-only borders, content-box inputs, var-dependent
transform utilities) and the .ep-root scoped subset that mitigates them. Pairs
with the editor.css preflight reset in eigenpal#790.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The api-extractor golden for @eigenpal/docx-editor-react drifted once main's
toolchain bump changed how the AgentActivityIndicator return type resolves
(react_jsx_runtime.JSX.Element -> React_2.JSX.Element). Regenerated on the
merged state so api:check is green.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant