Skip to content

Convert from AI Studio test deployment to production#11

Merged
SmileAfterBurn merged 2 commits intoLinefrom
copilot/update-to-production-version
Feb 24, 2026
Merged

Convert from AI Studio test deployment to production#11
SmileAfterBurn merged 2 commits intoLinefrom
copilot/update-to-production-version

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 24, 2026

The app was wired for Google AI Studio's test environment: non-existent preview model names, window.aistudio API key management, and CDN-based Tailwind/importmap instead of a proper Vite build pipeline.

Changes

Gemini model names (components/geminiService.ts)

  • gemini-3-pro-previewgemini-2.5-pro
  • gemini-3-flash-previewgemini-2.5-flash

Remove AI Studio test harness (App.tsx)

  • Dropped isKeySelected state, window.aistudio key check, and the activation screen that depended on it
  • Replaced handleSelectKey (AI Studio key picker) with handleResetMap (remounts map component via key increment)

Production Tailwind pipeline (new files)

  • Added postcss.config.js, tailwind.config.js, index.css (@tailwind directives), and imported CSS in index.tsx
  • Build now emits compiled CSS (~49 kB / 8.4 kB gzip) instead of the CDN runtime

index.html cleanup

  • Removed <script src="https://cdn.tailwindcss.com"> and the <script type="importmap"> block — both are dev-only crutches superseded by Vite's bundler

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Feb 24, 2026

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

Project Deployment Actions Updated (UTC)
inclusive-map-ukraine Ready Ready Preview Feb 24, 2026 8:16am
social Ready Ready Preview Feb 24, 2026 8:16am

Request Review

Co-authored-by: SmileAfterBurn <214960413+SmileAfterBurn@users.noreply.github.com>
Copilot AI changed the title [WIP] Update deployment from staging to production Convert from AI Studio test deployment to production Feb 24, 2026
Copilot AI requested a review from SmileAfterBurn February 24, 2026 08:16
@SmileAfterBurn SmileAfterBurn marked this pull request as ready for review February 24, 2026 08:17
@SmileAfterBurn SmileAfterBurn merged commit 1533e9d into Line Feb 24, 2026
2 of 5 checks passed
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.

2 participants