Commit Graph

  • 2d16bda61d Refactor SidebarBloc: streamline room data handling by using paginatedSpaces.data directly Implement-Calendar-ui mohammad 2025-07-09 16:41:31 +03:00
  • 5c90d5f6b9 Refactor SidebarBloc: simplify room data handling by directly using paginatedSpaces.data mohammad 2025-07-09 16:40:57 +03:00
  • d6a48850a7 Remove debug print statement from BookableSpacesService response handling mohammad 2025-07-09 16:25:21 +03:00
  • 6cac94a1c4 Clean up booking system code: remove commented-out code and unnecessary variables for improved readability mohammad 2025-07-09 16:23:39 +03:00
  • 9f28e1ccef Refactor booking system: remove unused classes, update dependencies, and implement date selection logic mohammad 2025-07-09 16:18:10 +03:00
  • b128618bfd clean the code for save and next buttons and enhance UI Implement-Spaces-Table-Empty-Filled-Failure-states-bookable-spaces Rafeek-Khoudare 2025-07-09 15:11:27 +03:00
  • 932e99c0a9 Add build script and update package dependencies for CDK deployment cdk-aq1 faris Aljohari 2025-07-09 05:27:46 -06:00
  • 6534bfae5b Implement-Calendar-ui mohammad 2025-07-09 09:31:55 +03:00
  • 2b8d987c69 Add SpaceReorderDataModel and integrate drag-and-drop functionality in CommunityStructureCanvas for improved space management. SP-1717-FE-Draw-Create-Edit-Space-Dialog Faris Armoush 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. Faris Armoush 2025-07-08 13:08:43 +03:00
  • 03c45ed8d0 Refactor SpaceCardWidget: Simplified widget structure by removing unnecessary SizedBox. Faris Armoush 2025-07-08 13:07:55 +03:00
  • 9e0ea4ad6f Adjust spacer flex in SpaceManagementCommunityStructure widget for improved layout consistency. Faris Armoush 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. Faris Armoush 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. Faris Armoush 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. Faris Armoush 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. Faris Armoush 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 Faris Armoush 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. Faris Armoush 2025-07-08 10:01:43 +03:00
  • 4cfb984d2c Sp 1720 fe draw assign tags to space dialog (#341) dev Faris Armoush 2025-07-08 10:01:10 +03:00
  • 42c410d982 use TimeOfDay instead of String Rafeek-Khoudare 2025-07-07 17:07:38 +03:00
  • 368b1be3c0 fix conditions for start and end time for reservation Rafeek-Khoudare 2025-07-07 17:07:23 +03:00
  • c13119a4e8 migrate datatable2 package Rafeek-Khoudare 2025-07-07 15:41:02 +03:00
  • 35e9b606b2 use param to send Update Api for unbookable to be bookable Rafeek-Khoudare 2025-07-07 15:40:49 +03:00
  • 387586f6f7 unused commnet Rafeek-Khoudare 2025-07-07 15:40:20 +03:00
  • 7cf4d0b5a9 add to route and related endpoints and color and assets Rafeek-Khoudare 2025-07-07 15:40:04 +03:00
  • e4a27b5651 build services for them Rafeek-Khoudare 2025-07-07 15:39:19 +03:00
  • f89660a9ff build modeling and params Rafeek-Khoudare 2025-07-07 15:38:52 +03:00
  • 1a3dc60bd2 build blocs for bookable and nonBookable spaces Rafeek-Khoudare 2025-07-07 15:38:18 +03:00
  • 201348a9bf build dialog with steps view Rafeek-Khoudare 2025-07-07 15:37:38 +03:00
  • e2d4e48875 build main screens with its widgets for bookableScreen Rafeek-Khoudare 2025-07-07 15:36:35 +03:00
  • 4c06479469 Replaced Column with ListView in SpaceDetailsForm to enhance scrolling behavior and accommodate dynamic content. SP-1720-FE-Draw-AssignTagsToSpace-Dialog Faris Armoush 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. Faris Armoush 2025-07-07 14:26:59 +03:00
  • ddfd4ee153 removed print statement. Faris Armoush 2025-07-07 14:26:39 +03:00
  • 7f0484eec6 Add UpdateSpaceDetails Event. Faris Armoush 2025-07-07 14:26:18 +03:00
  • dc7064d142 Add Factory Method for Empty Tag Instance in Tag Model. Faris Armoush 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. Faris Armoush 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. Faris Armoush 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 Faris Armoush 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. Faris Armoush 2025-07-07 10:20:51 +03:00
  • 138390496c Sp 1716 fe implement edit community service and b lo c and ensure data consistency (#340) Faris Armoush 2025-07-07 10:20:45 +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. Faris Armoush 2025-07-07 10:15:33 +03:00
  • 99b13ee062 Adds CDK deployment instructions and updates region Ammar Qaffaf 2025-07-07 09:38:09 +03:00
  • f0bfe085a4 Enhance Product Model with Icon Mapping: - Added icon mapping functionality to the Product model, allowing dynamic icon retrieval based on product type. - Updated ProductTypeCard to utilize the new icon property, improving UI representation and maintainability. Faris Armoush 2025-07-07 09:34:11 +03:00
  • bb846f797f Implement Tag Assignment and Device Addition Features: - Introduced AssignTagsDialog for assigning tags to devices, enhancing user interaction and organization. - Added AddDeviceTypeWidget for adding new device types, improving the flexibility of device management. - Created ProductTypeCard and ProductTypeCardCounter for better representation and interaction with device types. - Enhanced AssignTagsTable for displaying and managing product allocations, improving maintainability and user experience. Faris Armoush 2025-07-06 16:54:15 +03:00
  • e234c9f3b2 Enhance SpaceDetailsActionButtons: Introduced customizable button labels for save and cancel actions, improving flexibility and user experience. Updated button implementations to utilize these new labels, enhancing maintainability and adherence to Clean Architecture principles. Faris Armoush 2025-07-06 16:44:40 +03:00
  • bcd0ae4a2a Refactor Products Module: - Introduced ProductsBloc and updated ProductsService to remove LoadProductsParam, simplifying the product loading process. - Updated RemoteProductsService to utilize a new API endpoint for fetching products. - Adjusted ProductsEvent and ProductsState to reflect changes in the loading mechanism, enhancing maintainability and clarity in the products management flow. Faris Armoush 2025-07-06 16:44:26 +03:00
  • cebce2ce7f Update SpaceDetailsModel: Change default icon from villa to location for improved representation of space details. Faris Armoush 2025-07-06 14:50:24 +03:00
  • 97e3fb68bf Enhance Product Model and SpaceDetailsDevicesBox: - Added 'productType' field to Product model for improved data representation. - Updated JSON parsing in Product model to handle 'prodType'. - Refactored SpaceDetailsDevicesBox to utilize productType for dynamic device icon rendering, enhancing UI clarity and maintainability. Faris Armoush 2025-07-06 14:49:10 +03:00
  • 46a7add90d made subspaces unique and removed duplication from BE side. SP-1716-FE-Implement-Edit-Community-Service-and-BLoC-And-Ensure-Data-Consistency Faris Armoush 2025-07-06 13:23:50 +03:00
  • 73de1e6ff9 Enhance EditCommunityDialog: Refactor to accept parent context and streamline community update handling. Introduced a new method _onUpdateCommunitySuccess for improved readability and maintainability. Updated SpaceManagementCommunityDialogHelper to pass the parent context for better state management in the community update flow. Faris Armoush 2025-07-06 12:52:35 +03:00
  • 826dea8054 Implement community update endpoint: Refactor RemoteUpdateCommunityService to dynamically construct the update URL using the project UUID. This change enhances the service's flexibility and error handling by ensuring the correct endpoint is used for community updates. Faris Armoush 2025-07-06 12:39:54 +03:00
  • fdea4b1cd0 Refactor CommunityDialog: Extract error message display into a separate method _buildErrorMessage for improved readability and maintainability. This change enhances the structure of the dialog while ensuring consistent error handling. Faris Armoush 2025-07-06 12:32:18 +03:00
  • 823d86fd80 Add loading and success snackbar helpers: Introduced showLoadingDialog and showSuccessSnackBar methods in SpaceManagementCommunityDialogHelper for consistent loading indicators and success messages across community dialogs. Updated CreateCommunityDialog and EditCommunityDialog to utilize these new helpers, enhancing user experience and maintainability. Faris Armoush 2025-07-06 11:17:28 +03:00
  • dd735032ea Update SpaceSubSpacesDialog: Replace Text with SelectableText for title and error message, and add spacing in the content column to enhance user experience and maintainability. Faris Armoush 2025-07-06 11:00:01 +03:00
  • 6dcc851d97 Made CommunityDialog reusable for edit and create features. Faris Armoush 2025-07-06 10:46:20 +03:00
  • 15b36fd052 Enhance SpaceDetailsDialog: Adjust loading indicator layout for improved responsiveness. The CircularProgressIndicator is now wrapped in a SizedBox to ensure proper sizing based on screen dimensions, enhancing user experience and maintainability. Faris Armoush 2025-07-06 09:33:27 +03:00
  • a4024067c7 Sp 1708 fe implement create edit space (#339) Faris Armoush 2025-07-06 09:24:45 +03:00
  • 95cded4bf5 Enhance SubSpacesInput: Introduce FocusNode for improved text field focus management. This change allows the input field to regain focus after adding a subspace, enhancing user experience and maintaining clean state management practices. SP-1708-FE-Implement-Create-Edit-Space Faris Armoush 2025-07-06 09:04:13 +03:00
  • 757a96ed9f Refactor SpaceDetailsActionButtons and SpaceIconPicker: Adjust layout properties for improved responsiveness and user experience. Set mainAxisSize to min in SpaceDetailsActionButtons and simplify the layout in SpaceIconPicker for better alignment and interaction. This enhances maintainability and adheres to Clean Architecture principles. Faris Armoush 2025-07-03 16:15:31 +03:00
  • b857736e10 Refactor SpaceNameTextField: Update text styling and border handling to utilize context-based theming. This improves consistency with the app's theme and enhances maintainability by centralizing border styling logic. Faris Armoush 2025-07-03 15:37:06 +03:00
  • 1fccd51440 Refactor SubspaceNameDisplayWidget: Update Chip border radius for improved aesthetics and add delete functionality to remove subspaces. This enhances user interaction and aligns with maintainability principles. Faris Armoush 2025-07-03 15:33:34 +03:00
  • c07ddb0ccd Refactor SpaceDetailsDevicesBox: Improve readability by extracting variables for product allocations and subspaces. This change enhances code clarity and maintainability in line with Clean Architecture principles. Faris Armoush 2025-07-03 15:27:06 +03:00
  • 58e99f95b2 removed comments. Faris Armoush 2025-07-03 15:25:04 +03:00
  • 227df6fe3d Refactor SpaceDetailsWidgets: Simplify layout and improve responsiveness in SpaceDetailsDevicesBox and SpaceSubSpacesBox. Update SpaceDetailsForm to enhance dialog width for better user experience. This refactor enhances maintainability and aligns with Clean Architecture principles. Faris Armoush 2025-07-03 15:23:00 +03:00
  • 9451ec0cc4 Update SpaceDetailsDialog to utilize SelectableText for error messages and ensure proper Bloc context usage. This enhances user experience by allowing text selection for easier copying of error information. Faris Armoush 2025-07-03 13:19:42 +03:00
  • fc797c2646 Refactor SpaceDetailsModel and ProductAllocation: Update JSON parsing for clarity and remove unused location field. Change subspace name mapping for consistency with API response. Faris Armoush 2025-07-03 13:19:34 +03:00
  • 318e1d9af7 Implement Space Management Header and Action Buttons; integrate SpaceDetailsBloc for improved space management functionality. Add CommunityStructureHeader, CommunityStructureHeaderActionButtons, and CommunityStructureHeaderButton widgets to enhance UI and user interactions. Update SpaceManagementCommunityStructure to include the new header and refactor space details service for better endpoint handling. Faris Armoush 2025-07-03 13:09:43 +03:00
  • d47dc349bc Enhance SubspaceNameDisplayWidget to handle duplicate names during editing. Introduced logic to check for existing subspace names and provide user feedback. Refactored state management for editing and submission processes, improving overall user experience and code clarity. Faris Armoush 2025-07-03 12:04:03 +03:00
  • c221c8499f Add factory method empty to SpaceModel for default instance creation. Refactor SpaceDetailsDialog and related widgets to utilize SpaceModel, enhancing parameter handling and state management in space creation and editing flows. Faris Armoush 2025-07-02 17:05:56 +03:00
  • 71cf4b9feb Update LoadSpaceDetailsParam to require spaceUuid and refactor SpaceDetailsDialog to enhance clarity in parameter handling. Faris Armoush 2025-07-02 16:30:23 +03:00
  • c43cf9347f Remove unnecessary deactivate method from SpaceDetailsDialog to streamline state management and improve code clarity. Faris Armoush 2025-07-02 16:29:02 +03:00
  • 9990b1805e Fix typo in HomeBloc: change 'Devices Management' to 'Device Management' for consistency in naming. Faris Armoush 2025-07-02 16:27:03 +03:00
  • 50f8158830 Add booking page and related routes, icons, and button widget (#338) mohammadnemer1 2025-07-02 15:58:28 +03:00
  • 009b7c0316 Refactor SpaceDetails feature to replace LoadSpacesParam with LoadSpaceDetailsParam, enhancing clarity in parameter handling. Introduce ClearSpaceDetails event in SpaceDetailsBloc for better state management. Update SpaceDetailsDialog and SpaceDetailsForm to utilize new parameter and improve dialog functionality. Faris Armoush 2025-07-02 15:53:54 +03:00
  • 72af55ef98 Add booking page and related routes, icons, and button widget Add-Booking-System-Tab mohammad 2025-07-02 15:50:46 +03:00
  • 779c0fe916 Refactor SpaceDetailsDialog to improve code readability and structure by simplifying widget hierarchy and enhancing the use of Bloc for state management. Faris Armoush 2025-07-02 15:42:19 +03:00
  • e448eabda6 Refactor SpaceSubSpacesDialog to use SubSpacesInput for managing subspaces, enhancing state management and UI structure. Update SpaceDetailsActionButtons to handle optional save callback. Faris Armoush 2025-07-02 15:41:13 +03:00
  • 9dfb3ed369 Refactor SpaceDetailsDialog and SpaceIconPicker to integrate Bloc for state management, enhancing icon selection and dialog functionality. Faris Armoush 2025-07-02 15:20:52 +03:00
  • 63353af38b Add SpaceDetails dialog and related widgets for creating and editing spaces, including SpaceDetailsDevicesBox and SpaceSubSpacesBox for managing devices and subspaces. Faris Armoush 2025-07-02 15:03:23 +03:00
  • 68b6c9b18c Refactor SpaceDetailsBloc to move SpaceDetailsService declaration for improved clarity Faris Armoush 2025-07-02 15:03:07 +03:00
  • fa6ee9a0af Add factory method empty to SpaceDetailsModel for creating default instances Faris Armoush 2025-07-02 15:03:00 +03:00
  • 3601b02bc3 Add SpaceDetailsModelBloc and events for managing space details state Faris Armoush 2025-07-02 15:02:55 +03:00
  • fdd0526c78 added copyWith to SpaceDetailsModel and its property models. Faris Armoush 2025-07-02 14:17:27 +03:00
  • b888f516e2 Fix device status display in Control modal to reflect actual status (#337) mohammadnemer1 2025-07-02 11:28:50 +03:00
  • bdeec7d325 Add SpaceIconPicker widget for selecting and displaying space icons with a dialog option. Faris Armoush 2025-07-02 11:27:36 +03:00
  • 50ff17a0c1 Add SpaceIconSelectionDialog widget for selecting space icons in a dialog. Faris Armoush 2025-07-02 11:27:26 +03:00
  • 87c2e3261d Add SpaceDetailsActionButtons widget for improved action handling in space details. Faris Armoush 2025-07-02 11:27:13 +03:00
  • 62a6f9c993 Add ButtonContentWidget for customizable button UI in space details. Faris Armoush 2025-07-02 11:27:03 +03:00
  • c1e61ee61d [FE] Community and Space Dialog Redesign in the routine tab (#336) Rafeek-khoudare 2025-07-02 11:21:34 +03:00
  • 7750290be4 Fix device status display in Control modal to reflect actual status On-devices-table-The-line-underneath-settings-button-is-not-aligned-with-the-table-row-line mohammad 2025-07-02 10:14:54 +03:00
  • f7e4d6ff07 added default dialog background color to be white. Faris Armoush 2025-07-02 09:33:45 +03:00
  • 7f26c773a7 [FE] Preferences & Calibration (#332) Rafeek-khoudare 2025-07-02 09:05:44 +03:00
  • 1adbae6735 Clarification on Default Value for Start Date in Door Lock Online Tile Limited Password repeat section (#331) Rafeek-khoudare 2025-07-02 08:58:47 +03:00
  • 4fd46d820d Dev (#335) main Rafeek-khoudare 2025-07-02 08:38:23 +03:00
  • ede2da6632 hot fix thermostat string (#334) Rafeek-khoudare 2025-07-02 08:32:48 +03:00
  • b06e4bd2ba hot fix thermostat string hot-fix-thermostat-string Rafeek-Khoudare 2025-07-02 08:27:09 +03:00
  • 0847cb8a41 fix UI SP-1601-FE-Community-and-Space-Dialog-Redesign-in-the-routine-tab Rafeek-Khoudare 2025-07-02 08:19:56 +03:00
  • 8534cb3045 Created decorators for energy management charts to divide values by 100, and modified the intervals. Faris Armoush 2025-07-01 18:56:17 +03:00
  • fcaed3e4e3 Divide energy consumption chart values by hundred (#333) Faris Armoush 2025-07-01 16:33:43 +03:00
  • 445d4facab Refactor TotalEnergyConsumptionBloc to use DividedTotalEnergyConsumptionDecorator for adjusted energy values and update chart data handling in TotalEnergyConsumptionChart. Faris Armoush 2025-07-01 16:28:52 +03:00