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

feat(tree-links): Adds support for link nodes in the TreeView component #18409

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Tweakified
Copy link

Closes #18408

Adds support for link nodes in the TreeView component

Changelog

New

  • {{new thing}}

Changed

  • {{change thing}}
  • TreeView - changed the view so that links can now be considered nodes
  • TreeNode - Added updated link nod structure

Removed

  • {{removed thing}}

Testing / Reviewing

{{ Add descriptions, steps or a checklist for how reviewers can verify this PR works or not }}
I've added a test which checks if a TreeNode with a link correctly renders with an anchor tag

@Tweakified Tweakified requested a review from a team as a code owner January 23, 2025 11:30
Copy link
Contributor

github-actions bot commented Jan 23, 2025

All contributors have signed the DCO.
Posted by the DCO Assistant Lite bot.

Copy link

netlify bot commented Jan 23, 2025

Deploy Preview for v11-carbon-web-components ready!

Name Link
🔨 Latest commit aa12b75
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-web-components/deploys/679b4fc9f6c68e0008b76531
😎 Deploy Preview https://deploy-preview-18409--v11-carbon-web-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 23, 2025

Deploy Preview for carbon-elements ready!

Name Link
🔨 Latest commit aa12b75
🔍 Latest deploy log https://app.netlify.com/sites/carbon-elements/deploys/679b4fc90d592a0008d977fb
😎 Deploy Preview https://deploy-preview-18409--carbon-elements.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 23, 2025

Deploy Preview for v11-carbon-react ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit aa12b75
🔍 Latest deploy log https://app.netlify.com/sites/v11-carbon-react/deploys/679b4fc922b77d0008668dd5
😎 Deploy Preview https://deploy-preview-18409--v11-carbon-react.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Tweakified
Copy link
Author

I have read the DCO document and I hereby sign the DCO.

@Tweakified
Copy link
Author

Not sure how I'd implement this, but could it be worth utilising the Link component?

…page, utilises the Link component for nodes with links
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request]: Add support for links in the treeview/treenode component
2 participants