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

Use SidebarItem as links in viewer sidebars #503

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

allanlasser
Copy link
Member

Turns out, SidebarItem already supports rendering as a link provided a href! So this closes #488 by simply useing that functionality in the viewer sidebar. It also expands the a attributes available to support download links and blank targets.

@allanlasser allanlasser requested a review from eyeseast April 2, 2024 15:12
@allanlasser allanlasser linked an issue Apr 2, 2024 that may be closed by this pull request
Copy link

netlify bot commented Apr 2, 2024

Deploy Preview for documentcloud-frontend ready!

Name Link
🔨 Latest commit e416fe0
🔍 Latest deploy log https://app.netlify.com/sites/documentcloud-frontend/deploys/660c20510812950008a060f6
😎 Deploy Preview https://deploy-preview-503.muckcloud.com
📱 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.

@allanlasser allanlasser merged commit 8421ee3 into sveltekit Apr 2, 2024
6 checks passed
@allanlasser allanlasser deleted the 488-sidebaritem-should-handle-links branch April 24, 2024 23:50
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

Successfully merging this pull request may close these issues.

SidebarItem should handle links
2 participants