762dade195
Merge branch 'dev' of https://github.com/SyncrowIOT/web into Implement-Spaces-Table-Empty-Filled-Failure-states-bookable-spaces
2025-07-15 15:35:31 +03:00
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
f539b0ac8d
Rename UniqueSubspacesDecorator
to UniqueSpaceDetailsSpacesDecoratorService
2025-07-15 14:38:44 +03:00
5a3cf93748
Improved UniqueSubspacesDecorator implementation to improve handling of duplicate subspace names.
2025-07-15 14:37:16 +03:00
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
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
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
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
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
fa930571dc
Ensure proper handling of null selectedSpace in CommunityStructureCanvas during widget updates to prevent unnecessary processing.
2025-07-15 12:27:45 +03:00
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
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
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
de5d8df01c
Update SpaceCell widget shadow properties for improved visual appearance
2025-07-14 16:19:57 +03:00
5218641705
Refactor didUpdateWidget in CommunityStructureCanvas to ensure proper widget lifecycle management
2025-07-14 16:05:44 +03:00
ab6a6851f2
Update control points in SpacesConnectionsArrowPainter for smoother arrow rendering
2025-07-14 15:23:01 +03:00
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
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
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
086f3cedf8
Refactor RemoteDeleteSpaceService: Simplify success response handling and improve error message formatting
2025-07-14 14:30:17 +03:00
035c03c6b2
Fix error handling in DeleteSpaceBloc: update failure message to include exception details
2025-07-14 14:17:01 +03:00
c112cde634
Uses Inkwell instead of Gesture Detector for canvas widgets.
2025-07-14 11:04:29 +03:00
5663e2084e
Created DeleteSpaceBloc
.
2025-07-14 10:57:34 +03:00
3cd0125310
Refactor space deletion: Introduce DeleteSpaceParam and DeleteSpaceService for enhanced space management functionality
2025-07-14 10:54:13 +03:00
e0980b324c
Add DeleteSpaceParam and DeleteSpaceService for space deletion functionality
2025-07-14 10:54:07 +03:00
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
b5d72b2a2a
refactor code
2025-07-10 15:49:30 +03:00
83202204b0
Remove BlocProvider for UpdateSpaceBloc in SpaceDetailsDialogHelper to streamline dependency management and improve code clarity.
2025-07-09 15:58:17 +03:00
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
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
2b8d987c69
Add SpaceReorderDataModel and integrate drag-and-drop functionality in CommunityStructureCanvas for improved space management.
2025-07-08 16:00:57 +03:00
707cb4791f
Added CreateSpaceButton for improved user interaction and updated layout calculations to utilize context extensions for better responsiveness.
2025-07-08 13:08:43 +03:00
03c45ed8d0
Refactor SpaceCardWidget: Simplified widget structure by removing unnecessary SizedBox.
2025-07-08 13:07:55 +03:00
9e0ea4ad6f
Adjust spacer flex in SpaceManagementCommunityStructure widget for improved layout consistency.
2025-07-08 13:07:39 +03:00
9e6b14737f
Refactor CreateSpaceButton: Changed from StatelessWidget to StatefulWidget to manage hover state and added tooltip for improved user experience. Enhanced button styling and interaction feedback for better visual cues during space creation.
2025-07-08 13:07:26 +03:00
7c2aed2d58
Refactor RemoteUpdateSpaceService: Improved error handling in updateSpace method by checking API response success before returning the updated space. This enhances robustness and ensures proper error propagation for failed updates.
2025-07-08 12:20:10 +03:00
bcf62027bc
Validate UUIDs in RemoteUpdateSpaceService: Added checks for empty space and community UUIDs before constructing the update URL, improving error handling and robustness in the update space process.
2025-07-08 11:12:12 +03:00
b001713ce4
Enhance Community Structure Widgets: Updated SpaceDetailsDialogHelper to accept community UUID for space creation and editing. Refactored CreateSpaceButton and CommunityStructureHeader to pass community UUID, improving data handling and consistency across the community structure features.
2025-07-08 11:10:22 +03:00
bab3226c73
Merge branch 'dev' of https://github.com/SyncrowIOT/web into SP-1717-FE-Draw-Create-Edit-Space-Dialog
2025-07-08 10:02:12 +03:00
fa1eaa570c
Refactor Space Update Logic: Introduced UpdateSpaceParam for better parameter handling in update operations. Enhanced SpaceDetailsDialogHelper to manage loading and error states during space updates. Updated RemoteUpdateSpaceService to construct dynamic URLs for space updates based on community UUID. Improved CommunitiesTreeFailureWidget UI with SelectableText and added spacing for better layout.
2025-07-08 10:01:43 +03:00
4c06479469
Replaced Column with ListView in SpaceDetailsForm to enhance scrolling behavior and accommodate dynamic content.
2025-07-07 14:54:25 +03:00
3101960201
Enhance Space Management Features with Tag Assignment Improvements:
...
- Introduced UUID for ProductAllocation to ensure unique identification.
- Refactored AssignTagsDialog to manage tag assignments and validation more effectively, including error handling for empty tags and duplicate tag usage.
- Updated AssignTagsTable to support dynamic product allocation management and improved UI interactions.
- Enhanced AddDeviceTypeWidget to maintain selected products and handle increment/decrement actions, improving user experience during device type selection.
- Added AssignTagsErrorMessages widget for better error visibility in tag assignment process.
2025-07-07 14:26:59 +03:00
ddfd4ee153
removed print statement.
2025-07-07 14:26:39 +03:00
7f0484eec6
Add UpdateSpaceDetails Event.
2025-07-07 14:26:18 +03:00
dc7064d142
Add Factory Method for Empty Tag Instance in Tag Model.
2025-07-07 14:25:37 +03:00
e523a83912
Refactor Tags Service and Bloc for Improved Data Handling:
...
- Updated RemoteTagsService to remove LoadTagsParam and fetch project UUID internally, enhancing encapsulation and reducing parameter dependency.
- Modified TagsService interface to reflect the new loading method signature.
- Adjusted TagsBloc to align with the updated service method, simplifying the loading process.
- Enhanced AssignTagsTable and AddDeviceTypeWidget to utilize the new data flow, improving maintainability and user experience.
2025-07-07 10:50:03 +03:00
e917225c3d
Refactor Widgets for Improved UI Consistency and Usability:
...
- Replaced Text with SelectableText in AddDeviceTypeWidget and AssignTagsTable for better text selection and accessibility.
- Simplified onCancel action in AssignTagsDialog for improved readability.
- Enhanced ProductsGrid layout by removing unnecessary Column widget, streamlining the widget structure for better performance and maintainability.
2025-07-07 10:36:42 +03:00
66ed30b50c
Merge branch 'dev' of https://github.com/SyncrowIOT/web into SP-1720-FE-Draw-AssignTagsToSpace-Dialog
2025-07-07 10:21:14 +03:00
47bd6ff89e
Refactor AddDeviceTypeWidget for Improved Error Handling and Loading States:
...
- Extracted loading and error handling logic into separate methods for better readability and maintainability.
- Updated UI to utilize centralized loading and failure widgets, enhancing user experience during data fetching.
2025-07-07 10:20:51 +03:00
df87e41d61
Refactor AddDeviceTypeWidget and ProductTypeCard Components:
...
- Replaced ProductTypeCard with ProductsGrid in AddDeviceTypeWidget for improved layout and maintainability.
- Converted ProductTypeCardCounter from StatefulWidget to StatelessWidget, simplifying its implementation.
- Updated ProductTypeCard to accept count and increment/decrement callbacks, enhancing its reusability and interaction.
- Introduced ProductsGrid to manage product display in a grid format, improving UI organization and responsiveness.
2025-07-07 10:15:33 +03:00