Repository navigation
[DO NOT MERGE] feat(frontend): add Integrations Hub mock UI - #405
Draft
FraterCCCLXIII wants to merge 21 commits into
Draft
FraterCCCLXIII wants to merge 21 commits into
FraterCCCLXIII wants to merge 21 commits into
Conversation
Wire agent-canvas-style --oh-* / cool-grey tokens, AgentServerUIRoot, and neo palette application so the SaaS shell can share the same theme foundation. Co-authored-by: Cursor <cursoragent@cursor.com>
Port agent-canvas layout utilities so settings-like pages can reuse the same form, list, and sidebar spacing classes. Co-authored-by: Cursor <cursoragent@cursor.com>
Match agent-canvas settings chrome with tokenized nav links, logo header, bottom user menu, and settings-owned gutters. Co-authored-by: Cursor <cursoragent@cursor.com>
Restyle org management, members list, and git org rows with shared settings list/form tokens and updated mocks/tests. Co-authored-by: Cursor <cursoragent@cursor.com>
Replace hardcoded greys with base/surface/muted/primary tokens so budgets and usage monitoring match agent-canvas. Co-authored-by: Cursor <cursoragent@cursor.com>
Update spinners, badges, chips, context menus, and related shell controls to use --oh-* / muted tokens instead of hardcoded greys. Co-authored-by: Cursor <cursoragent@cursor.com>
Use neo toast tokens, custom CircleX error layout, loading helper, and route call sites through the shared handlers. Co-authored-by: Cursor <cursoragent@cursor.com>
Replace the pill toast chrome with agent-canvas-aligned surface, border, radius, and status icon colors. Co-authored-by: Cursor <cursoragent@cursor.com>
Track remaining hardcoded hex surfaces for follow-up tokenization work. Co-authored-by: Cursor <cursoragent@cursor.com>
Restyle the settings rail (sidebar, drawer, white brand mark), forms, integrations, and related surfaces to match OpenHands-Neo tokens and agent-canvas patterns. Co-authored-by: Cursor <cursoragent@cursor.com>
Clarify Personal settings as org-scoped (This org chip), fold Integrations and Skills into that section, and move User/Application to the bottom. Continue settings shell, credits, MCP, and chrome alignment. Co-authored-by: Cursor <cursoragent@cursor.com>
Improve loading skeleton fidelity and stagger, and let non-searchable dropdowns click-open/click-close like other selects. Co-authored-by: Cursor <cursoragent@cursor.com>
Override the shared fixed list-row height and keep the Default badge inline with the profile name so stacked mobile content no longer overflows the overflow-hidden profiles list. Co-authored-by: Cursor <cursoragent@cursor.com>
Update frontend tests for neo chrome (toasts, dropdowns, budgets, git settings) and show the org-wide badge on budgets/credits. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Stage the personal and admin Integrations Hub for mock/SaaS review without enabling it in production until ENABLE_INTEGRATIONS_HUB is set. Co-authored-by: Cursor <cursoragent@cursor.com>
Add selection-based bulk actions, details panels for scopes and usage, max access caps, and tighter modal spacing so the mock UI matches the source hub. Co-authored-by: Cursor <cursoragent@cursor.com>
Clear pointer hover on click/leave and use the neo instant-foreground transition so the disable icon does not linger. Co-authored-by: Cursor <cursoragent@cursor.com>
Add a Set as default action so the Default badge can move between saved profiles without deleting the current one. Co-authored-by: Cursor <cursoragent@cursor.com>
Preview first-run versus after-setup GitHub connector flows on a dedicated page, and move the official catalog updated timestamp into the modal footer. Co-authored-by: Cursor <cursoragent@cursor.com>
Replace the design-review variants page with the production catalog modal so each integration’s auth requirements drive setup, and confirm before deleting saved settings. Co-authored-by: Cursor <cursoragent@cursor.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DO NOT MERGE. This is an early Integrations Hub frontend for mock/SaaS review. There is no production backend yet. The UI stays hidden unless
ENABLE_INTEGRATIONS_HUBistrueor1.HUMAN:
Pending human QA. Do not merge until the Integrations Hub backend exists and this UI has been manually signed off.
AGENT:
Stacked on PR #174 (
design-update/ OpenHands-Neo settings theme). Target isdesign-update, notmain.Why
We need a reviewable Integrations Hub (personal + admin) in the mock/SaaS frontend so we can iterate on catalog, requests, approvals, and agent connection before a real API exists.
Summary
ENABLE_INTEGRATIONS_HUB(defaults off; acceptstrueand1).use-integrations-hub-stub, mock SaaS handlers).Issue Number
N/A (frontend prototype / do-not-merge review)
How to Test
frontend/:npm run dev:mock:saas(typically http://localhost:12000).VITE_MOCK_SAASsetsenable_integrations_hub: true).MessageSquareShare) to/conversations/:id, tooltips, 12px gap before approve/deny, overflow tooltips on clipped cells.+/checkenable, no-auth connectors unlabeled, Request integration usesBrandButton(text-sm).ENABLE_INTEGRATIONS_HUBunset/false), Hub nav and routes stay hidden.Video/Screenshots
Local mock/SaaS QA was done in-browser during implementation. No recorded video attached.
Type
Notes
Do not merge
Feature flag
ENABLE_INTEGRATIONS_HUB(true/1).enterprise/server/auth/constants.py,enterprise/server/config.py.openhands/app_server/web_client/{web_client_models,default_web_client_config_injector}.py.feature_flags.enable_integrations_hubhides nav + redirects routes when false.'true','1', and default-false.Routes (when flag is on)
/settings/integrations,/settings/integrations/agent-requests,/settings/integrations/agent-connection/settings/integrations-hub,/settings/integrations-hub/catalog,/settings/integrations-hub/user-requestsWhat the UI includes
Personal Integrations
+/ check toggle to enable/disable (no Registered chip, no row chevron).Agent Requests
w-8,pr-0) and vertically centered checkbox.MessageSquareShare) to/conversations/:id(mock ids 1/2/3).BrandButton, nottext-xs).Agent Connection
Admin Hub
Overflow tooltips
HubTruncatedTextshows a hover tooltip only when text actually overflows (ResizeObserver / scrollWidth).Mock orgs
99/me@acme.org.mockCurrentOrgId.Theme / settings chrome
BrandButton(h-9,text-sm).frontend/src/i18n/translation.json+declaration.ts.Tests added/updated
enterprise/tests/unit/server/test_constants.py,tests/unit/app_server/test_default_web_client_config_injector.py.Follow-ups (out of scope)
/settings/git→ Hub.Made with Cursor