feat: add web dashboard at portless.localhost#212
Open
theishandubey wants to merge 2 commits intovercel-labs:mainfrom
Open
feat: add web dashboard at portless.localhost#212theishandubey wants to merge 2 commits intovercel-labs:mainfrom
theishandubey wants to merge 2 commits intovercel-labs:mainfrom
Conversation
Add a web dashboard accessible at portless.localhost for viewing active proxy routes, proxy status, and quick actions. Features: - Show all active routes with hostname, port, and action buttons - Display proxy status (HTTP/HTTPS, port, TLD, route count) - Copy URL button with visual feedback - Empty state with quick-start command when no apps running - Dark/light mode support matching existing portless UI Closes vercel-labs#211
|
@theishandubey is attempting to deploy a commit to the Vercel Labs Team on Vercel. A member of the Team first needs to authorize it. |
…oard Replace hardcoded v0.10.0 with the build-time __VERSION__ variable in the dashboard HTML template. Add vitest.config.ts to define __VERSION__ during tests. Fixes version display becoming stale after version bumps.
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.
Closes #211
This PR adds a web dashboard accessible at
portless.localhostfor viewing active proxy routes.Changes
packages/portless/src/proxy.ts: Added dashboard routing forportless.localhostpackages/portless/src/pages.ts: AddedrenderDashboardPage()function with dashboard UIpackages/portless/src/proxy.test.ts: Added 4 tests for dashboard functionalityFeatures
Testing