Feature #18621

FE - React - Tree View for module User Role

Added by chok yee fan 12 months ago. Updated 8 months ago.

Status:ResolvedStart date:25 October 2023
Priority:NormalDue date:
Assignee:Amirul Umar Pandai% Done:

100%

Category:-Spent time:-
Target version:-

Description

issue
-----
No component for this.

Expected
-----
Need to find component for this. after research, possible could use
https://github.com/brimdata/react-arborist
https://github.com/jakezatecky/react-checkbox-tree

Reference
-----
SD - hhttps://dev.silverlakemobility.com/demo/cc_iam/loginModule/login.htm
sysuser
abc123

Need to install into react project try and error.

Screenshot 2023-10-25 at 10.18.43 AM.png (294 KB) chok yee fan, 25 October 2023 10:18 AM

History

#1 Updated by Amirul Umar Pandai 12 months ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

react-checkbox-tree package will be used to display function list. Now just need to get test data structure to map data

#3 Updated by Amirul Umar Pandai 10 months ago

Current tanstack component will be used instead of another third-party library for checkbox tree. Now pending ws

#4 Updated by chok yee fan 10 months ago

- column filter
- default collapse

#6 Updated by Amirul Umar Pandai 10 months ago

Still pending ws


- delete content-tab + hq-tab from org profile
- put FormContainer for org profile tab
- checkbox tree column filter + collapsed by default

https://dev.silverlakemobility.com/gitlab/mleb-solution-domain/smesd100/mleb-iam/-/commit/3583dc9b0f14fbb88991b43783e02576c5d3c4a1

#7 Updated by Amirul Umar Pandai 10 months ago

  • Assignee changed from Amirul Umar Pandai to David Wong

Pending ws to get data structure

#8 Updated by chok yee fan 9 months ago

  • Assignee changed from David Wong to Amirul Umar Pandai

repeat highlight again from the meeting

issue
-----
Change the finger pointer to arrow

#9 Updated by chok yee fan 9 months ago

issue
-----
click Modify button, the tree NOT showing checkbox.

Expected
-----
click Modify button, the tree SHOULE show checkbox.

Note: only lowest level of tree able to modify

#10 Updated by Amirul Umar Pandai 9 months ago

  • Assignee changed from Amirul Umar Pandai to David Wong

Applied FE change; assigning back to previous assignee


Feature #18621 - insert checkboxes for leaf nodes

https://dev.silverlakemobility.com/gitlab/mleb-solution-domain/smesd100/mleb-iam/-/commit/9b1b90398f6505694792259585661ad275e86c84

#11 Updated by chok yee fan 8 months ago

  • Assignee changed from David Wong to Zaid Haritsah

#12 Updated by Zaid Haritsah 8 months ago

  • Assignee changed from Zaid Haritsah to Farid Nazmi

#13 Updated by Farid Nazmi 8 months ago

  • % Done changed from 50 to 60

the WS for tree already provided in other redmine and already give the info

https://dev.silverlakemobility.com/redmine/issues/19042

#14 Updated by Farid Nazmi 8 months ago

  • Assignee changed from Farid Nazmi to Amirul Umar Pandai

#15 Updated by Amirul Umar Pandai 8 months ago

  • Status changed from In Progress to Resolved
  • % Done changed from 60 to 100

Tree view implemented. Pending Ws for integration

Also available in: Atom PDF