web: migrate health notifications to js_interop; add browser hook
- Replace dart:js with package:js in health_check_service_web.dart\n- Implement showHealthCheckNotification in web/index.html\n- Pin js dependency to ^0.6.7 for flutter_secure_storage_web compatibility auth: harden AuthInterceptor + tests - Allow overrideAuthRepository injection for testing\n- Normalize imports to package: paths\n- Add unit test covering token attach, 401→refresh→retry, and failure path\n- Add integration test skeleton gated by env vars ui/data: map User.companyName to list column - Add companyName to domain User\n- Map UserDto.company?.name\n- Render companyName in user_list cleanup: remove legacy equipment table + unused code; minor warnings - Remove _buildFlexibleTable and unused helpers\n- Remove unused zipcode details and cache retry constant\n- Fix null-aware and non-null assertions\n- Address child-last warnings in administrator dialog docs: update AGENTS.md session context
This commit is contained in:
@@ -26,12 +26,17 @@ import 'package:superport/screens/equipment/controllers/equipment_history_contro
|
||||
import 'package:superport/screens/maintenance/controllers/maintenance_controller.dart';
|
||||
import 'package:superport/screens/maintenance/controllers/maintenance_dashboard_controller.dart';
|
||||
import 'package:superport/screens/rent/controllers/rent_controller.dart';
|
||||
import 'package:superport/core/config/environment.dart';
|
||||
import 'package:superport/core/navigation/app_navigator.dart';
|
||||
|
||||
void main() async {
|
||||
// Flutter 바인딩 초기화
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
|
||||
try {
|
||||
// 환경 변수 로드 (.env)
|
||||
await Environment.initialize();
|
||||
|
||||
// 의존성 주입 설정
|
||||
await di.init();
|
||||
} catch (e) {
|
||||
@@ -333,7 +338,8 @@ class SuperportApp extends StatelessWidget {
|
||||
);
|
||||
}
|
||||
},
|
||||
navigatorKey: GlobalKey<NavigatorState>(),
|
||||
// 전역 네비게이터 키 사용: 인터셉터 등에서 401 발생 시 로그인으로 전환
|
||||
navigatorKey: appNavigatorKey,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user