Faris Armoush
|
dfd8c5fa31
|
Replace Container with AnimatedContainer in CommunityStructureCanvas to enhance visual feedback during state changes. Adjust alpha value for improved visibility based on candidate data presence.
|
2025-07-22 09:46:56 +03:00 |
|
Faris Armoush
|
60b8ee8b50
|
Enhance DragTarget logic in CommunityStructureCanvas by refining conditions for rendering and improving readability. Ensure proper handling of dragged data and its parent/community relationships.
|
2025-07-22 09:37:31 +03:00 |
|
Faris Armoush
|
9d60f913eb
|
Refactor CommunityStructureCanvas to simplify DragTarget logic by replacing SizedBox with SizedBox.shrink() for better performance and readability.
|
2025-07-22 09:32:57 +03:00 |
|
Faris Armoush
|
40251b846b
|
Integrate ReorderSpaces functionality into CommunityStructureCanvas and enhance RemoteReorderSpacesService with dynamic URL generation. Update ReorderSpacesParam to require parentSpaceUuid and spaces for improved validation and serialization.
|
2025-07-21 16:43:26 +03:00 |
|
Faris Armoush
|
1323bceca1
|
Update ReorderSpacesParam to make parentSpaceUuid optional and add toJson method for serialization.
|
2025-07-21 16:39:31 +03:00 |
|
Faris Armoush
|
35c8a73156
|
Refactor SpaceManagementPage's initState to ensure HTTPService is initialized before use in CommunitiesBloc.
|
2025-07-21 16:24:11 +03:00 |
|
Faris Armoush
|
96f107f972
|
Refactor SpaceManagementPage to utilize a shared HTTPService instance for API calls in Communities, SpaceDetails, Products, and ReorderSpaces blocs, and injected ReorderSpacesBloc into it.
|
2025-07-21 16:15:26 +03:00 |
|
Faris Armoush
|
a3a7937021
|
Implemented ReorderSpacesBloc.
|
2025-07-21 16:14:03 +03:00 |
|
Faris Armoush
|
9bf715501b
|
Implement ReorderSpacesService.
|
2025-07-21 15:57:31 +03:00 |
|
Faris Armoush
|
c65f4a7fab
|
Add ReorderSpacesParam and ReorderSpacesService for managing space reordering functionality.
|
2025-07-21 15:57:20 +03:00 |
|
Faris Armoush
|
06f00da02c
|
Update shadow properties in CommunityStructureHeader for improved visual aesthetics. Adjusted blur radius and offset to enhance the header's appearance in the space management interface.
|
2025-07-17 13:00:38 +03:00 |
|
Faris Armoush
|
7b5b40a03c
|
Refactor recursivelyInsert method in SpacesRecursiveHelper to use named parameters. Update CommunityStructureCanvas to reflect these changes, ensuring correct space insertion under the specified parent.
|
2025-07-16 16:30:38 +03:00 |
|
Faris Armoush
|
8522c0bbc3
|
Made SpacesRecursiveHelper private, to avoid creating unnecessary instances, since all its methods are static.
|
2025-07-16 16:26:15 +03:00 |
|
Faris Armoush
|
fc70669f1d
|
sends correct parentUuid key in create space.
|
2025-07-16 15:27:31 +03:00 |
|
Faris Armoush
|
f03c28f7fd
|
Add recursive insertion method in SpacesRecursiveHelper for managing space hierarchy. Update CommunityStructureCanvas to utilize this method for inserting new spaces under the correct parent, enhancing community state management during space creation.
|
2025-07-16 11:47:27 +03:00 |
|
Faris Armoush
|
6ec972a520
|
Integrate CommunitiesTreeSelectionBloc into CreateSpaceButton to handle space selection upon successful space creation. Update community state in CommunitiesBloc to reflect new space addition, enhancing user experience and maintainability.
|
2025-07-16 11:18:24 +03:00 |
|
Faris Armoush
|
62f67f5a5f
|
Refactor CreateSpaceButton and CommunityStructureCanvas to utilize CommunityModel directly, enhancing data handling during space creation. Implement success callback for space creation to update community state in CommunitiesBloc, improving user experience and maintainability.
|
2025-07-16 11:16:41 +03:00 |
|
Faris Armoush
|
8e303af0d7
|
Update RemoteCreateSpaceService to correct API endpoint for space creation, changing the return path to include '/spaces' for accurate resource targeting.
|
2025-07-16 11:01:26 +03:00 |
|
Faris Armoush
|
4ef4858cee
|
Added x, and y to the toJson method of CreateSpaceParam, since the API still needs them as required properties. Revert the once the BE removes those properties.
|
2025-07-16 10:29:43 +03:00 |
|
Faris Armoush
|
9a203b2fd9
|
Add CreateSpaceBloc, CreateSpaceEvent, and CreateSpaceState for managing space creation logic. Implement event handling and state management to enhance user experience during space creation.
|
2025-07-16 10:01:51 +03:00 |
|
Faris Armoush
|
39c5fd1bca
|
Refactor SpaceDetailsModel to integrate Subspace and ProductAllocation models, enhancing data structure and serialization. Update related widgets to utilize Subspace instead of SpaceDetailsModel for improved clarity and maintainability.
|
2025-07-16 09:57:29 +03:00 |
|
Faris Armoush
|
308eb65d46
|
Update error handling in RemoteUpdateSpaceService to retrieve error messages from the 'message' field instead of 'error', enhancing clarity in error reporting.
|
2025-07-16 09:56:55 +03:00 |
|
Faris Armoush
|
d65f9ceea9
|
Enhance AddDeviceTypeWidget to support initial product counts and update selection logic. Modify AssignTagsDialog to pass initial products from space allocations, improving user experience and maintainability.
|
2025-07-15 14:53:04 +03:00 |
|
Faris Armoush
|
f539b0ac8d
|
Rename UniqueSubspacesDecorator to UniqueSpaceDetailsSpacesDecoratorService
|
2025-07-15 14:38:44 +03:00 |
|
Faris Armoush
|
5a3cf93748
|
Improved UniqueSubspacesDecorator implementation to improve handling of duplicate subspace names.
|
2025-07-15 14:37:16 +03:00 |
|
Faris Armoush
|
e740652507
|
Refactor PlusButtonWidget and SpaceCardWidget to improve widget structure and interaction handling. Replace GestureDetector with IconButton for better usability and update positioning logic for the PlusButtonWidget, enhancing maintainability and readability.
|
2025-07-15 13:11:22 +03:00 |
|
Faris Armoush
|
c60078c96a
|
Refactor CommunityStructureCanvas to improve widget structure by rearranging the InteractiveViewer and GestureDetector hierarchy. This change enhances readability and maintainability while ensuring proper interaction handling.
|
2025-07-15 13:04:37 +03:00 |
|
Faris Armoush
|
903c5dd29b
|
Refactor SpacesRecursiveHelper to improve variable naming and enhance readability. Update mapping logic to clarify the distinction between updated and non-null spaces, ensuring better maintainability of the recursive space handling.
|
2025-07-15 12:55:49 +03:00 |
|
Faris Armoush
|
df39fca050
|
Refactor CommunityStructureHeaderActionButtons to simplify null handling for selectedSpace and improve widget structure. Ensure buttons are always displayed when selectedSpace is not null, enhancing readability and maintainability.
|
2025-07-15 12:49:37 +03:00 |
|
Faris Armoush
|
f832c5d884
|
Refactor SpaceManagementCommunityStructure to improve widget structure and visibility handling. Introduce separate methods for building the canvas and empty state, enhancing readability and maintainability.
|
2025-07-15 12:30:24 +03:00 |
|
Faris Armoush
|
fa930571dc
|
Ensure proper handling of null selectedSpace in CommunityStructureCanvas during widget updates to prevent unnecessary processing.
|
2025-07-15 12:27:45 +03:00 |
|
Faris Armoush
|
acefe7b355
|
Refactor RemoteDeleteSpaceService to use a private HTTPService instance and update URL construction with ApiEndpoints for improved maintainability. Update DeleteSpaceDialog to reflect changes in service initialization.
|
2025-07-15 11:09:04 +03:00 |
|
Faris Armoush
|
b223194950
|
Add loading and status widgets for delete space dialog; refactor dialog to utilize new components for improved user feedback during space deletion process.
|
2025-07-15 10:07:12 +03:00 |
|
Faris Armoush
|
466f5b89c7
|
Enhanced SpacesConnectionsArrowPainter and CommunityStructureCanvas to support dynamic card widths; enhance SpaceCell widget layout and shadow properties for improved UI consistency.
|
2025-07-14 16:56:51 +03:00 |
|
Faris Armoush
|
de5d8df01c
|
Update SpaceCell widget shadow properties for improved visual appearance
|
2025-07-14 16:19:57 +03:00 |
|
Faris Armoush
|
5218641705
|
Refactor didUpdateWidget in CommunityStructureCanvas to ensure proper widget lifecycle management
|
2025-07-14 16:05:44 +03:00 |
|
Faris Armoush
|
ab6a6851f2
|
Update control points in SpacesConnectionsArrowPainter for smoother arrow rendering
|
2025-07-14 15:23:01 +03:00 |
|
Faris Armoush
|
beb33e37fa
|
Add SpacesRecursiveHelper for recursive space updates and deletions; refactor CommunityStructureHeader to use CommunityStructureHeaderActionButtonsComposer for improved action handling.
|
2025-07-14 14:59:58 +03:00 |
|
Faris Armoush
|
3bee17c574
|
Merge branch 'dev' of https://github.com/SyncrowIOT/web into SP-1721-FE-Implement-Delete-Space-Feature
|
2025-07-14 14:44:55 +03:00 |
|
Faris Armoush
|
f4b5c6fb52
|
Implement delete space functionality in CommunityStructureHeader: Integrate DeleteSpaceDialog for space deletion confirmation and update routing for space management page.
|
2025-07-14 14:44:08 +03:00 |
|
Faris Armoush
|
086f3cedf8
|
Refactor RemoteDeleteSpaceService: Simplify success response handling and improve error message formatting
|
2025-07-14 14:30:17 +03:00 |
|
Faris Armoush
|
035c03c6b2
|
Fix error handling in DeleteSpaceBloc: update failure message to include exception details
|
2025-07-14 14:17:01 +03:00 |
|
Faris Armoush
|
c112cde634
|
Uses Inkwell instead of Gesture Detector for canvas widgets.
|
2025-07-14 11:04:29 +03:00 |
|
Faris Armoush
|
5663e2084e
|
Created DeleteSpaceBloc.
|
2025-07-14 10:57:34 +03:00 |
|
Faris Armoush
|
3cd0125310
|
Refactor space deletion: Introduce DeleteSpaceParam and DeleteSpaceService for enhanced space management functionality
|
2025-07-14 10:54:13 +03:00 |
|
Faris Armoush
|
e0980b324c
|
Add DeleteSpaceParam and DeleteSpaceService for space deletion functionality
|
2025-07-14 10:54:07 +03:00 |
|
Faris Armoush
|
7331c8440b
|
Refactor SpaceManagementPage to use StatefulWidget and initialize CommunitiesBloc in initState. Update CommunityStructureHeader to handle community updates and improve state management in CommunitiesTreeSelectionBloc with new event for community state updates.
|
2025-07-14 10:27:22 +03:00 |
|
Faris Armoush
|
83202204b0
|
Remove BlocProvider for UpdateSpaceBloc in SpaceDetailsDialogHelper to streamline dependency management and improve code clarity.
|
2025-07-09 15:58:17 +03:00 |
|
Faris Armoush
|
d87739f1fd
|
Refactor JSON Serialization in UpdateSpaceParam: Adjusted the _toJson method for Subspace to ensure 'subspaceName' is always included and 'uuid' is only added when applicable, enhancing clarity and consistency in data representation.
|
2025-07-09 15:25:41 +03:00 |
|
Faris Armoush
|
5cd083a37b
|
Refactor Space and Tag Models: Removed unused JSON serialization methods from SpaceDetailsModel, ProductAllocation, and Subspace. Updated Tag model to eliminate unnecessary fields. Enhanced UpdateSpaceParam to streamline JSON conversion for subspaces and product allocations, improving data handling during updates.
|
2025-07-09 15:08:49 +03:00 |
|