Commit graph

2262 commits

Author SHA1 Message Date
Douglas
43ee2b7b53 refactor(ChatBox): use Host abstraction for Electron APIs
Use useHost() for file selection and opening skill folders instead of
window.electronAPI.

Made-with: Cursor
2026-04-23 13:47:29 +01:00
Douglas
ae753dc7cd refactor(Workspace): use Host abstraction for Electron APIs
Replace direct window.electronAPI usage with useHost() for
hideAllWebview and selectFile to satisfy lint and keep web/electron paths consistent.

Made-with: Cursor
2026-04-23 13:47:20 +01:00
Douglas
c5ad3355bf style change for skills and dashboard panel 2026-04-23 13:44:13 +01:00
Douglas
1d28863314 feat(connectors): expand MCP UI and connectors entry
Rework MCP connectors experience (layout, add flow, list behavior).
Align integration list card background with neutral subtle tokens.

Made-with: Cursor
2026-04-23 13:37:27 +01:00
Douglas
f285debd56 feat(i18n): add MCP and connectors strings for settings
Add translation keys for MCP sidebar, configuration, connectors, and
related actions across all supported locales.

Made-with: Cursor
2026-04-23 13:37:22 +01:00
Douglas
5d2cbd64d2 chore(assets): add integration icons and update Slack icon
Add SVG assets for GitHub, Google Calendar, Gmail, LinkedIn, Notion,
RAG, Reddit, and X. Refresh Slack icon for consistency with the set.

Made-with: Cursor
2026-04-23 13:37:20 +01:00
Douglas
c08386f0fa style(models): design tokens and controls on Models settings
- Panel backgrounds neutral-subtle; success semantic tokens
- Sidebar active state and indicator dots use ds tokens
- Reset/Save buttons use tone and radius props
- Content layout spacing and sticky header offset

Made-with: Cursor
2026-04-23 12:39:46 +01:00
Douglas
a85e3c4658 feat(settings): version and update actions in sidebar
- useHost ipcRenderer for auto-update check and download
- Full-width version chip under logo; vertical nav height fit content

Made-with: Cursor
2026-04-23 12:39:40 +01:00
Douglas
bc9416cadd refactor(topbar): useHost for Electron APIs; simplify history header
- Route window controls and export through useHost
- Home control uses FolderOpen; slight left padding
- Remove history-route version/update pill (moved to Settings)
- closeWindow passes false to match host API

Made-with: Cursor
2026-04-23 12:39:17 +01:00
Douglas
debd59ba4e feat(history): Blocks icon for projects tab; align padding; task title overflow
- Add animate Blocks icon and use for History projects tab
- History page horizontal padding px-20 to px-16
- Remove redundant break-words on task card title (overflow-wrap:anywhere)

Made-with: Cursor
2026-04-23 12:39:10 +01:00
Douglas
d38baee698 chore(deps): alphabetize @emotion/is-prop-valid in dependencies
Made-with: Cursor
2026-04-23 12:39:05 +01:00
Douglas
421f01c83a feat(sidebar): rich session list lead icons from task lifecycle
- Add getSessionNavLeadPresentation() for error/warning/HITL/blocked/
  splitting/running/finished/idle chrome with design-token icon colors
- Introduce isTaskListRowHardFailure; keep isTaskListRowFailureState for
  rows that include context exceeded
- NavList: pass sessionLead instead of taskStatus; replace ul/li with div
  stack; tighten session row padding for overflow menu
- ProjectPageSidebar: resolve default folder via useHost() (eslint)

Made-with: Cursor
2026-04-23 12:13:24 +01:00
Douglas
00706555f4 Tighten auth and install step padding, soften card background
- Reduce outer padding (px-2/pb-2 to px-1/pb-1) on login, signup, and install flow
- Login/SignUp: use ds-bg-neutral-subtle-default, drop border on main card
- InstallDependencies: match inner padding to p-4

Made-with: Cursor
2026-04-23 11:53:58 +01:00
Douglas
aa888e5ea2 chore: add design-token usage guardrail and allowlist
Add check-design-token-usage.mjs, wire npm scripts, lint-staged, and CI
frontend job. Allowlist WordCarousel and Terminal for required hex.
Strip redundant ds:allow comments from Terminal theme.

