Tab link #4
Labels
No Label
Core
Pattern/Status
Pattern/Tabs
Kind/Breaking
Kind/Bug
Kind/Build process
Kind/Documentation
Kind/Enhancement
Kind/Feature request
Kind/Security
Kind/Testing
Kind/User experience
Priority
0 Critical
Priority
1 High
Priority
2 Medium
Priority
3 Low
Status/Blocked
Status/Duplicate
Status/Need More Info
Status/Won't Fix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gamv/ds2-core#4
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Might be helpful to be able to provide a link to a specific tab within a pattern. This would need to allow for link generation, as well as link detection and activation
Triggering a click on the tab will activate it. We can do this using the document.location.hash.
Triggering the correct tab is working, but it's also generating a JS error that we should fix before we close this issue.
The link generation should be done in the core. and then should be documented how to implement it in your project for projects that are using the tabs in their own design system and generating the link might be unique in each project's case.
For DS2, it should probably generate a link that also contains the specific pattern and it should be in _core.js. This is not because there could be a conflict, but because finding the activated tab without knowing which pattern would be a pain.