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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow highlighting tree text #542

Open
lache-melvin opened this issue Jan 22, 2024 · 2 comments
Open

Allow highlighting tree text #542

lache-melvin opened this issue Jan 22, 2024 · 2 comments

Comments

@lache-melvin
Copy link
Collaborator

Currently we have the button to copy codes, but not to copy the text/descriptions.

Image

Clicking them collapses the tree, and text highlighting is disabled by MUI tree component.

Ideas:

  • See if there is a way to re-enable text highlighting?
  • Can we make the chevron onclick collapse the node, but clicking the text copies it?
  • Another button to copy name?
  • Move away from collapsible nodes, just display the tree as text so we can highlight it?
@mark-prins
Copy link
Contributor

Do users need to copy the text & description?

@lache-melvin
Copy link
Collaborator Author

Do users need to copy the text & description?

To be fair I think this came from Louisa trying to build the mapping spreadsheets, so I'm not sure how often this would typically be needed. I think its a nice to have :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants