Skip to content

feat(workspace): reposition New project badge and enable for manual creation - #247

Closed
ChitkulLakshya wants to merge 5 commits into
mainfrom
fix/login-dashboard-delay
Closed

feat(workspace): reposition New project badge and enable for manual creation#247
ChitkulLakshya wants to merge 5 commits into
mainfrom
fix/login-dashboard-delay

Conversation

@ChitkulLakshya

Copy link
Copy Markdown
Member

Description

This PR addresses the position and triggering of the temporary green 'New' badge on project cards in the Workspace.

  1. Badge Repositioning: Moved the 'New' badge from being right next to the project title to the top-right corner of the card, alongside the 'Owner' badge, for a cleaner and more distinct UI.
  2. Manual Creation Support: Updated the \handleCreateNewProject, \handleCreateProjectFromRepo, and \handleCreateMultipleProjects\ functions in the + Add Project\ modal to correctly capture the returned project data and trigger the \setNewProjectId\ state with a 5-second timeout. Previously, this visual feedback was only active for AI-generated projects via the sidebar.

Verification

  • Navigated to the Workspace.
  • Clicked + Add Project\ and created a repository.
  • Verified the modal closes and the newly created project card immediately displays a green 'New' badge in its top-right corner for 5 seconds.

@ChitkulLakshya
ChitkulLakshya requested a review from prem22k as a code owner July 24, 2026 18:24
Copilot AI review requested due to automatic review settings July 24, 2026 18:24
@ChitkulLakshya
ChitkulLakshya requested a review from eesha264 as a code owner July 24, 2026 18:24
@vercel

vercel Bot commented Jul 24, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
zync Ready Ready Preview, Comment Jul 24, 2026 6:25pm

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants