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

Add isHidden prop for optional hiding of stories #1090

Merged
merged 2 commits into from
Aug 7, 2024

Conversation

dzole0311
Copy link
Collaborator

@dzole0311 dzole0311 commented Aug 6, 2024

Related Ticket: #1088

Description of Changes

This ticket introduces a isHidden prop for both stories and datasets, so that they could be hidden from the appropriate catalogs. If a story has this new prop, then it will not be shown in the stories catalog, but it will still be known to the veda-ui and could be navigated to via routing.

Example with "This is the life of water":

Stories catalog (hidden): https://deploy-preview-1090--veda-ui.netlify.app/stories
Story page: https://deploy-preview-1090--veda-ui.netlify.app/stories/life-of-water

Note: the story will still appear as a featured story unless isFeatured is also set to false in the .mdx, so it's pretty configurable.

Notes & Questions About Changes

{Add additonal notes and outstanding questions here related to changes in this pull request}

Validation / Testing

{Update with info on what can be manually validated in the Deploy Preview link for example "Validate style updates to selection modal do NOT affect cards"}

Copy link

netlify bot commented Aug 6, 2024

Deploy Preview for veda-ui ready!

Name Link
🔨 Latest commit cec2be5
🔍 Latest deploy log https://app.netlify.com/sites/veda-ui/deploys/66b318a9acc0bd000877eb77
😎 Deploy Preview https://deploy-preview-1090--veda-ui.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.

@dzole0311 dzole0311 marked this pull request as draft August 6, 2024 06:47
@dzole0311 dzole0311 marked this pull request as ready for review August 6, 2024 15:11
Copy link
Collaborator

@hanbyul-here hanbyul-here left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙇 Thanks for working on this (and fixing the lints :] )!

@dzole0311 dzole0311 merged commit 71ed576 into main Aug 7, 2024
8 checks passed
@dzole0311 dzole0311 deleted the 1088-add-boolean-to-optionally-hide-stories branch August 7, 2024 06:52
sandrahoang686 added a commit that referenced this pull request Aug 13, 2024
## 🎉 Features
- Add isHidden prop for optional hiding of stories
#1090,
#1100
- Add Exportable nav with configurable dropdowns
#1072

## 🚀 Improvements
- Date picker aligns with temporal density & simplify timeline header
#1086

## 🐛 Fixes
- 🦗
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.

2 participants