Skip to content

Feature/codex ready#1900

Closed
rupaulogit wants to merge 99 commits intochen08209:mainfrom
rupaulogit:feature/codex-ready
Closed

Feature/codex ready#1900
rupaulogit wants to merge 99 commits intochen08209:mainfrom
rupaulogit:feature/codex-ready

Conversation

@rupaulogit
Copy link

No description provided.

…for-new-ui-strings

Codex-generated pull request
…for-new-ui-strings-42d6l2

Onboarding, diagnostics and Russia-2026 preset with UI and localization updates
…for-new-ui-strings-1qzhn7

Add onboarding & diagnostics, Russia 2026 preset, branding changes and APK build workflow
…for-new-ui-strings-zdmkk0

Add onboarding & diagnostics, Russia 2026 preset, UI tweaks and APK CI build
…for-new-ui-strings-lj3xwc

Add onboarding, Russia preset, diagnostics view, branding updates and CI APK build
…for-new-ui-strings-b40das

Add onboarding, diagnostics, Russia preset, localization, UI tweaks and APK build CI
…for-new-ui-strings-jifkrk

Add Russia onboarding, diagnostics, Russia-2026 preset, and APK CI workflow
…for-new-ui-strings-niuaqq

Onboarding & Diagnostics: Russia preset, UI/localization updates, and APK build workflow
rupaulogit and others added 29 commits March 22, 2026 22:58
…r-cleanliness

refactor: optimize codebase for cleanliness and performance
Missing provider export and incorrect async value access were restored to fix build errors.

**Files changed:**
- lib/providers/providers.dart
- lib/common/russia_preset.dart

**Full content of lib/providers/providers.dart:**
```
export 'package:flutter_riverpod/flutter_riverpod.dart';
export 'app_state.dart';
export 'database.dart';
export 'logger.dart';
export 'theme.dart';
export 'tun.dart';
export 'update_checker.dart';
```

**Full content of lib/common/russia_preset.dart:**
```
import 'package:flutter_riverpod/flutter_riverpod.dart';

import '../models/rule.dart';
import '../providers/database.dart';

final russiaPresetProvider = FutureProvider.autoDispose((ref) async {
  final db = ref.watch(databaseProvider);
  if (db == null) return [];
  final rules = await db.getAllRules();
  final existingRules = rules.toSet();

  final preset = <Rule>[
    Rule(
      id: "rule:clash-russian-filter",
      type: "remote",
      name: "Russian Filter for Clash",
      content: "https://raw.githubusercontent.com/SlowMemory/RuleGen/master/Clash/clash.txt",
      enabled: false,
    ),
    Rule(
      id: "rule:anti-ad-clash",
      type: "remote",
      name: "AntiAd-clash",
      content: "https://raw.githubusercontent.com/privacy-protection-tools/anti-AD/master/anti-ad-clash.yml",
      enabled: false,
    ),
  ];

  // Filter out duplicates based on ID
  return preset.where((newRule) => !existingRules.any((existingRule) => existingRule.id == newRule.id)).toList();
});
```

**Commands to verify:**
flutter pub get
flutter analyze
flutter build apk --debug

git add -A && git commit -m "fix: restore missing provider export and async value access"
…57e-7e6ce979b354

Update from task ecb79939-ed5b-465f-b57e-7e6ce979b354
…olve connectivity_plus and app_links dependencies

- Updated android/settings.gradle.kts to include Flutter engine artifacts repository in dependencyResolutionManagement block
- Modified .gitignore to properly exclude Gradle build artifacts and Android-specific files
- Ensures Flutter embedding artifacts are accessible to plugin modules while maintaining AGP 8.9.1 and Gradle 8.11.1 compatibility

The fix adds the missing Flutter engine repository that contains the required io.flutter:flutter_embedding_debug artifact, resolving the compilation failures for connectivity_plus and app_links modules.
…5f1-2dab34fce7c6

Update from task 961213b2-abeb-4f36-a5f1-2dab34fce7c6
- Updated application initialization in lib/application.dart to add null safety checks and prevent immediate exit when navigator context is not ready, instead implementing retry logic
- Modified .gitignore to include comprehensive ignore patterns for various build artifacts and temporary files
- Enhanced error handling during app startup to gracefully handle cases where navigator context is not immediately available
- Improved stability and resilience of application launch sequence for better user experience
…e84-24056389dc59

Update from task 3e76587b-3729-4fbd-9e84-24056389dc59
- Fixed import in lib/common/russia_preset.dart to move ListItem widget import to correct location
- Removed unused widgets import from top level and reorganized imports for clarity
- Maintained all existing Russia 2026 preset functionality including DNS, routing rules, and UI component
- Ensures proper widget rendering for the Russia preset configuration item
…9fb-34abfbae17c9

Update from task 9733b3e7-119a-453f-89fb-34abfbae17c9
@rupaulogit rupaulogit closed this Mar 23, 2026
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.

2 participants