Project management related changes

This commit is contained in:
2026-08-24 22:57:06 +05:30
parent 71b2389221
commit 2a106a8716
67 changed files with 3565 additions and 80 deletions

View File

@@ -0,0 +1,19 @@
import re
with open('kifi-app/lib/features/dashboard/presentation/dashboard_screen.dart', 'r') as f:
content = f.read()
content = content.replace("import '../../projects/presentation/projects_screen.dart';", "import '../../projects/presentation/project_hub_screen.dart';\nimport '../../projects/presentation/projects_screen.dart';")
old_projects_mode = r""" if \(isProjectMode\) {
screens\.add\(const ProjectsScreen\(\)\);
}"""
new_projects_mode = """ if (isProjectMode) {
screens.add(const ProjectHubScreen());
}"""
content = re.sub(old_projects_mode, new_projects_mode, content)
with open('kifi-app/lib/features/dashboard/presentation/dashboard_screen.dart', 'w') as f:
f.write(content)