mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:21:10 +02:00
The former /credits (balance, transactions, Stripe checkout, cost breakdown) and /mana (subscription plans placeholder) were separate pages covering the same billing domain. Merge into a single workbench app "Credits & Abo" with 5 tabs: 1. Übersicht — balance cards + recent transactions + quick-buy 2. Abonnements — SubscriptionPage from @mana/subscriptions 3. Transaktionen — full transaction history table 4. Kaufen — Stripe-integrated package cards 5. Kosten — per-operation cost breakdown with category filter Stripe redirect handling: Stripe returns to /?app=credits&success=true. The deep-link handler opens the app and strips ?app; the ListView reads ?success / ?canceled from window.location.search on mount, shows the appropriate toast, and cleans the URL via history.replaceState. - Delete /credits/+page.svelte and lib/modules/mana/ (placeholder) - Register workbench app id='credits' (Crown icon, amber) - Replace mana app registration (no longer needed) - Update all links: command menu, PillNavigation (manaHref + creditsHref both → /?app=credits), CreditsSection, CreditsWidget, TransactionsWidget, CompleteStep, sync-status, sync billing page, gift redeem page Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| calc/packages/shared | ||
| calendar | ||
| cards | ||
| chat | ||
| citycorners | ||
| contacts | ||
| context | ||
| docs | ||
| food | ||
| guides | ||
| inventory | ||
| mana | ||
| manavoxel | ||
| memoro | ||
| moodlit | ||
| mukke | ||
| news | ||
| photos | ||
| picture | ||
| plants | ||
| presi | ||
| questions | ||
| quotes/packages/content | ||
| skilltree | ||
| storage | ||
| times | ||
| todo | ||
| traces | ||
| uload | ||