managarten/memoro/apps/mobile/docs/features/zeego-migration-status.md
Till-JS e7f5f942f3 chore: initial commit - consolidate 4 projects into monorepo
Projects included:
- maerchenzauber (NestJS backend + Expo mobile + SvelteKit web + Astro landing)
- manacore (Expo mobile + SvelteKit web + Astro landing)
- manadeck (NestJS backend + Expo mobile + SvelteKit web)
- memoro (Expo mobile + SvelteKit web + Astro landing)

This commit preserves the current state before monorepo restructuring.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-22 23:38:24 +01:00

2 KiB

Zeego Migration Status

Abgeschlossen

Dependencies

  • Zeego deinstalliert
  • react-native-ios-context-menu deinstalliert
  • react-native-ios-utilities deinstalliert
  • @react-native-menu/menu@2.0.0 bereits vorhanden

Utility Components

  • config/menuActions.ts - Zentralisierte Menu Actions
  • utils/menuBuilder.ts - Menu Action Builder
  • components/ui/NativeMenu.tsx - Wiederverwendbare Wrapper-Komponente

Dropdown Menus (3/11 migriert)

  • features/menus/HeaderMenu.tsx
  • features/menus/MemoMenu.tsx
  • features/menus/MemoHeaderMenu.tsx
  • components/atoms/Pill.tsx
  • components/molecules/TableOfContentsMenu.tsx
  • features/subscription/SubscriptionMenu.tsx
  • components/organisms/PhotoGallery.tsx
  • Weitere 4 Komponenten (noch zu identifizieren)

Context Menus (0/4 migriert)

  • components/organisms/Memory.tsx
  • components/molecules/PromptPreview.tsx
  • components/molecules/MemoPreview.tsx
  • 1 weitere Komponente

Nächste Schritte

  1. Restliche Dropdown Menus migrieren
  2. Context Menus migrieren
  3. Native Rebuild (npx expo prebuild --clean)
  4. iOS Testing
  5. Android Testing

Migration Pattern

Dropdown Menu (Tap)

// Vorher
import * as DropdownMenu from 'zeego/dropdown-menu';

// Nachher
import { MenuView } from '@react-native-menu/menu';

<MenuView
  actions={actions}
  onPressAction={({ nativeEvent }) => handleAction(nativeEvent.event)}
  shouldOpenOnLongPress={false}  // Dropdown = tap
>
  {children}
</MenuView>

Context Menu (Long Press)

<MenuView
  actions={actions}
  onPressAction={({ nativeEvent }) => handleAction(nativeEvent.event)}
  shouldOpenOnLongPress={true}  // Context = long press (default)
>
  {children}
</MenuView>

Web Fallbacks

Alle migrierten Komponenten behalten ihre bestehenden Web-Implementierungen (Custom Modals).


Status: In Progress (3/15 Komponenten migriert) Letzte Aktualisierung: 30. September 2025