Files
Compass/web
Okechi Jones-Williams b18a6d7ff3 [Onboarding Flow] Added database checks to the onboarding flow (#34)
* Fixed Type errors

* Organizing testing utilities

* Added Database checks to the onboarding flow

* Updated Onboarding flow
Changed type ChildrenExpectation so that it can be used for database verification

* Added compatibility page setup
Added more compatibility questions

* Fix

* .

* Fix: Typo

* Fix: Faker usernames can no longer generate symbols

* Fix: Changed how work area is verified

* .

* .

* Fix: Trying to work in headed mode

* Fix: Change back to headless

* Fix: Added timeout after workArea selection

* .

* Clean e2e

* Improve E2E setup

* Prettier

* Log

* Fix: should pull test account from unique identifier like email, username or id; not the display name

* Source env vars in playwright directly

* Clean e2e data

* Clean test account id to be the same for email and username

* Fix import warning

* Add error handling

* Add log

* Temp remove env load

* Update

* Add logs and safeguards against using remote supabase during e2e tests

* Fix playwright report path in C@

* Remove locale log

* Check if userInformationFromDb loading with name instead of username was the issue

* Remove login log

* Check if initial work area names were the issue

* Ignore if no files found

* Cache Firebase emulators in CI

* Reload env vars in playwright

* It did not break tests...

* Clean verifyWorkArea

* Add caching for node modules in CI

* Add caching for node modules in CI (2)

* Do not raise if emulator not running during db seed

* Do not raise if using firebase emulator

* Fix supabase cache in CI

* Add Cache Playwright browsers in CI

* Fix

* Test cache

* Turn off unused supabase services to speed things up

* Back to good one

* Set CI=true

* api is required for client connection

* Add safeguards for missing supabase env vars

* Remove echo

* Remove supabase cache

---------

Co-authored-by: Martin Braquet <martin.braquet@gmail.com>
2026-03-01 01:25:56 +01:00
..
2026-02-20 17:32:27 +01:00
2026-02-28 02:00:04 +01:00
2026-02-20 17:32:27 +01:00
2025-10-28 16:05:22 +01:00
2025-12-15 16:49:15 +02:00
2026-02-20 17:32:27 +01:00
2026-02-23 14:48:03 +01:00
2026-02-20 17:32:27 +01:00
2026-02-23 14:48:03 +01:00
2026-02-20 17:32:27 +01:00
2026-02-20 17:32:27 +01:00
2026-02-20 17:32:27 +01:00
2026-02-20 17:32:27 +01:00
2026-02-20 17:32:27 +01:00

Web

This is the folder for the web application.

Information

Setup

This is the setup for deployment on Vercel, which you only need to do if you create a new platform from scratch, not if you are contributing to Compass

Set up a Vercel account and link it to your GitHub repository.

Add the following environment variables and the ones in .env in the Vercel dashboard:

NEXT_PUBLIC_VERCEL=1
next version

The next version is 14.1.0, as we get the following error with 15.1.2 and above when accessing /[username] pages on Vercel:

Cannot find module 'next/dist/compiled/source-map'
Require stack:
- /var/task/node_modules/next/dist/compiled/next-server/server.runtime.prod.js
- /var/task/web/___next_launcher.cjs
Did you forget to add it to "dependencies" in `package.json`?
Node.js process exited with exit status: 1. The logs above can help with debugging the issue.

TODO: investigate, find a fix and upgrade.