UI & functional requirements · v1
Shared rules for a coherent suite.
This reference captures major product behavior, interaction language, and reusable functional expectations for future development cycles and agents.
01
Product scope
The current service is EraAI Cloud. Desktop is a separate future delivery target.
- 01Treat EraAI as one product suite with shared identity, branding, navigation conventions, and account context.
- 02The customer-facing suite currently contains Flex, Agent Studio, Cowork, Insight, and Control.
- 03Admin Console is an internal laboratory for development and operations teams, not a commercial suite product.
- 04Do not infer desktop behavior from cloud requirements. Desktop requirements will be specified separately.
02
Identity and access
Personal identity is suite-wide; organization membership and entitlements stay separate.
- 01Use one suite auth experience with distinct personal-account and organization-access paths rather than product-specific login screens.
- 02A personal account may have zero, one, or several organization memberships. Personal-only demo access includes Flex, Agent Studio, and Cowork.
- 03A full organization invite creates the account and membership together; an access invite adds an organization to an existing account.
- 04Offer Google, email, SAML SSO, and passkey as the four authentication entry methods.
- 05The selected organization determines which products a user can open. Commercial packaging may be separate or bundled and must not be hard-coded into UI logic.
- 06Use workspace as the user-facing term. Show switching before product choice only when an account has multiple workspaces.
- 07Prototype controls stay on the left, show only scenarios relevant to the current page, and reveal selected auth errors or lifecycle states immediately.
- 08The home prototype controls named identity independently from zero, one, or four accessible workspaces and from pending, removed, loading-error, or quiet-activity states.
- 09Logging out from any product clears the shared suite session and returns directly to the EraAI Cloud home page. Every product account menu, including Admin Console, exposes this action consistently.
03
Suite entry
The home page is the common cloud doorway and product map.
- 01Keep signed-out onboarding above the fold and focused on becoming a client, personal login, full organization invites, and access invites.
- 02Use browser-local memory to suggest prior organizations without presenting that suggestion as an authenticated session.
- 03Show only the products entitled for the personal or selected organization context.
- 04Preserve the atmospheric mint, lavender, and sand canvas with restrained glass surfaces and enterprise-grade hierarchy.
- 05Personal demo access shows Flex, Agent Studio, and Cowork. The four-organization prototype demonstrates four different entitlement sets, ending with all five products plus Admin Console.
- 06Authenticated product selection opens the selected product without an extra marketing or confirmation step.
- 07Use one workspace switcher beside the active product set; do not repeat memberships in a separate workspace rail.
- 08Cross-workspace activity shows up to five action-led rows with semantic pictograms, concise detail, and small workspace/product marks in the upper-right; it contains no summary statistics.
- 09Keep square product launch cards large enough to use the space recovered by removing duplicate workspace navigation.
- 10The suite home provides a browser-local light/dark theme control and restores the latest preference on return.
- 11Internal builds group Developer Hub and Product updates at the lower-left suite-home edge instead of the primary account header, with one shared caption identifying both as internal information removed from customer deployments.
- 12Product card counts start hidden and restore the latest browser-local choice. When shown, each count sits beside its product name; the Product updates control always shows the total product-tagged changes from the active 48-hour window.
- 13Suite product cards unfold from large product marks on entry; descriptions reveal on hover or keyboard focus without changing card or page geometry, with a stable reduced-motion fallback.
- 14Customer builds omit the complete internal workspace section.
04
Interaction language
Interfaces should be direct, predictable, and explicit about system state.
- 01Use short action labels and factual, action-oriented assistant language.
- 02Every visible control must respond, navigate, expand, submit, or communicate why it is unavailable.
- 03Every control label remains readable against its rendered background in light, dark, hover, focus, active, and disabled states. Normal-size text meets at least 4.5:1 contrast, and global or inherited link colors never override action-specific foregrounds.
- 04Use neutral actions by default. Reserve teal for focus, active state, governance, success, and live status.
- 05Keep status paired with text, not color alone. Preserve visible keyboard focus and accessible names.
- 06Use progressive disclosure for advanced controls; do not hide required context or consequences.
05
Common product patterns
Products share foundations while retaining domain-specific workflows.
- 01Use the shared 52px transparent header rail, suite switcher, profile menu, resizable panels, and shared chat where applicable.
- 02The EraAI logo in every shared product switcher returns directly to the EraAI Cloud home page.
- 03A Workmark is the shared atomic navigation unit for a page, artifact, entity detail, topic/task, or chat. Every Workmark has a stable ID, label, kind, product-local target, and icon.
- 04Pinned excludes destinations already represented in persistent main navigation. Main-menu pages such as Projects and Artifacts do not expose pin actions; details, artifacts, topics/tasks, and chats remain pinnable.
- 05Recent contains recently used chats only. Artifact-, entity-detail-, and topic/task-related chats use their context icon; general chats use a restrained dot.
- 06Chats is the broader saved-conversation collection. Hot is reserved until a product ships an explicit promotion signal.
- 07Saved chat rows restore their latest conversation and open the shared chat panel.
- 08Operational pages preserve source-specific tabs, graphs, timelines, query builders, previews, simulations, and inspectors.
- 09Dense interfaces use 13–14px operational body text, thin borders, restrained surfaces, and compact controls.
- 10Do not flatten specialized workflows into generic cards or tables merely to make products look alike.
- 11Chat is closed on first entry. The sidebar starts open at 220px, chat width starts at 360px, and the light theme is active.
- 12After interaction, restore browser-local shell state and the last supported Cowork, Agent Studio, or Admin Console location.
- 13Product switching resumes the target product. Logout preserves workspace preferences while clearing demo authentication.
- 14/assistant/* is a suite-wide route family whose behavior resolves from the active product context; it is not owned by Agent Studio.
- 15Local workspace continuity does not sync between browsers or devices and never stores drafts, secrets, transient dialogs, or sensitive data.
- 16Agents use the shared 36-avatar registry across suite surfaces. Preserve the same assigned avatar by stable ID; its six role families aid classification but never communicate status, permissions, authorization, or entitlement.
- 17Connector prototype controls use a fixed lower-right overlay on product pages. Catalogue scenarios apply immediately; operation failures run through one explicit action and always produce visible feedback.
- 18Agent Studio renders connectors as separate standard cards and uses Agent or Agents as its only user-facing autonomous-worker terminology across connector details, People, roles, Skills, and assistant flows.
06
Deployment audience
Internal and customer builds expose different supporting services.
- 01ERA_DEPLOYMENT_AUDIENCE accepts internal or customer and defaults to internal.
- 02Internal builds expose Developer Hub, Requirements, Brandbook, Admin Console, and startup-team utilities.
- 03Customer builds omit internal navigation and placeholders while retaining the entitled commercial suite.
- 04src/config/internalSurfaces.ts is the canonical project configuration for internal-only UI and customer-deployment removal, including Developer Hub access, Product updates, Admin Console entry, and prototype controls.
- 05Deployment audience is presentation control, not authentication, authorization, or entitlement enforcement.
- 06Developer Hub pages use the /devhub/* namespace. Legacy /developers/* URLs permanently redirect to their matching /devhub/* destinations.
- 07The Developer Hub uses a three-level navigation model: Product, Developers, Market, and Resources at level one; labeled domain groups at level two; and destination pages at level three.
- 08Dev Hub destination links and first-level categories show numbered red badges for prompt-level updates from the last 48 hours; each first-level total sums its descendant destination counts.
- 09The lower-left suite-home Developer Hub link shows the total number of route-level changes in the same 48-hour window. A prompt that changes several destinations contributes one change for each destination.
- 10Product update counts use product tags on the same 48-hour route-level ledger. Unrelated suite or documentation changes do not count against every product; the lower-left Product updates control sums those counts even while card numbers are hidden, and zero remains visible when enabled.
- 11Affected Dev Hub pages show route-specific recent-change summaries newest-first before their content, using the same prompt-level 48-hour ledger; the Hub shell states the period in compact text.
- 12Recent-change rows highlight on hover or focus and link to stable section anchors that visibly mark the exact destination after navigation.
- 13Developer reports are incremental engineering handoffs. Each report declares its previous baseline, measures prompt-level and file-level change, classifies non-exclusive product impact, records verification and known issues, and includes agent-readable structured data plus the next baseline.
- 14Developer Hub lists every report in one archive, prerenders a separate static detail route for each catalog entry, and provides the canonical Markdown artifact as a direct download.
- 15The shared Developer Hub shell persists across every internal reference route so the complete startup workspace remains directly switchable.
- 16One browser-local Developer Hub light/dark preference applies across the complete workspace and is restored after navigation or reload; Brandbook inherits this preference instead of maintaining a separate theme control.
- 17Optional Reusable Skills start disabled and provide browser-local individual and master switches. Enabled and always-on skills use a 3px green card border with readable status text, while disabled cards retain a 1px neutral border; Rebuild All runs only after an explicit manual mention and invokes only enabled relevant skills.
- 18Dev Changes Logging is always active and records one prompt event with numeric contributions for each affected Developer Hub route/category or explicitly tagged product.
- 19Dev Changes Highlights Update starts disabled. When enabled, Rebuild All and Developer Report Generator invoke it to refresh every navigation, suite-home, product-card, and in-page change highlight from the canonical 48-hour ledger.
07
Delivery and maintenance
Requirements are a durable engineering input, not a one-time design note.
- 01Record new major, shared, or reusable functional requirements in this reference during the same change.
- 02Keep brand rules in the brandbook and behavioral/product rules here; cross-reference when a decision affects both.
- 03Distinguish demos from production behavior in both UI and documentation.
- 04Do not present future integrations as active. Surface configuration, entitlement, and provider dependencies explicitly.
- 05Validate requested public routes in preview and production delivery before marking work complete.