Skip to content

develop ➡️ main#20

Merged
espetro merged 47 commits into
mainfrom
develop
May 7, 2026
Merged

develop ➡️ main#20
espetro merged 47 commits into
mainfrom
develop

Conversation

@espetro
Copy link
Copy Markdown
Owner

@espetro espetro commented May 7, 2026

Summary

This PR brings together a significant set of improvements spanning UI modernization, onboarding enhancements, analytics integration, and release process updates.

Key highlights:

  • UI Refactoring: Completed migration to shadcn components across buttons, dropdowns, popovers, and other primitives, improving consistency and maintainability
  • Version Bump: Released v0.5.0 with unified versioning across all workspace packages
  • Onboarding Enhancement: Implemented SettingsTourView, tour step tracking with Jotai atoms, and data-tour attributes for guided user flows
  • Settings Refactoring: Extracted SettingsContent from SettingsDialog, removed deprecated SettingsModal component
  • Analytics Integration: Enabled PostHog initialization on app startup with proper environment variable handling
  • Feedback System: Migrated feedback submission from GitHub Issues to GitHub Discussions API
  • Tooling: Made validate available per-package via --cwd flag for better DX
  • Documentation: Added Release Process section to AGENTS.md, updated CHANGELOG

Related Issues

Solves #16 , #4

Type of Change

  • New feature (onboarding tour, analytics integration, feedback system update)
  • Refactoring (UI components, settings structure, code cleanup)
  • Documentation update (AGENTS.md, CHANGELOG)

Checklist

  • My code follows the project's style guidelines
  • All tests pass locally (bun run validate)
  • I have updated documentation (CHANGELOG, AGENTS.md)
  • My changes do not break existing functionality
  • Worktree conventions followed (git worktrees under .worktrees/)
  • No circular imports or cross-package import violations

License Acknowledgment

By submitting this pull request, I confirm that:

  • This is original work authored by the project owner
  • All code respects the dual-license open-core model (AGPL-3.0 for core, ELv2 for packages/pro/)
  • No code has been moved between AGPL core and Pro packages without explicit authorization

Additional Notes

Testing coverage: 5 commits on onboarding, analytics, and feedback components with integrated tests updated. Desktop auto-updater improved with getLocalInfo usage.

Dependencies: bun.lock updated; all workspace packages synchronized to v0.5.0.

Breaking changes: Deprecated SettingsModal removed; replaced with SettingsDialog in route handlers.

espetro added 30 commits May 3, 2026 18:54
- Replace manual createPortal + click-outside in variations-button with shadcn Popover
- Replace manual createPortal + click-outside in critique-mode-button with shadcn Popover
- Replace manual dropdown with click-outside useEffect in toolbar with shadcn DropdownMenu
- Replace inline SVGs with lucide-react icons (Settings, Menu)
- Use shadcn Separator for toolbar dividers
- Delete ToolButton component, replace with shadcn Button ghost variant
- Migrate compass.tsx and zoom.tsx to shadcn Button
- Migrate prompt-bar.tsx raw buttons to shadcn Button
- Migrate image-pill.tsx remove button to shadcn Button
- Migrate add-media-button.tsx to shadcn Button
- Migrate context-toolbar.tsx separator to shadcn Separator
- Migrate pipeline-status.tsx progress bar to shadcn Progress
- Migrate ai-prompt-input.tsx textarea to shadcn Textarea
- Replace inline SVGs with lucide-react icons (Loader2, X, AlertTriangle)
Complete wave 2 migration across apps/web/src/:

- **Settings**: general, provider-list, provider-config-form, provider-selector,
  settings-modal, settings-personalization
- **Export**: export-menu
- **Comments**: comment-input, comment-thread
- **Feedback**: feedback-modal, bug-icon
- **Mode Sidebar**: mode-buttons, preset-button, system-prompt-button
- **Design**: summary-list, summary-dialog
- **Routes**: index.tsx
- **Widgets**: error-boundary, prompt-library, update-notification
- **Context Toolbar**: remix-button

Replaced:
- ~42 raw <button> elements → shadcn <Button>
- 8 inline SVGs → lucide-react icons
- 5 raw <input> elements → shadcn <Input>
- 3 raw <textarea> elements → shadcn <Textarea>
- 2 raw separator <div> patterns → shadcn <Separator>

Exclusions respected:
- settings-sidebar nav buttons (semantic nav)
- design-card comment pin (dynamic STATUS_COLORS)
- @mantine/hooks useClickOutside

Build: 11/11 successful ✅
Verification: All grep sweeps clean ✅
Convert named exports to default exports to support direct file imports
in lazy-loaded components.
Replace barrel exports with direct file imports for comment components.
Reorganize imports for clarity.
Use specific React types (Component, ComponentType, ErrorInfo, ReactNode,
PropsWithChildren) instead of namespace-prefixed types.
Extend PropsWithChildren for container components. Add field-sizing:fixed
for consistent textarea height and margin to footer.
Add whitespace-normal to allow text wrapping in popover options.
Add size=sm to button for consistent sizing.
Remove unused jotai imports and add Textarea component import.
- Restore welcome-modal.tsx from git history
- Fresh start now shows WelcomeModal instead of SettingsDialog
- Take tour: starts TutorialTour
- Skip for now: shows canvas (no SettingsDialog)
- Re-add showWelcomeAtom to onboarding atoms
- Restore showWelcomeAtom tests
espetro added 17 commits May 6, 2026 15:59
Reuse settings content in tour view without duplicating layout and
section rendering logic.
Mark AI Provider, Add Provider, and Unsplash API Key with data-tour
attributes for tour-kit step targeting.
Non-interactive replica at z-[45] with pointer-events-none for use
during settings tour steps.
Add provider-setup, add-provider, and unsplash-key steps between
toolbar and all-set. Wire currentTourStepIdAtom for step tracking.
Close real SettingsDialog during settings tour steps, render
SettingsTourView replica instead. Support ?tour param for replay.
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
calca 13749cf May 07 2026, 01:41 PM

@espetro espetro changed the title deve develop ➡️ main May 7, 2026
@espetro espetro merged commit 13749cf into main May 7, 2026
3 of 4 checks passed
@espetro espetro temporarily deployed to github-pages May 7, 2026 13:59 — with GitHub Actions Inactive
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.

1 participant