Commit Graph
22 Commits
Author SHA1 Message Date
Faris Armoush 9d0a1f4883 Refactor SpaceManagementSidebarHeader to integrate CustomSearchBar and improve layout 2025-07-24 15:04:10 +03:00
Faris Armoush e98b091253 Refactor SpaceManagementBody to use a Stack layout for improved UI structure, allowing better positioning of the SpaceManagementCommunitiesTree and the main content. Enhance SpaceManagementCommunitiesTree with a shadow effect for better visual separation. This change promotes a more organized and visually appealing interface. 2025-07-24 09:39:38 +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 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
Faris Armoush 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. 2025-07-06 12:52:35 +03:00
Faris Armoush 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. 2025-07-06 11:17:28 +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 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 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 b0aea94b91 Created communities blocs, services, models, and params. 2025-06-16 15:20:44 +03:00