Bug #19106
FE - React - Org profile view cancel wrong behaviour
Status: | Closed | Start date: | 07 December 2023 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | chok yee fan | % Done: | 100% | |
Category: | - | Spent time: | - | |
Target version: | - |
Description
issue
----
org profile search -> view record -> modify -> cancel -> prompt ok or cancel -> cancel -> navigate back to search.
expected
----
org profile search -> view record -> modify -> cancel -> prompt ok or cancel -> cancel -> stay.
History
#1 Updated by Amirul Umar Pandai about 1 year ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Cancel behaviour is committed now, please check.
#2 Updated by Amirul Umar Pandai about 1 year ago
- Assignee changed from Amirul Umar Pandai to chok yee fan
#3 Updated by chok yee fan about 1 year ago
- Status changed from Resolved to Assigned
- Assignee changed from chok yee fan to Amirul Umar Pandai
issue still the same, no fix at all.
issue
----
org profile search -> view record -> modify -> cancel -> prompt ok or cancel -> click cancel -> navigate back to search.
expected
----
org profile search -> view record -> modify -> cancel -> prompt ok or cancel -> click cancel -> stay.
#4 Updated by Amirul Umar Pandai about 1 year ago
- Assignee changed from Amirul Umar Pandai to chok yee fan
- fix org profile form cancel behaviour
#5 Updated by chok yee fan about 1 year ago
- File Screenshot 2023-12-18 at 11.26.08 AM.png added
- Status changed from Assigned to Feedback
- Assignee changed from chok yee fan to Amirul Umar Pandai
nothing happen when click Modify button
#6 Updated by Amirul Umar Pandai about 1 year ago
- Assignee changed from Amirul Umar Pandai to chok yee fan
- fix org profile modify button does nothing
- move usePrompt hook to own file
- re-organise org profile + user role code
#7 Updated by chok yee fan about 1 year ago
- Assignee changed from chok yee fan to Amirul Umar Pandai
use <FormProvider passing hookForm into child.
refer UserProfileTab
#8 Updated by Amirul Umar Pandai about 1 year ago
- Assignee changed from Amirul Umar Pandai to chok yee fan
- delete content-tab + hq-tab from org profile
- put FormContainer for org profile tab
- checkbox tree column filter + collapsed by default
#9 Updated by chok yee fan about 1 year ago
- Assignee changed from chok yee fan to Amirul Umar Pandai
issue
------
no function when click modify button
expected
------
should function when click modify button
#10 Updated by chok yee fan about 1 year ago
- File Screenshot 2024-01-04 at 5.50.27 PM.png added
issue
------
Search org profile -> click link from table -> view org profile
1. not using /api/organisationWs/dataEntryForm to populate the dropdown value and other info.
2. call multiple times on searchForm
expected
------
1. use /api/organisationWs/dataEntryForm to populate the dropdown value and other info.
2. should not call multiple times on searchForm
we standard to use /dataEntryForm to populate dropdown value instead of /viewAction
#11 Updated by Amirul Umar Pandai about 1 year ago
- Assignee changed from Amirul Umar Pandai to chok yee fan
Extra call to searchForm was actually to departmentWs by department tab together with all organisation profile tabs, all without clicking the tab. This is now changed to only mount when clicking department tab.
Call dataEntryForm on modify + prevent multiple call to searchForm on navigate:
- Organisation Profile
- Department (Tab)
- User Role
#12 Updated by chok yee fan 12 months ago
- File Screenshot 2024-01-08 at 2.51.56 PM.png added
- Assignee changed from chok yee fan to Amirul Umar Pandai
issue
------
Search org profile -> click link from table -> view org profile
1. not using /api/organisationWs/dataEntryForm to populate the dropdown value and other info.
expected
------
1. use /api/organisationWs/dataEntryForm to populate the dropdown value and other info.
#13 Updated by Amirul Umar Pandai 12 months ago
- Assignee changed from Amirul Umar Pandai to chok yee fan
Trigger dataEntryForm for all form modes:
- Organisation Profile
- Department (Tab)
- User Role