Task #1369
closedFE: Tree component - multi select, usage for role composition (business roles)
100%
Description
- Support multi select for components TreeNodeSelect and RoleCatalogueSelect (for the RoleSelect is implemented already by Ondra).
- Support usage for role composition - business roles:
- add rest operations, for loading sub roles
- add parameter for tree roots - e.g. for the business roles is need to know, where is the begin (composition - it's not a tree)
- add callback for render tree node icon (business vs automatic vs normal trole)
- add operation for set / get selected nodes and roots
- add onChange callback (see RoleSelect)
Files
Related issues
Updated by Radek Tomiška about 6 years ago
- Related to Task #1351: Tree structure - develop new frontend component for tree nodes added
Updated by Radek Tomiška about 6 years ago
- Status changed from New to In Progress
Updated by Radek Tomiška about 6 years ago
- Subject changed from FE: support multi select for tree nodes and role catalogue to FE: Tree component - multi select, usage for role composition (business roles)
- Description updated (diff)
- Category changed from Frontend to Tree structures
- Target version set to Opal (9.4.0-rc.1)
- Estimated time set to 16.00 h
Updated by Radek Tomiška about 6 years ago
- File tree-example.png tree-example.png added
- Status changed from In Progress to Needs feedback
- Assignee changed from Radek Tomiška to Ondřej Kopr
- % Done changed from 0 to 90
Added all required features. Doc:
https://github.com/bcvsolutions/CzechIdMng/tree/develop/Realization/frontend/czechidm-core/src/components/advanced/Tree
Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/c39e436bee6a9337ee35fb0a333fce59ed0172d2
Could you do a feedback please?
Note: I've added new page into example module, where tree component usage is shown.
Updated by Ondřej Kopr about 6 years ago
- Assignee changed from Ondřej Kopr to Radek Tomiška
Tree components works awesome, I use it in ticket #1391 for selecting roles.
I have only one issue, in example module I was not able change some settings, because when I click on 'Set' whole page was reloaded. But this is in example module. Otherwise component works awesome.
Updated by Radek Tomiška about 6 years ago
- Status changed from Needs feedback to Closed
- % Done changed from 90 to 100
i fixed submit button on example content:
https://github.com/bcvsolutions/CzechIdMng/commit/4d0861bd72fcc838e35b4f2dc61cc8d160f3dd03
Thx for feedback!