Skip to content
This repository was archived by the owner on Apr 19, 2026. It is now read-only.

refactor: dev port 3001; drop Generate-with-AI + Marketplace surfaces - #87

Merged
aalemayhu merged 1 commit into
mainfrom
refactor/dev-port-3001
Apr 19, 2026
Merged

aalemayhu merged 1 commit into
mainfrom
refactor/dev-port-3001

Conversation

@aalemayhu

Copy link
Copy Markdown
Contributor

Summary

Two coupled changes to unblock the templates-integration trim on the server + web side.

Dev port 3001

Vite dev server now binds 3001 so running the web app on 3000 and the templates app locally at the same time no longer conflicts. README and `Documentation/Development.md` updated to match. The login-fallback URL in `App.tsx` stays on `localhost:3000` — that points at the web app, not the templates app.

Drop the parked feature surfaces

The server-side endpoints backing these were removed (parked on `feat/ai-template-generate` / marketplace removal on `fix/templates-integration`) until there's a clearer user signal:

  • Generate with AI — remove the sidebar button, the empty-state button, `AIGenerateDialog` component, and the `handleAIGenerated` path.
  • Marketplace footer link — remove the Store button and the `onOpenMarketplace` wiring.

Leaving the UI in place while its endpoints are gone would produce silent 404s. Restoring either feature later is a clean cherry-pick — both were isolated subtrees.

Test plan

  • `pnpm dev` — listens on 3001.
  • Open localhost:3001, hit a template — no AI button, no marketplace button, editor still works.
  • Unauthenticated load still redirects to `localhost:3000/login`.

🤖 Generated with Claude Code

- Vite dev server now binds 3001 so running the web app on 3000 and
  the templates app locally at the same time no longer conflicts.
  README and Development.md follow suit.
- Remove the "Generate with AI" button + dialog and the Marketplace
  footer link from the editor. The server endpoints backing those
  features are being held back until there's a clearer user signal;
  until then, leaving the UI referring to 404 endpoints is worse than
  hiding it. The dialog component is removed entirely — restoring the
  feature later is a two-file cherry-pick.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@aalemayhu
aalemayhu merged commit 1315467 into main Apr 19, 2026
10 of 11 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant