Skip to content

feat: improve create-project flow with New project / Fix bug selector (Bounty #12)#102

Closed
sriraajj-lab wants to merge 1 commit into
mergeos-bounties:masterfrom
sriraajj-lab:fix/bounty12-project-type-flow
Closed

feat: improve create-project flow with New project / Fix bug selector (Bounty #12)#102
sriraajj-lab wants to merge 1 commit into
mergeos-bounties:masterfrom
sriraajj-lab:fix/bounty12-project-type-flow

Conversation

@sriraajj-lab
Copy link
Copy Markdown
Contributor

Bounty #12: Improve create-project flow for new projects and existing bug fixes

Changes Made

Replaced 6 generic project types with 2 clear, bounty-specified options:

  1. 🆕 New project — Build something from scratch (FolderPlus icon)
  2. 🐛 Fix bug in existing project — Fix an issue in an existing codebase (Bug icon)

Implementation Details

Requirement Status
Users can select either "New project" or "Fix bug in existing project"
Selected type included in submitted project payload project_type field added to submit handlers
Dynamic placeholders matching selected type
No dummy content — realistic placeholders
Responsive layout preserved ✅ No CSS changes
Existing routes/links/buttons still work
Build passes (client + SSR) ✅ Verified locally

Dynamic Placeholders

Selected Type Title Placeholder Description Placeholder
New project "Enter your project name" "Describe what you want to build..."
Fix bug in existing project "What bug needs fixing?" "Describe the bug and where it occurs..."

What Changed

  • frontend/src/App.vue — Only file modified (17 additions, 9 deletions)
  • Added FolderPlus icon import
  • Replaced projectTypeOptions with two bounty-specified types
  • Added projectTitlePlaceholder and dynamicProjectDescPlaceholder computed properties
  • Updated loadRepoIssues to auto-select "Fix bug in existing project"
  • Added project_type to AI evaluation payload

What Did NOT Change

  • ❌ No vite.config.js changes
  • ❌ No entry-client.js / entry-server.js changes (SSR preserved)
  • ❌ No styles.css deletions
  • ❌ No main.js modifications

Build Verification

✓ Client build: 198.92 kB (gzip: 64.75 kB)
✓ SSR build: 162.79 kB (gzip: 34.32 kB)
✓ 0 errors, 0 warnings

Test Notes

cd frontend && npm install && npm run build:local
# Both client and SSR builds succeed

This PR replaces previous attempts (#90, #91, #92) that had build failures and incomplete implementations. This version uses proper taste-aware code generation and preserves all existing functionality.

Addresses bounty mergeos-bounties#12 — Improve create-project flow for new projects and existing bug fixes.

Changes:
- Replace 6 generic project types with two clear options:
  1. New project — build something from scratch (FolderPlus icon)
  2. Fix bug in existing project — fix an issue in an existing codebase (Bug icon)
- Dynamic placeholders that adapt to selected project type:
  - New project: Enter your project name / Describe what you want to build...
  - Fix bug: What bug needs fixing? / Describe the bug and where it occurs...
- Selected type included in submitted project payload (project_type field)
- Type persists and displays throughout the flow via projectTypeLabel
- Auto-selects Fix bug type when loading repo issues
- Build passes (client + SSR)
- No changes to vite.config.js, entry-client.js, entry-server.js, or styles.css
- All existing functionality preserved
@TUPM96 TUPM96 added enhancement New feature or request bounty Eligible work for the MergeOS bounty program evidence: missing PR needs screenshot, GIF, video, or other visual evidence. star: missing PR author must star this repository before bounty review. bounty: feature Feature or enhancement bounty work. project-creation Project creation and project intake flow. frontend Frontend UI and interaction work. qa Quality assurance, regression testing, and verification work. reward:2000-mrg Bounty reward is 2000 MRG tokens. labels May 28, 2026
@TUPM96
Copy link
Copy Markdown
Contributor

TUPM96 commented May 28, 2026

Thanks for the PR. For bounty review, please add verification evidence in this PR before final review:

  • screenshot, GIF, or video showing the changed flow/UI
  • the test/build command(s) you ran and the result
  • any relevant edge cases or viewport sizes checked

Evidence can be attached in a PR comment; images in comments count. If this PR has the star: missing label, please also star this repository so bounty eligibility can be verified.

Copy link
Copy Markdown
Contributor

@TUPM96 TUPM96 left a comment

Choose a reason for hiding this comment

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

Not ready for bounty acceptance yet.

This is one of the closer #12 implementations because it updates the repo-import path, but bounty review is still blocked by missing star verification and missing runtime evidence. Please star the repo and attach screenshots/GIF/video for the New Project path and the Bug Fix/repo-import path.

After that, this can be reviewed again against the product flow.

@TUPM96
Copy link
Copy Markdown
Contributor

TUPM96 commented May 28, 2026

Thanks for the contribution and for moving this bounty forward. We accepted PR #109 for issue #12 after a small maintainer follow-up, and this PR is now superseded by the merged implementation on master. Closing to keep the queue clean. For the next bounty, please rebase on latest master and include clear runtime evidence/screenshots so review can move faster.

@TUPM96 TUPM96 closed this May 28, 2026
@espcris05-commits
Copy link
Copy Markdown

Verification Report — PR #102

Target PR: #102
Author: @sriraajj-lab

Verdict: ✅ APPROVE — Clean project flow improvement

Payout: cerouber88@gmail.com

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

Labels

bounty: feature Feature or enhancement bounty work. bounty Eligible work for the MergeOS bounty program enhancement New feature or request evidence: missing PR needs screenshot, GIF, video, or other visual evidence. frontend Frontend UI and interaction work. project-creation Project creation and project intake flow. qa Quality assurance, regression testing, and verification work. reward:2000-mrg Bounty reward is 2000 MRG tokens. star: missing PR author must star this repository before bounty review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants