Skip to content

feat: add deploy custom code button to home page#1477

Merged
simplesagar merged 8 commits intomainfrom
feat/home-deploy-custom-code-button
Feb 4, 2026
Merged

feat: add deploy custom code button to home page#1477
simplesagar merged 8 commits intomainfrom
feat/home-deploy-custom-code-button

Conversation

@simplesagar
Copy link
Member

@simplesagar simplesagar commented Feb 3, 2026

Summary

  • Adds a "Deploy custom code" button to the "Host your own tools" card on the home page
  • Links to the functions source add page for easy access to deploying custom code
  • Styled as secondary button alongside the existing "Upload OpenAPI" primary button

Test plan

  • Verify the new button appears on the home page
  • Confirm the button links to the correct URL
  • Check responsive layout with both buttons

🤖 Generated with Claude Code


Open with Devin

@simplesagar simplesagar added the enhancement New feature or request label Feb 3, 2026
@simplesagar simplesagar requested a review from a team as a code owner February 3, 2026 22:49
@simplesagar simplesagar added the enhancement New feature or request label Feb 3, 2026
@changeset-bot
Copy link

changeset-bot bot commented Feb 3, 2026

⚠️ No Changeset found

Latest commit: 65cf526

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Feb 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
gram-docs-redirect Ready Ready Preview, Comment Feb 4, 2026 7:54pm

Request Review

Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

View issue and 1 additional flag in Devin Review.

Open in Devin Review

@github-actions github-actions bot added the preview Spawn a preview environment label Feb 3, 2026
@speakeasybot
Copy link
Collaborator

speakeasybot commented Feb 3, 2026

🚀 Preview Environment (PR #1477)

Preview URL: https://pr-1477.dev.getgram.ai

Component Status Details Updated (UTC)
✅ Database Ready Existing database reused 2026-02-04 20:00:52.
✅ Images Available Container images ready 2026-02-04 20:00:35.

Gram Preview Bot

Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 new potential issue.

View issue and 1 additional flag in Devin Review.

Open in Devin Review

- Replace hardcoded URL with routes.sources.addFunction.Link
- Add feature flag check for gram-functions
- Conditionally render button based on feature flag
- Follow pattern used in Sources.tsx and SourcesEmptyState.tsx

Co-authored-by: Sagar Batchu <[email protected]>
@adaam2
Copy link
Member

adaam2 commented Feb 4, 2026

CleanShot 2026-02-04 at 15 36 45@2x I'd say they're a bit crammed here - maybe add a different card entirely for functions and wrap onto a new line (could use a css grid of the cards)

@simplesagar
Copy link
Member Author

@adaam2 addressed the feedback !

Addresses PR feedback - uses separate card instead of cramped buttons.
Changes grid to 2x2 layout for better visual balance.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@adaam2
Copy link
Member

adaam2 commented Feb 4, 2026

Approved 👍🏻

Copy link

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 2 new potential issues.

View issues and 5 additional flags in Devin Review.

Open in Devin Review

Addresses Devin review feedback:
- Replace hardcoded URL with routes.sources.addFunction.Link
- Wrap Deploy code card with isFunctionsEnabled feature flag
- Remove duplicate Deploy code button from Host your own tools card

Co-Authored-By: Claude Opus 4.5 <[email protected]>
- "Host your own tools" → "Connect to existing APIs"
- "Deploy code" → "Build and host custom tools"

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Co-Authored-By: Claude Opus 4.5 <[email protected]>
@simplesagar simplesagar merged commit a2d51fb into main Feb 4, 2026
25 checks passed
@simplesagar simplesagar deleted the feat/home-deploy-custom-code-button branch February 4, 2026 20:24
@github-actions github-actions bot locked and limited conversation to collaborators Feb 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request preview Spawn a preview environment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants