hotwax / facilities

App to manage facilities
Apache License 2.0
1 stars 8 forks source link

Enhance Facility Groups page experience and Implement facility sequencing #293

Closed Dhiraj1405 closed 1 week ago

Dhiraj1405 commented 1 month ago

What is the motivation for adding/enhancing this feature?

The current Facility Groups page requires improvements to enhance user experience and functionality.

Key Enhancements:

  1. Improve Facility Groups Page: Conduct a thorough UX analysis of the Facility Groups page to identify areas for improvement. This includes layout, navigation, and overall usability.
  2. Implement Facility Sequencing: Allow users to define the order in which facilities are displayed within a facility group.

The complete revamp could be time taking, so we can initially move ahead with accommodating the sequencing UI, which look like this:

After selection

What are the acceptance criteria?

Can you complete this feature request by yourself?

Additional information

Link to UI

Dhiraj1405 commented 1 month ago

Due to performance concerns, making individual API calls for each facility during sequence updates would create unnecessary network traffic and impact system performance. A separate ClickUp ticket (https://app.clickup.com/t/86cw54361) has been created to develop a bulk update functionality. The logic for this page should be updated once that ticket is completed.

Adameddy26 commented 2 weeks ago

Verified the changes in release v1.9.0. Issue 1 - It's observed that an alert doesn't trigger, and the sequence gets saved when the user tries to go back after saving the sequence for the first time. Hence, reopening this ticket. https://jam.dev/c/3c0938c1-e9ac-43c9-8fab-42bf9e1f3c9f Issue 2 - Facilities count is not getting updated when user creates new group, unlink the facility after linking and then save the changes. https://jam.dev/c/5467bf13-9347-4617-8cdc-6ad179b449bd Issue 3 - Facility counts disappear from group cards after navigating between the 'Facility Groups' and 'Parent Groups Associations' tabs without saving changes to facility sequencing. https://jam.dev/c/76cd977b-e975-4320-bb53-9968dc0155ef Issue 4 - Unnecessary scrollbar is present in 'Parent Group Association' tab. On scrolling the page, it gets disappear. https://jam.dev/c/1c6c4619-0ac9-44d7-954e-0d6022ec7890 Issue 5 - API gets fail and description(long) is not getting updated. Toast message is also not correct in this case. Also description is not getting saved in the format provided by the user(next line). https://jam.dev/c/6a4d23fd-cd45-4879-9bb3-87341614f32c Issue 6 - Extra separation line is present on 'Manage Facilities' page. https://jam.dev/c/4bdc198e-55f2-4f8c-b17b-b073b09ddf93 Issue 7 - 'Selected groups' count of each parent group is set as '10' instead of showing the actual count. https://jam.dev/c/7580fd32-bd7f-486b-aeb1-da0b25ba3d99 Issue 8 - When a parent group's selected group count is displayed as 1, only one group should be marked as checked upon scrolling. However, it is observed that more than one group is checked when scrolling, and the selected group count incorrectly updates from 1 to the actual number of checked groups. https://jam.dev/c/bc8cc6df-5e44-4bff-b161-fb000a1f2c77 Issue 9 - If 'Parent Groups Associations' tab is opened and when user switches the section(like from 'Facilities' to 'Groups'), the 'Facility Group' tab should get opened instead of 'Parent Groups Associations'.(this behavior is working fine in case of ATP and Job Manager App) https://jam.dev/c/9efab6aa-d383-4f32-89cf-feda1193f861 Issue 10 - No empty state is present in case no facility is linked with the selected group. https://jam.dev/c/c5ee19eb-2389-49bf-ad29-c1055cffa4d1 Issue 11 - Unlinked facility group is visible in the sell online card of facility even though the facility is unlinked from its group from the groups section. https://jam.dev/c/af788c68-80d3-433b-a64f-bfe40774558a

Adameddy26 commented 1 week ago

Verified the fixed issues changes and are working fine in release v1.9.2. Hence, closing this ticket.