feat: checkpoint API migration and dzikir UX updates

This commit is contained in:
Dwindi Ramadhana
2026-03-16 00:30:32 +07:00
parent c4696f2d9f
commit a049129a35
85 changed files with 4285 additions and 211 deletions

View File

@@ -11,11 +11,14 @@ import '../features/checklist/presentation/checklist_screen.dart';
import '../features/laporan/presentation/laporan_screen.dart';
import '../features/tools/presentation/tools_screen.dart';
import '../features/dzikir/presentation/dzikir_screen.dart';
import '../features/doa/presentation/doa_screen.dart';
import '../features/hadits/presentation/hadits_screen.dart';
import '../features/qibla/presentation/qibla_screen.dart';
import '../features/quran/presentation/quran_screen.dart';
import '../features/quran/presentation/quran_reading_screen.dart';
import '../features/quran/presentation/quran_murattal_screen.dart';
import '../features/quran/presentation/quran_bookmarks_screen.dart';
import '../features/quran/presentation/quran_enrichment_screen.dart';
import '../features/settings/presentation/settings_screen.dart';
/// Navigation key for the shell navigator (bottom-nav screens).
@@ -79,6 +82,11 @@ final GoRouter appRouter = GoRouter(
parentNavigatorKey: _rootNavigatorKey,
builder: (context, state) => const QuranScreen(),
routes: [
GoRoute(
path: 'enrichment',
parentNavigatorKey: _rootNavigatorKey,
builder: (context, state) => const QuranEnrichmentScreen(),
),
GoRoute(
path: 'bookmarks',
parentNavigatorKey: _rootNavigatorKey,
@@ -116,6 +124,16 @@ final GoRouter appRouter = GoRouter(
parentNavigatorKey: _rootNavigatorKey,
builder: (context, state) => const QiblaScreen(),
),
GoRoute(
path: 'doa',
parentNavigatorKey: _rootNavigatorKey,
builder: (context, state) => const DoaScreen(),
),
GoRoute(
path: 'hadits',
parentNavigatorKey: _rootNavigatorKey,
builder: (context, state) => const HaditsScreen(),
),
],
),
// Simple Mode Tab: Zikir
@@ -128,6 +146,10 @@ final GoRouter appRouter = GoRouter(
path: '/quran',
builder: (context, state) => const QuranScreen(isSimpleModeTab: true),
routes: [
GoRoute(
path: 'enrichment',
builder: (context, state) => const QuranEnrichmentScreen(),
),
GoRoute(
path: 'bookmarks',
builder: (context, state) => const QuranBookmarksScreen(),
@@ -159,6 +181,14 @@ final GoRouter appRouter = GoRouter(
),
],
),
GoRoute(
path: '/doa',
builder: (context, state) => const DoaScreen(isSimpleModeTab: true),
),
GoRoute(
path: '/hadits',
builder: (context, state) => const HaditsScreen(isSimpleModeTab: true),
),
],
),
// ── Settings (pushed, no bottom nav) ──