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
mohammadnemer1
559091faa0
Add calendar event management features and UI components and Implemen… ( #349 )
...
…t Calendar logic
<!--
Thanks for contributing!
Provide a description of your changes below and a general summary in the
title
Please look at the following checklist to ensure that your PR can be
accepted quickly:
-->
## Description
<!--- Describe your changes in detail -->
Implement Calendar logic
## Type of Change
<!--- Put an `x` in all the boxes that apply: -->
- [x] ✨ New feature (non-breaking change which adds functionality)
- [ ] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ] ❌ Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [ ] ✅ Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore
2025-07-14 14:18:43 +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
cf1b34ee0a
Add x_delete icon asset.
2025-07-14 12:17:07 +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
mohammad
65d541d594
Add calendar event management features and UI components and Implement Calendar logic
2025-07-14 10:46:12 +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
a409e34643
Merge branch 'SP-1717-FE-Draw-Create-Edit-Space-Dialog' of https://github.com/SyncrowIOT/web into SP-1717-FE-Draw-Create-Edit-Space-Dialog
2025-07-14 10:16:31 +03:00
Faris Armoush
7cc59e43df
Setup new firebase project in the web platform. ( #343 )
...
<!--
Thanks for contributing!
Provide a description of your changes below and a general summary in the
title
Please look at the following checklist to ensure that your PR can be
accepted quickly:
-->
## Description
Setup new firebase project in the web platform.
## Type of Change
<!--- Put an `x` in all the boxes that apply: -->
- [ ] ✨ New feature (non-breaking change which adds functionality)
- [ ] 🛠️ Bug fix (non-breaking change which fixes an issue)
- [ ] ❌ Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] 🧹 Code refactor
- [x] ✅ Build configuration change
- [ ] 📝 Documentation
- [ ] 🗑️ Chore
2025-07-13 13:28:32 +03:00
mohammad
645a07287e
Refactor date selection: add SelectDateFromSidebarCalendar event and update state management for improved clarity
2025-07-10 14:15:57 +03:00
Faris Armoush
df29aab111
Setup new firebase project in the web platform.
2025-07-10 12:18:45 +03:00
mohammad
885ef61114
Refactor booking system: replace DebouncedBookingSystemService with DebouncedBookableSpacesService and streamline search handling
2025-07-10 12:10:28 +03:00
mohammad
bfd6b5c3a0
Refactor booking system: replace BookingSystemService with BookableSystemService and update parameter handling for improved clarity
2025-07-10 11:25:35 +03:00
mohammad
2b638940ae
Refactor booking system: enhance parameter handling for improved clarity and maintainability
2025-07-10 11:14:30 +03:00
mohammad
3e95bf4473
Refactor booking system: replace individual parameters with LoadBookableSpacesParam for improved clarity and maintainability
2025-07-10 10:56:10 +03:00
mohammad
2d16bda61d
Refactor SidebarBloc: streamline room data handling by using paginatedSpaces.data directly
2025-07-09 16:41:31 +03:00
mohammad
5c90d5f6b9
Refactor SidebarBloc: simplify room data handling by directly using paginatedSpaces.data
2025-07-09 16:40:57 +03:00
mohammad
d6a48850a7
Remove debug print statement from BookableSpacesService response handling
2025-07-09 16:25:21 +03:00
mohammad
6cac94a1c4
Clean up booking system code: remove commented-out code and unnecessary variables for improved readability
2025-07-09 16:23:39 +03:00
mohammad
9f28e1ccef
Refactor booking system: remove unused classes, update dependencies, and implement date selection logic
2025-07-09 16:18:10 +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
mohammad
6534bfae5b
Implement-Calendar-ui
2025-07-09 09:31:55 +03:00
Faris Armoush
2b8d987c69
Add SpaceReorderDataModel and integrate drag-and-drop functionality in CommunityStructureCanvas for improved space management.
2025-07-08 16:00:57 +03:00
Faris Armoush
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
Faris Armoush
03c45ed8d0
Refactor SpaceCardWidget: Simplified widget structure by removing unnecessary SizedBox.
2025-07-08 13:07:55 +03:00
Faris Armoush
9e0ea4ad6f
Adjust spacer flex in SpaceManagementCommunityStructure widget for improved layout consistency.
2025-07-08 13:07:39 +03:00
Faris Armoush
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
Faris Armoush
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