The Vertex Developer Dashboard is an application designed for managing and viewing the Scenes, Files, and the Parts Library associated to your platform account.
This dashboard is intended to be a lightweight option for managing this data, and as such, does not provide all of the functionality available through Vertex Connect. What this dashboard does provide is an easy way to manage, track, and visually inspect the data being brought into the Vertex Platform through a GUI. The tools provided for performing these interactions are split into focused areas. For more information on getting started with the Vertex Developer Dashboard, see the Getting Started guide.
For our multi-tenant account, the dashboard can be found at https://dashboard.developer.vertexvis.com/. Private deployments of the Vertex Platform will also
include a custom deployment of this dashboard accessible at a URL generated as part of the initial deployment. Once this initial deployment has completed, the
URL generated will be discoverable from Route 53 in AWS, and will contain the dev-dashboard prefix. This dashboard will be pre-configured to work against
your private deployment.
Prepare the project from the repository root using either option:
- Run
yarn setupto create.env.local, generate itsCOOKIE_SECRET, and install dependencies. - Or manually copy
.env.local.templateto.env.local, setCOOKIE_SECRETto a random value of at least 32 characters, then runyarn install.
Start the app with yarn dev, then browse to http://localhost:3000.
yarn playwright:login runs scripts/playwright_login.ts through tsx to
create an authenticated Playwright storage-state file for the Developer
Dashboard. It is a reusable starting point for authenticated browser work,
rather than an end-to-end test suite by itself. The script logs in with the
supplied credentials, saves the session state with owner-only file permissions,
and opens a dashboard page with that state to verify that the session was
accepted.
This seed supports human and agent-assisted development workflows such as:
- exploring the current authenticated dashboard state;
- validating acceptance criteria with labelled screenshots; and
- performing judgement-based quality checks.
It can also support end-to-end testing, though those tests should normally use
fixture data instead of live service endpoints. yarn setup installs the
Chromium and WebKit browsers used for this browser automation work.
Before running the script, set DEV_USERNAME and DEV_CREDENTIAL. Optional
configuration includes DEV_DASHBOARD_URL (default http://localhost:3000),
DEV_DASHBOARD_PATH (default /), DEV_ENVIRONMENT (default platdev), and
PLAYWRIGHT_VISIBLE=true to keep the authenticated browser open. When
DEV_ENVIRONMENT=custom, also set DEV_API_HOST and DEV_RENDERING_HOST.
The storage state defaults to playwright/.auth/dev-dashboard.json; it
contains authenticated session material. It is ignored by Git and must not be
shared or committed. Set PLAYWRIGHT_STORAGE_STATE to choose a different
location.
Prepare .env.local using either option above, then run docker-compose --file ./docker-compose.yml up and browse to http://localhost:3000.
After pulling changes, run docker-compose --file ./docker-compose.yml build before starting the container again.
public/ // Static assets
src/
components/ // Components used in pages
lib/ // Shared libraries and utilities
pages/ // Pages served by NextJS
api/ // API endpoints served by NextJS
A few options for deployment,
This project uses Lefthook for pre-commit quality checks. To enable it locally, run yarn lefthook:install.
Git stores hooks in the shared common git directory, so a few things are worth knowing if you use worktrees:
- Enabling/disabling is repo-wide. Running
yarn lefthook:install(orlefthook uninstall) from any worktree turns the pre-commit hook on (or off) for every worktree, includingmain. There is no per-worktree opt-in. Run the install from your primary checkout so the hook doesn't reference a throwaway worktree path. - Each worktree needs its own dependencies. Worktrees don't share
node_modules, and the hook runsformat:staged:check,lint,typecheck, andtest. Runyarn installin every worktree you commit from, or those commands will fail at commit time. - Skip the hook when needed. Prefix a commit with
LEFTHOOK=0(e.g.LEFTHOOK=0 git commit ...) to bypass the checks for a single commit.