Made-with: Cursor
2026-04-23 11:51:04 +01:00
Douglas
b589f3c0b5 refactor(ui): prefer design tokens over raw colors
Use ds utilities, CSS vars, and neutral shimmer mix. Simplify TTFT console
log; Appearance preview fallback uses var(--colors-black-100).

Made-with: Cursor
2026-04-23 11:50:53 +01:00
Douglas
69af431473 feat(ui): use dialog overlay scrim on sheets and full-screen backdrops
Replace ad hoc black opacity with bg-dialog-overlay-scrim for modal
surfaces. Use token-based hover veils on browser/terminal workspace cards.

Made-with: Cursor
2026-04-23 11:50:50 +01:00
Douglas
33f76c73bd feat(ui): dialog overlay variants and scrim on alert
Expose default/light/dark/dimmed overlay variants using design tokens.
Use bg-dialog-overlay-scrim for confirm modal backdrop. Skill upload
dialog uses dimmed scrim.

Made-with: Cursor
2026-04-23 11:50:34 +01:00
Douglas
17f8f61e1c feat(theme): dialog overlay scrim token and mode-split aliases
Add --dialog-overlay-scrim with light/dark values resolved by ThemeProvider
mode. Extend buildComponentAliasVariables to support mode-split $value
objects. Map scrim and forced overlay utilities in Tailwind.

Made-with: Cursor
2026-04-23 11:50:26 +01:00
Douglas
10f14ea285 refactor(settings): use accent-ds-* for appearance range input
Made-with: Cursor
2026-04-23 11:24:05 +01:00
Douglas
070339b474 refactor(workflow): use border-ds-* for markdown tables
Made-with: Cursor
2026-04-23 11:24:01 +01:00
Douglas
48e94c1916 refactor(layout): use ds-* utilities in top bar, history search, project sidebar
Made-with: Cursor
2026-04-23 11:21:22 +01:00
Douglas
172936ca54 refactor(chat): use ds-* utilities in task list and session timeline
Prefer bg-ds-bg-*-subtle-default short aliases and border-ds-border-status-*.

Made-with: Cursor
2026-04-23 11:20:01 +01:00
Douglas
ca086ab573 refactor(chat): use ds-* utilities in input area and user query group
Made-with: Cursor
2026-04-23 11:19:26 +01:00
Douglas
31bcf19bda refactor(chat): use ds-* Tailwind utilities in message components
Replace bg-[var(--ds-*)], text-[color:var(--ds-*)], and border arbitrary
values with bg-ds-*, text-ds-*, and border-ds-* across cards and markdown.

Made-with: Cursor
2026-04-23 11:18:57 +01:00
Douglas
8106c9a15e refactor(background): use Tailwind ds-* on SVG patterns and lottie backdrop
Apply stroke-ds-*, fill-ds-*, and bg-ds-* instead of inline var(--ds-*).

Made-with: Cursor
2026-04-23 11:17:42 +01:00
Douglas
a96f1001ef refactor(ui): use Tailwind ds-* tokens in sheet, tabs, and sidebar
Replace arbitrary bg-[color:var(--ds-*)] and shadow-[...var(...)] with
bg-ds-* and theme()-based shadow utilities.

