Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Feat/16 product management view the list of products #58

Conversation

MeloLawson
Copy link
Collaborator

Add the feature for the view of the list of the products in the mobile app

  • user interface created
  • communication with the api via HttpRequest functional : the address will need to be changed once the backend is ready

After updating, run "flutter pub get" in the terminal to download the dependencies.

add the layout of home page and products list page

linked #16
implementation of the bloc architecture for the state management of the product view

linked #16
add the terminal part in the readme and correction in the code for the build

linked #16
corrections in the test files and apis.dart

linked #16
change name widget_test.dart.old and typo correction in products_bloc_test.dart

linked #16
update the DataState class in usecase with the new changes, correct typo in product_bloc_test.dart

linked #16
Copy link
Owner

@MelvinCou MelvinCou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have noticed the command dart format . to format code.
Please run this command and maybe add to CI (with argument --set-exit-if-changed).

@@ -1,11 +1,35 @@
import 'package:equatable/equatable.dart';

class Product extends Equatable {
final int id;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Products have a UUID identifier, please use uuid instead.
This change has several side effects on the code, be careful!

Copy link
Collaborator

@MansourWolou MansourWolou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All 'TODO' comment will be apply in futur issue.

@MansourWolou MansourWolou merged commit 4c63375 into main Dec 24, 2023
1 check passed
@MansourWolou MansourWolou deleted the feat/16-product-management-view-the-list-of-products_FIXED_BIS branch December 24, 2023 07:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants