Skip to content

Design system expansion + improved sync workflow - #39

Merged
CloudCompile merged 3 commits into
mainfrom
claude/overhaul-pollinations-api-CxNOr
May 8, 2026
Merged

Design system expansion + improved sync workflow#39
CloudCompile merged 3 commits into
mainfrom
claude/overhaul-pollinations-api-CxNOr

Conversation

@CloudCompile

Copy link
Copy Markdown
Owner

Summary

This PR includes:

  1. Comprehensive design system expansion — New design tokens, enhanced component styling, improved accessibility
  2. Improved sync workflow — Fixed authentication, better error handling, targets correct destination repo

Changes

Design System (Phase 1-3)

Theme Tokens (src/theme.css)

  • Typography: font-size scales (xs→3xl), weights, line-heights, letter-spacing
  • Spacing scale: --spacing-0.5 through --spacing-8
  • Color palette: neutral grays (50-900), semantic gradients
  • Z-index scale: dropdown, sticky, fixed, modal, popover, tooltip, overlay
  • Animations: fadeIn/Out, slideIn/Out, scaleIn/Out, bounce, pulse, shimmer, spin

Sidebar Enhancements

  • Focus states with accessible focus rings
  • Enhanced chat item hover/focus states
  • Keyboard navigation support (Enter/Space)
  • 44px+ mobile touch targets
  • Comprehensive aria labels + aria-current attributes

Chat Input Refinements

  • Mode pill focus states and transitions
  • Improved voice selector styling
  • Better disabled state styling
  • Enhanced touch targets (40-44px)
  • Full aria labels (role="tablist", aria-selected, aria-expanded)

Message Area Polish

  • Feature card hover animations with lift effect
  • Media card animations (slideInFromLeft)
  • Header icon button focus states
  • Enhanced theme card styling
  • Better user dropdown interactions

Workflow Improvements (.github/workflows/sync-react-app.yml)

Authentication & Security

  • ✅ Uses gh repo clone instead of HTTPS token URL (safer, more reliable)
  • ✅ Proper GH_TOKEN environment variable handling

Robustness

  • ✅ Concurrency control to prevent duplicate syncs
  • ✅ Path filters (only runs on react-app changes)
  • ✅ Directory verification and preparation
  • ✅ Better change detection and error handling

Clarity

  • ✅ Status emojis for progress tracking
  • ✅ Git diff statistics showing what changed
  • ✅ GitHub Actions step summary
  • ✅ Clearer error messages and fallbacks

Correct Destination

  • ✅ Fixed: Now clones from pollinations/pollinations (not CloudCompile fork)
  • ✅ Fixed: Now copies to apps/chat/ (not hacktoberfest-2025/chat)
  • ✅ Updated PR creation to target correct repo

Testing

The design system improvements have been:

  • ✅ Tested at 768px (tablet) and 480px (mobile) breakpoints
  • ✅ Verified keyboard navigation across all components
  • ✅ Confirmed focus states and visual feedback
  • ✅ Validated dark/light mode support

The workflow can be tested via:

  • Manual trigger: GitHub Actions → "Sync React App to Pollinations" → "Run workflow"
  • Push to main after merging this PR (will trigger on react-app changes)

Commits

  1. Expand design system tokens and enhance Sidebar component
  2. Enhance ChatInput component styling and accessibility
  3. Enhance MessageArea styling with better interactions and animations
  4. Improve sync-react-app workflow with better auth and error handling
  5. Fix sync workflow: target pollinations/pollinations apps/chat directory

Generated by Claude Code

claude and others added 3 commits May 8, 2026 16:14
Key improvements:
- Use 'gh repo clone' instead of HTTPS URL with token (better security)
- Add concurrency control to prevent duplicate syncs
- Add path filters to only run on react-app changes
- Better error handling and validation
- Clearer logging and status messages
- Improved git push/PR creation with better error messages
- Add GitHub Actions job summary
- More robust change detection
- Better code formatting and documentation
- Use --no-verify for unverified commits in CI
- Handle vite.config.js more gracefully

https://claude.ai/code/session_0123K4e3ay6qWfSGVHD7Q2SS
- Changed destination repo from CloudCompile/Pollinations to pollinations/pollinations
- Changed destination path from hacktoberfest-2025/chat to apps/chat
- Updated PR creation to target correct repo
- Updated documentation and summary to reflect correct paths

https://claude.ai/code/session_0123K4e3ay6qWfSGVHD7Q2SS
@CloudCompile
CloudCompile merged commit a98cae3 into main May 8, 2026
2 checks passed
@github-actions

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown

🤖 PR Summary by Pollinations.AI
(referrer: prisimai.github.io)

Summary

⚠️ IMPORTANT NOTICE ⚠️

The Pollinations legacy text API is being deprecated for authenticated users.

Please migrate to our new service at https://enter.pollinations.ai for better performance and access to all the latest models.

Note: Anonymous requests to text.pollinations.ai are NOT affected and will continue to work normally.

Risk Level: medium
Breaking Change: false

Diff Stats

  • Files changed: 0
  • Lines added: 0
  • Lines removed: 0
  • Total lines changed: 0

This comment updates automatically.

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.

2 participants