Repository navigation
feat(platform): add a welcome page with connection instructions - #390
Merged
Merged
Conversation
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://platform-welcome-void-cloud.voidzero-docs.workers.dev (commit 214acda)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
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.
Summary
Add a useful landing page at a Void platform's API root, which previously returned 404. The page uses the same minimal, server-rendered HTML styling as first-administrator setup, with no React or client-side JavaScript.
The first commit fixes a timezone-dependent test failure encountered during verification:
TESTING.md.Screenshot
Captured from the actual API response using Playwright with JavaScript disabled. The example API origin is
https://api.example.com.Verification
pnpm exec vp run build:allpnpm exec vp run checkpnpm exec vp lintpnpm exec vp run lint:platformpnpm exec vp fmt --checkpnpm exec vp run build:docsnode test/check-playground-build-artifacts.mjspnpm exec vp run test: 3,918 passed, 19 skipped.pnpm exec vp test run: 13,065 passed, 32 skipped; the Astro dev-server suite timed out during startup. Its isolated rerun (pnpm exec vp test run packages/void/test/integration/astro.test.ts) passed all 3 tests.Commits
fix(test): make platform database tests timezone-independentfeat(platform): add a welcome page with connection instructions