Commit Graph

7 Commits

Author SHA1 Message Date
hunteraraujo
e69e683f70 Integrate ApiSettingsViewModel into main.dart
Updated main.dart to provide ApiSettingsViewModel at the top-level using MultiProvider. This ensures that the ViewModel is accessible throughout the app, allowing for dynamic updates to the API's base URL.
2023-09-02 17:42:58 -07:00
hunteraraujo
d7b2a952da Update baseURL to point at forge 2023-09-02 14:47:55 -07:00
hunteraraujo
ecb9580a13 Integrate Services into main.dart and Update Providers
This commit refactors the main.dart file to include service initialization and dependency injection:

- RestApiUtility Initialization: Initialize the RestApiUtility with a mock API endpoint.
- Service Initialization: Initialize ChatService and TaskService with the created RestApiUtility.
- Dependency Injection: Pass the initialized services to MyApp constructor.
- Provider Update: Replace the ChangeNotifierProvider creation in MultiProvider to use the new ChatViewModel and TaskViewModel initialized with the respective services.

This setup allows for better separation of concerns and easier testing, as the services are now decoupled from the view models.
2023-08-31 15:55:44 -07:00
hunteraraujo
9f8c93ebb0 Update main_layout.dart + main.dart to integrate ChatView 2023-08-24 21:43:02 -07:00
hunteraraujo
6e2d325994 Refactor UI with New Widgets and Provider Integration
In this commit, the app underwent significant UI improvements by leveraging new, more modular widgets (NewTaskButton and TaskListTile). This ensures better code maintainability and a cleaner architecture.

Key changes include:

Integrated ChangeNotifierProvider in main.dart to facilitate the creation and broadcasting of TaskViewModel.
Refactored TaskView to utilize the newly created NewTaskButton and TaskListTile widgets.
Updated MainLayout to reflect the changes and provide a more cohesive user experience.
2023-08-23 08:31:54 -07:00
hunteraraujo
9bedb9fa08 Implement basic 2 panels w/ responsiveness 2023-08-20 16:33:53 +02:00
hunteraraujo
dc35dc3024 initial commit 2023-08-15 00:28:10 +02:00