Commit Graph
39 Commits
Author SHA1 Message Date
Faris Armoush e448eabda6 Refactor SpaceSubSpacesDialog to use SubSpacesInput for managing subspaces, enhancing state management and UI structure. Update SpaceDetailsActionButtons to handle optional save callback. 2025-07-02 15:41:13 +03:00
Faris Armoush 9dfb3ed369 Refactor SpaceDetailsDialog and SpaceIconPicker to integrate Bloc for state management, enhancing icon selection and dialog functionality. 2025-07-02 15:20:52 +03:00
Faris Armoush 63353af38b Add SpaceDetails dialog and related widgets for creating and editing spaces, including SpaceDetailsDevicesBox and SpaceSubSpacesBox for managing devices and subspaces. 2025-07-02 15:03:23 +03:00
Faris Armoush 68b6c9b18c Refactor SpaceDetailsBloc to move SpaceDetailsService declaration for improved clarity 2025-07-02 15:03:07 +03:00
Faris Armoush fa6ee9a0af Add factory method empty to SpaceDetailsModel for creating default instances 2025-07-02 15:03:00 +03:00
Faris Armoush 3601b02bc3 Add SpaceDetailsModelBloc and events for managing space details state 2025-07-02 15:02:55 +03:00
Faris Armoush fdd0526c78 added copyWith to SpaceDetailsModel and its property models. 2025-07-02 14:17:27 +03:00
Faris Armoush bdeec7d325 Add SpaceIconPicker widget for selecting and displaying space icons with a dialog option. 2025-07-02 11:27:36 +03:00
Faris Armoush 50ff17a0c1 Add SpaceIconSelectionDialog widget for selecting space icons in a dialog. 2025-07-02 11:27:26 +03:00
Faris Armoush 87c2e3261d Add SpaceDetailsActionButtons widget for improved action handling in space details. 2025-07-02 11:27:13 +03:00
Faris Armoush 62a6f9c993 Add ButtonContentWidget for customizable button UI in space details. 2025-07-02 11:27:03 +03:00
Faris Armoush 5a2299ea2f navigates to initial create space dialog from the respective buttons. 2025-06-24 10:47:48 +03:00
Faris Armoush 95ae50d12d navigates to selected space when changed on sidebar in space management canvas. 2025-06-24 10:16:03 +03:00
Faris Armoush 8bc7a3daa2 Implemented space management canvas. 2025-06-23 15:45:49 +03:00
Faris Armoush 4bdb487094 doesnt show a snackbar when creating a community fails, since we show the error message in the dialog itself. 2025-06-23 10:11:23 +03:00
Faris Armoush f8e4c89cdb uses correct error message that the api sends in RemoteCreateCommunityService. 2025-06-23 10:11:03 +03:00
Faris Armoush ff3d5cd996 Created a helper class to show create community dialog, since this dialog can be shown from two different widgets. 2025-06-23 10:02:02 +03:00
Faris Armoush 27349a6cc0 Implemented PR notes by extracting widgets into their own classes. 2025-06-23 09:24:53 +03:00
Faris Armoush 41d4fbb555 Extracted pagination data into a generic DTO. 2025-06-22 16:00:20 +03:00
Faris Armoush 28ac911f3f Accomodated for null values in SpaceModel. 2025-06-22 15:30:47 +03:00
Faris Armoush f02788eaa5 implemented create community feature. 2025-06-22 14:58:38 +03:00
Faris Armoush b79ab06d95 shows a loading indicator when loading. 2025-06-22 12:58:45 +03:00
Faris Armoush 8494f0a8f1 matched community and space models with API. 2025-06-22 12:38:54 +03:00
Faris Armoush 65ed94eb08 debounce and refactored CommunitiesBloc. 2025-06-22 12:01:32 +03:00
Faris Armoush 51c088d998 made communities paginatable. 2025-06-22 11:11:25 +03:00
Faris Armoush 2f233db332 implemented space management side bar. 2025-06-22 11:04:39 +03:00
Faris Armoush 0132805713 Fix PR notes. 2025-06-17 11:26:48 +03:00
Faris Armoush 9600f4fb8b Made CommunitiesState final, to better document that it shouldn't be extended. 2025-06-16 16:49:31 +03:00
Faris Armoush 5cd1384000 Refactored CommunitiesBloc to ensure the CommunitiesService is properly defined as a final member, enhancing clarity and maintainability. Adjusted CommunitiesState to maintain consistent property definitions. 2025-06-16 16:48:08 +03:00
Faris Armoush 0260523121 Made CommunitiesBloc state object one class, instead of multiple, to make searching and pagination easier. 2025-06-16 16:47:47 +03:00
Faris Armoush 6af96fadbd renamed devices module, to products. 2025-06-16 16:39:34 +03:00
Faris Armoush 737762bbaf Created create community bloc, services, and param. 2025-06-16 16:01:09 +03:00
Faris Armoush 6bcfb77a06 Created update community bloc, services, and param. 2025-06-16 16:01:01 +03:00
Faris Armoush 6b76827f21 Created update space service, and bloc. 2025-06-16 15:48:16 +03:00
Faris Armoush 519285fa7c Implemented proper error handling. 2025-06-16 15:41:52 +03:00
Faris Armoush 3eb38d28f7 Implemented devices bloc, service, param and model. 2025-06-16 15:39:40 +03:00
Faris Armoush 2108622b5b moved tags into modules folder. 2025-06-16 15:35:12 +03:00
Faris Armoush aa141ef54d Implemented Space details blocs, services, params, and models. 2025-06-16 15:24:17 +03:00
Faris Armoush b0aea94b91 Created communities blocs, services, models, and params. 2025-06-16 15:20:44 +03:00