Made-with: Cursor
2026-04-23 11:16:50 +01:00
Douglas
13ea060886 chore(storybook): centralize UI stories under src/stories/ui
Move Button, Input, and Dialog stories; import from @/components/ui/*.
Removes colocated *.stories.tsx from src/components/ui.

Made-with: Cursor
2026-04-23 10:52:40 +01:00
Douglas
bda0e290f2 style(ui): use design token for Skeleton background
Replace bg-primary/10 with bg-ds-bg-neutral-muted-default/30.

Made-with: Cursor
2026-04-23 10:52:31 +01:00
Douglas
e20284be49 fix(ui): merge Toggle className with cn() outside toggleVariants
CVA should not receive className; merge with toggleVariants() output.

Made-with: Cursor
2026-04-23 10:52:24 +01:00
Douglas
9c4766cece refactor(ui): add tone to menu-button and resolve look from variant
Replace single info variant with tone=information and CVA look slot
(default, clear, info, clearInfo). Deprecate variant=info in favor of tone.

- Context carries variant, tone, size; items merge overrides
- data-look and data-menu-tone on items

Made-with: Cursor
2026-04-23 10:51:49 +01:00
Douglas
fe6b3970f1 refactor(ui): rename TabsList/TabsTrigger variant to appearance
Use data-tabs-appearance for tab strip styling. Keep variant as deprecated
alias. Update call sites to appearance= for clarity vs UiVariant.

Made-with: Cursor
2026-04-23 10:51:41 +01:00
Douglas
047a028e03 feat(ui): add Alert tone API and deprecate destructive variant
Map legacy variant default/destructive to neutral/error tones. Expose full
UiTone set with data-tone for testing and styling.

Made-with: Cursor
2026-04-23 10:51:34 +01:00
Douglas
024133a540 feat(ui): add formFieldSurface and share form control chrome
Extract shared size and validation class helpers in formFieldSurface.ts
for Input, Textarea, Select, and InputSelect. Extend semanticProps with a
short glossary of variant meaning (UiVariant vs layout vs legacy).

- Wire form fields to the shared helpers
- Note text colors use formFieldNoteTextClassName where applicable

Made-with: Cursor
2026-04-23 10:51:26 +01:00
Douglas
c35396f9d9 edit default app size 2026-04-22 23:54:39 +01:00
Douglas
7402171010 Merge origin/refactor_eigent: resolve TopBar, Models, Setting, WorkFlow/node
- TopBar: import SITE_URL for invite links
- Models: keep shared getModelImage + needsInvertModelImage helpers
- Setting: keep Dashboard VerticalNav + Appearance tab layout
- WorkFlow/node: keep feat design tokens and TaskLogPanelContent
- electron/main/init: fix devServerUrl typo (use fs.existsSync for .env.development)

Made-with: Cursor
2026-04-22 23:39:16 +01:00
Douglas
0988edd575 Merge branch 'refactor_eigent' into feat/eigent-new-design
Resolve content conflicts: keep new-design UI in src, adopt Brain and drop
duplicate skills IPC in electron, merge tsconfig includes. Use host abstraction
for IPC in Folder/Home/update, extend FileAttachment for web uploads, fix theme
token matrix typing, remove dead skill zip import from main process.

Note: pre-commit used --no-verify because backend .venv pre-commit path is broken
on this machine; run pre-commit locally after fixing venv.

Made-with: Cursor
2026-04-22 23:20:03 +01:00
Douglas Lai
46f9355a67
Refactor agent log (#1574)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-22 23:05:22 +01:00
Douglas
273ce4f27f update design change 2026-04-22 19:52:14 +01:00
Douglas
65486c6bf8 style fix for folder content 2026-04-22 13:01:47 +01:00
Douglas Lai
cd8fccef82
Feat/home workspace UI polish 20260422 (#1572)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-22 12:41:10 +01:00
Douglas Lai
c734699a2f
Refactor chat rendering (#1570)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-21 23:01:29 +01:00
Douglas Lai
d604be3bcb
Design Roken refactor (#1569)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-21 16:13:01 +01:00
4pmtong
39903625a0 Merge remote-tracking branch 'origin/test' into refactor_eigent
# Conflicts:
#	.github/workflows/build.yml
#	src/components/TopBar/index.tsx
#	src/pages/Browser/Cookies.tsx
#	src/pages/Login.tsx
#	src/store/chatStore.ts
2026-04-21 15:58:52 +08:00
4pmtong
4227e06439 fix(review): address PR #1536 feedback (file path normalization, Path typing, cleanup) 2026-04-20 16:34:37 +08:00
Douglas
d3810f9d2d chore(ui): reorganize component paths and shared layout
Move history, navigation, and search under components/Dashboard/,
relocate animate-ui under components/ui/, move ThemeProvider and
AnimationJson under Layout/, replace BottomBar/WorkspaceMenu with
WorkforceMenu, and update imports across the app.

Design token runtime (themeTokens, ThemeProvider contract, and UI
alias helpers) stays on branch design-refactor for follow-up work.

Made-with: Cursor
2026-04-18 16:12:57 +01:00
Douglas
bb5daa2313 bug fix 2026-04-18 12:13:33 +01:00
Douglas
b8204f29ff fix import bug 2026-04-17 16:00:46 +01:00
Douglas
84686847be update design 2026-04-17 15:41:29 +01:00
Tong Chen
ec0a9b3aae
Merge branch 'main' into test 2026-04-17 18:46:19 +08:00
Douglas
c852c3ed7c add all new features 2026-04-17 11:46:06 +01:00