Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Add selected functionality for tree component #2854

Open
xelaint opened this issue Jun 13, 2024 · 3 comments
Open

[FEAT] Add selected functionality for tree component #2854

xelaint opened this issue Jun 13, 2024 · 3 comments
Assignees
Labels
feat a new feature, enhancement, or improvement package: design @daffodil/design
Milestone

Comments

@xelaint
Copy link
Member

xelaint commented Jun 13, 2024

馃挕 Feature request

Feature Name

Add selected UI for tree component

The Desired Behavior

A [daff-tree-item] that is active/selected should have a selected class added to it to properly style it.

Your Use Case

As a designer, I would like to indicate to users if a tree item in a tree is currently selected/active.

Prior Work

Environment


Daffodil version: X.Y.Z
Angular version: X.Y.Z 

 
For Tooling issues:
- Node version: XX  
- Platform:  

Others:

@xelaint xelaint added feat a new feature, enhancement, or improvement docs This issue is related to documentation labels Jun 13, 2024
@xelaint xelaint self-assigned this Jun 13, 2024
@griest024
Copy link
Member

use routerLinkActive

@xelaint xelaint added package: design @daffodil/design and removed docs This issue is related to documentation labels Jun 13, 2024
@xelaint xelaint added this to the Daffodil v1.0 milestone Jun 13, 2024
@xelaint
Copy link
Member Author

xelaint commented Jun 20, 2024

use routerLinkActive

@griest024 The styles for selected is in the code, but I'm not sure how I can use the routerLinkActive directive in DaffTreeItemDirective so that a selected tree item has the routerLinkActive directive set on it as well.

@griest024
Copy link
Member

You can assign this to me

@xelaint xelaint changed the title [FEAT] Add selected UI for tree component [FEAT] Add selected functionality for tree component Jun 21, 2024
@xelaint xelaint assigned griest024 and unassigned xelaint Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat a new feature, enhancement, or improvement package: design @daffodil/design
Projects
Status: To do
Development

No branches or pull requests

2 participants