Skip to content

fix: comprehensive mobile UI/UX improvements#12

Closed
anurag629 wants to merge 5 commits intocodercops:productionfrom
anurag629:dev
Closed

fix: comprehensive mobile UI/UX improvements#12
anurag629 wants to merge 5 commits intocodercops:productionfrom
anurag629:dev

Conversation

@anurag629
Copy link
Member

Summary

  • Navbar: Fix hamburger menu becoming unclickable after Astro View Transitions by removing transition:persist from Header; simplify inline script lifecycle
  • API Docs: Complete mobile-first redesign — sticky tab bar, div-based parameter cards instead of tables, edge-to-edge code blocks with internal scroll, responsive typography
  • Create Page (Editor): Fix customize & export tabs not stretching full width on mobile (flex-direction: column on .editor-right); enlarge all touch targets (toggles, sliders, color swatches, buttons); sticky customize header with backdrop blur; add icons to export buttons; responsive breakpoints at 768px, 480px, and 380px
  • Preview Checker: Improved mobile layout and spacing
  • Footer: Add Feedback link

Files Changed (17 files, +1338 / -449)

Area Files
Navbar Header.astro, Layout.astro, ToolLayout.astro
API Docs api-docs.astro, api-docs.css
Editor EditorApp.tsx, ExportBar.tsx, editor.css
Preview preview.css
Global global.css, Footer.astro
CI/Docs ci.yml, pr-target-check.yml, CLAUDE.md, CONTRIBUTING.md, README.md, SECURITY.md

Test Plan

  • Open /create page on mobile (≤768px) — verify Customize tab fields stretch full width
  • Switch to Export tab — verify buttons are full width with icons, canvas preview visible
  • Switch to Templates tab — verify grid shows 3 columns (768px), 2 columns (480px), 1 column (380px)
  • Open /api-docs on mobile — verify no horizontal scroll, sticky tab bar, readable parameter cards
  • Navigate between pages using navbar links — verify hamburger menu stays clickable
  • Test on desktop (≥1024px) — verify no regressions in 3-panel editor layout
  • Test dark mode on both mobile and desktop

Made with Cursor

anurag629 and others added 5 commits February 27, 2026 21:31
Update CI workflows, README, CONTRIBUTING, and SECURITY to reflect
the branch rename from main to production.
…w pages

- Redesign API docs page with mobile-first layout: div-based params
  instead of tables, horizontal sticky tab nav, contained code blocks
- Fix hamburger menu broken after View Transitions by removing
  transition:persist from Header and moving mobile menu inside <header>
- Improve editor mobile layout: single scroll column, proper touch
  targets, auto-switch to customize tab on template select
- Add safe-area and viewport-fit handling for notched devices
- Improve preview page mobile: stacked URL input, larger buttons
- Adjust responsive nav-height and global spacing for small screens

Made-with: Cursor
- Fix editor-right panel not stretching full width on mobile by adding
  flex-direction: column (mobile-show forced display:flex without it)
- Enlarge touch targets for toggles, sliders, color swatches, and buttons
- Make customize header sticky with backdrop blur on mobile
- Add icons to export copy buttons for better visual clarity
- Increase export button sizes with proper tap feedback (scale on active)
- Add safe-area-inset-bottom padding for notched phones
- Full-width upload buttons and select dropdowns on small screens
- Responsive breakpoints for 768px, 480px, and 380px (very narrow)

Made-with: Cursor
…ails

- Added introductory guidance for using Claude Code.
- Updated project description to include deployment URL and GitHub link.
- Expanded commands section with additional commands for testing and linting.
- Revised architecture section to reflect the current state of templates and API.
- Introduced a new section for pages and API endpoints with detailed descriptions.
- Enhanced template contribution guidelines and conventions for clarity.
- Added CI/CD process overview and environment variable details.
@vercel
Copy link

vercel bot commented Feb 28, 2026

@anurag629 is attempting to deploy a commit to the CODERCOPS Team on Vercel.

A member of the Team first needs to authorize it.

@anurag629 anurag629 closed this Feb 28, 2026
@vercel
Copy link

vercel bot commented Feb 28, 2026

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

Project Deployment Actions Updated (UTC)
ogcops Ready Ready Preview, Comment Feb 28, 2026 6:35am

Request Review

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