This repository was archived by the owner on Jul 17, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 8
Develop #9
Open
lammersluc
wants to merge
85
commits into
main
Choose a base branch
from
develop
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Develop #9
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Merge main into develop
…g, inserting, and caching items
…; adjust item card size no copyright
…olor and text style
…velop # Conflicts: # lib/ui/screens/home/page.dart # lib/ui/screens/profile/page.dart # lib/ui/screens/wardrobe/page.dart # lib/ui/widgets/tab_scaffold.dart
…layout; adjust max width in Wardrobe screen and update tab navigation logic
…ity result; update constructors to use shorthand syntax and remove unnecessary comments
…mplement indexed stack for navigation and enhance Profile screen with a tab bar for public items and outfits
…or ScaffoldWithNavBar to use dynamic destinations and simplify layout
…navigation bar to reflect settings instead of profile
…improve user profile loading and disposal of controllers
Add UI components for various models to be used in the app with just their model passed. * **Brand Component** - Add `lib/ui/widgets/brand/brand_component.dart` to display brand name. * **Community Post Components** - Add `lib/ui/widgets/community_post/community_post_component.dart` to display post content and user profile. - Add `lib/ui/widgets/community_post_comment/community_post_comment_component.dart` to display comment and user profile. - Add `lib/ui/widgets/community_post_like/community_post_like_component.dart` to display user profile who liked the post. * **Item Components** - Add `lib/ui/widgets/item_category/item_category_component.dart` to display item category name. - Add `lib/ui/widgets/item_metadata/item_metadata_component.dart` to display item metadata details. - Add `lib/ui/widgets/lookbook_item/lookbook_item_component.dart` to display lookbook item details. - Add `lib/ui/widgets/outfit_item/outfit_item_component.dart` to display outfit item details. - Add `lib/ui/widgets/use_item/use_item_component.dart` to display use item details. - Add `lib/ui/widgets/use_outfit/use_outfit_component.dart` to display use outfit details.
Create components for models
Refactor the screen folder to use controllers and update views accordingly. * **Auth Screen**: Replace direct authentication logic with `AuthController` methods. Update UI to reflect controller-based state management. * **Camera Screen**: Replace direct image picking and uploading logic with `CameraController` methods. Update UI to reflect controller-based state management. * **Home Screen**: Replace direct data fetching logic with `HomeController` methods. Update UI to reflect controller-based state management. * **Lookbook Screen**: Replace direct data fetching logic with `LookbookController` methods. Update UI to reflect controller-based state management. * **Settings Screen**: Replace direct settings logic with `SettingsController` methods. Update UI to reflect controller-based state management. * **Wardrobe Screen**: Replace direct data fetching logic with `WardrobeController` methods. Update UI to reflect controller-based state management. * **Controllers**: - Add `AuthController` to handle user authentication. - Add `CameraController` to handle camera interactions. - Add `HomeController` to handle home screen interactions. - Add `LookbookController` to handle lookbook interactions. - Add `SettingsController` to handle settings interactions. - Add `WardrobeController` to handle wardrobe interactions.
Rewrite screens to use controllers and create views
Add settings account page view and controller to upsert user profile, load initial data, and include avatar uploader. * **Controller**: Add `SettingsAccountController` in `lib/controllers/settings_account_controller.dart` to handle upserting user profile, loading initial data, and image uploading. * **Dependency Injection**: Update `lib/di/service_locator.dart` to register `SettingsAccountController`. * **Routing**: Update `lib/router/app_router.dart` to include a route for the settings account page. * **View**: Add `lib/ui/screens/wardrobe/settings/account_page.dart` to create the settings account page view with avatar uploader and profile data. * **Navigation**: Update `lib/ui/screens/wardrobe/settings/page.dart` to navigate to the new settings account page when "Account" option is selected. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/OpenWardrobe/app/tree/develop?shareId=XXXX-XXXX-XXXX-XXXX).
…ccount-page Create settings account page view and controller
Fix memory leaks in various parts of the application. * **Camera Cubit**: Dispose `CameraController` in the `close` method in `lib/presentation/blocs/camera/camera_cubit.dart`. * **Camera Controller**: Clear previous selections in the `pickImages` method in `lib/controllers/camera_controller.dart`. * **Settings Account Controller**: Clear previous selections in the `pickImage` method in `lib/controllers/settings_account_controller.dart`. * **Wardrobe Page**: Dispose of resources or controllers in the `dispose` method in `lib/ui/screens/wardrobe/page.dart`. * **Camera Page**: Dispose of resources or controllers in the `dispose` method in `lib/ui/screens/camera/page.dart`. * **Lookbook Page**: Convert `LookbookScreen` to a `StatefulWidget` and dispose of resources or controllers in the `dispose` method in `lib/ui/screens/lookbook/page.dart`. * **Settings Page**: Convert `SettingsScreen` to a `StatefulWidget` and dispose of resources or controllers in the `dispose` method in `lib/ui/screens/settings/page.dart`. * **Wardrobe Item Page**: Convert `WardrobeItemPage` to a `StatefulWidget` and dispose of resources or controllers in the `dispose` method in `lib/ui/screens/wardrobe_item/page.dart`. * **Account Page**: Dispose of resources or controllers in the `dispose` method in `lib/ui/screens/wardrobe/settings/account_page.dart`. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/OpenWardrobe/app/tree/develop?shareId=XXXX-XXXX-XXXX-XXXX).
Fix memory leaks in various components
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.