feat: onboarding trial flow, Google sign-in, dark mode hotspot fixes
- Move trial creation from auth hook to dedicated /subscriptions/trial endpoint with eligibility checks (3-day Full Paket trial) - Add animated onboarding progress (Remotion) with confetti on completion - Register redirects to subscription page with welcome flow - Add Google social login/signup support with config injection - Improve hotspot overlay visibility in dark mode - Show "Panele Git" on landing page when authenticated - Turkish translations for API error messages - Add toast utility wrapper, UUID generation for auth IDs Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -16,7 +16,7 @@ export class PlansService {
|
||||
|
||||
async findById(id: string) {
|
||||
const result = await this.db.select().from(plans).where(eq(plans.id, id)).limit(1);
|
||||
if (result.length === 0) throw new NotFoundException("Plan not found");
|
||||
if (result.length === 0) throw new NotFoundException("Plan bulunamadı");
|
||||
return result[0];
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ export class PlansService {
|
||||
.set({ ...data, updatedAt: new Date() })
|
||||
.where(eq(plans.id, id))
|
||||
.returning();
|
||||
if (!plan) throw new NotFoundException("Plan not found");
|
||||
if (!plan) throw new NotFoundException("Plan bulunamadı");
|
||||
return plan;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user