Skip to content

Improve UI for App Deployment Options in Dev Center#2266

Merged
jelveh merged 5 commits intoHeyPuter:mainfrom
rowin-C:dev-center-ui-update
Jan 13, 2026
Merged

Improve UI for App Deployment Options in Dev Center#2266
jelveh merged 5 commits intoHeyPuter:mainfrom
rowin-C:dev-center-ui-update

Conversation

@rowin-C
Copy link
Copy Markdown
Contributor

@rowin-C rowin-C commented Jan 12, 2026

resolves #604

  • Added CSS styling for deployment option cards
  • Implemented active state switching between deployment methods with guardrails
  • Abstracted saveEditApp for reuse across Deploy and Edit tabs
  • Added error handling for invalid URLs in the Deploy tab

@jelveh jelveh self-assigned this Jan 12, 2026
@jelveh
Copy link
Copy Markdown
Contributor

jelveh commented Jan 12, 2026

Thanks @rowin-C, have been very much looking forward to this PR 🎉

A few things:

  • Both options have this description: "Some description about the mode"
  • It seems like the URL "https://dev-center.puter.com/coming-soon.html" is not deployable unless it's changed first. I'd say it should be deployable as it's a good default URL until the developer deploys the real version
  • Entering a URL and pressing deploy, throws the following eror:
Screenshot 2026-01-11 at 8 16 51 PM

@rowin-C
Copy link
Copy Markdown
Contributor Author

rowin-C commented Jan 12, 2026

Thanks @jelveh , Glad to hear that.

I’ll update the descriptions to:

Upload Assets: “Upload and deploy static assets like HTML, CSS, and JavaScript directly to host your app.”

External URL: “Set the app’s index to any publicly accessible URL where your app is already deployed.”

Regarding https://dev-center.puter.com/coming-soon.html: the URL is deployable, but currently the input needs to be interacted with first. If we don’t do that, the Deploy button would be active by default since the input already has a value.

Do we want the Deploy button to be active every time Dev Center loads, or only after the user explicitly interacts with the input?

@rowin-C rowin-C marked this pull request as draft January 12, 2026 11:35
- Added CSS styling for deployment option cards
- Implemented active state switching between deployment methods with guardrails
- Abstracted saveEditApp for reuse across Deploy and Edit tabs
- Added error handling for invalid URLs in the Deploy tab
@rowin-C rowin-C force-pushed the dev-center-ui-update branch from b42f6f0 to 1c6daaa Compare January 12, 2026 11:51
@jelveh
Copy link
Copy Markdown
Contributor

jelveh commented Jan 12, 2026

Do we want the Deploy button to be active every time Dev Center loads, or only after the user explicitly interacts with the input?

For "URL mode", the deploy button should be enabled by default unless the user removed the URL

@rowin-C rowin-C marked this pull request as ready for review January 13, 2026 02:40
@jelveh
Copy link
Copy Markdown
Contributor

jelveh commented Jan 13, 2026

🎉🎉🎉

@jelveh jelveh merged commit 529a3d0 into HeyPuter:main Jan 13, 2026
4 checks passed
@rowin-C rowin-C deleted the dev-center-ui-update branch January 14, 2026 01:29
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.

[Dev Center] Improve UI for App Deployment Options in Dev Center

2 participants