Skip to content

[SAAS-4345] Here SuperTabs (v44 + WS 24)#832

Open
david-coxon wants to merge 24 commits into
mainfrom
dev/li/saas-4345/v44
Open

[SAAS-4345] Here SuperTabs (v44 + WS 24)#832
david-coxon wants to merge 24 commits into
mainfrom
dev/li/saas-4345/v44

Conversation

@david-coxon
Copy link
Copy Markdown
Contributor

@david-coxon david-coxon commented May 12, 2026

Change Request: Here SuperTabs Starter

Summary

This branch introduces a new how-to/here-supertabs-starter sample demonstrating the HERE Core UI Supertabs experience within workspace-starter. It replaces the default Browser UI with the HERE Supertabs Browser UI, adds an AI Companion integration, and aligns the wider repo to @openfin/workspace@24.0.13 and OpenFin Runtime v44.


Changes

New: how-to/here-supertabs-starter

A new fully self-contained sample providing a runnable HERE Core UI Supertabs Platform example configured for Enterprise Browser (@openfin/enterprise-api, SuperTabs, AI Companion). It replaces the default Browser UI in the standard workspace-starter with the HERE Supertabs Browser UI. Key additions:

  • Enterprise Browser integrationprepare-browser.mjs copies Enterprise Browser UI static assets into public/platform/enterprise at install time. Runtime is locked to 44.146.101.1.

  • HERE Supertabs Browser UI — Uses @openfin/here-supertabs@24.0.13 for tabbed Supertabs window management, including navigation buttons (back, forward, refresh).

  • AI Companion (client/src/framework/ai-context.ts) — A singleton AIContextProvider wraps @openfin/ai-context (useAIContext) and exposes getAIContext(winIdentity) and fireContextChanged(). This gives teams a Workspace-native way to trial EB-style AI-assisted workflows without a full migration, with business-controlled context collection so only approved views participate.

    • Preload model: dom-sender.cjs on user/content views; ai-context.cjs on the chat view — the two populations are kept strictly disjoint via domain rules in public/manifest.fin.json.

    • Push updates are driven by window view-event listeners (view-attached, view-url-changed, etc.) wired from the platform override's createWindow.

  • Full ESLint, Prettier, and Markdownlint tooling config included.

  • docs/AI-Context-README.md documents the platform touch points, preload model, and operating constraints for the AI Companion.

Dependencies (here-supertabs-starter):

Package Version
@openfin/workspace 24.0.13
@openfin/workspace-platform 24.0.13
@openfin/here-supertabs 24.0.13 (local tarball)
@openfin/ai-context 24.0.0 (local tarball)
@openfin/ai-context-client 24.0.0 (local tarball)
OpenFin Runtime 44.146.101.1

Tooling / CI

  • prepare-browser.mjs - runs post npm i and copies Supertab UI Assets to public.

Testing Notes

  • Run npm install && npm run build && npm start in how-to/here-supertabs-starter, then launch OpenFin against http://localhost:8080/manifest.fin.json.

  • Verify Supertab windows open correctly with the HERE Supertabs Browser UI, including navigation buttons.

  • Open a chat view alongside a content view and confirm the AI Companion is populated (page title, URL, screenshot) via window._aiContext.getContext().

  • Confirm isAIContextPermitted domain filtering correctly excludes non-permitted view URLs from AI Companion context collection.

  • Run the existing automation test suites for register-with-home and workspace-platform-starter to confirm no regressions from the version bumps.

  • Confirm the address bar is not visible in the Browser Windows.

  • Confirm supertab saving works as expected.

@snyk-io
Copy link
Copy Markdown

snyk-io Bot commented May 12, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

licui3936 and others added 2 commits May 12, 2026 13:41
Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	package-lock.json
Replace import.meta.dirname (Node 21.2+) with
dirname(fileURLToPath(import.meta.url)) which works on Node 18.

Co-authored-by: Cursor <cursoragent@cursor.com>
@licui3936 licui3936 requested a review from johnman May 12, 2026 17:50
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.

2 participants