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

refactor: Remove linkProperties from Stories Hub #1405

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

vgeorge
Copy link
Contributor

@vgeorge vgeorge commented Jan 27, 2025

Related Ticket:

Description of Changes

This removes the usage of linkProperties approach in favor of UseVedaUI's Link hook. Touched elements are:

  • Clear filters button
  • Topic pills

Notes & Questions About Changes

Validation / Testing

This PR does not attempt to fix #1404, so clicking on topic pill links won't apply filters. But they should be valid filter URLs.

To test:

  • Visit Stories Hub page
  • Right click a topic pill and copy the link
  • Paste the link in a new tab, filters are applied correctly
  • Click on "Clear filters" button, it should clear the filters

This is ready for a review.

Copy link

netlify bot commented Jan 27, 2025

Deploy Preview for veda-ui ready!

Name Link
🔨 Latest commit 7ab6540
🔍 Latest deploy log https://app.netlify.com/sites/veda-ui/deploys/679786d6cc926b0008e2f714
😎 Deploy Preview https://deploy-preview-1405--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.

Copy link
Collaborator

@sandrahoang686 sandrahoang686 left a comment

Choose a reason for hiding this comment

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

manually tested, lgtm 👍🏼

Base automatically changed from refactor/remove-link-props-from-card-sources to main January 28, 2025 09:07
@vgeorge vgeorge merged commit 27ca95d into main Jan 28, 2025
10 checks passed
@vgeorge vgeorge deleted the refactor/remove-link-props-from-stories-hub branch January 28, 2025 09:08
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.

[Bug] Stories Hub does not update filters properly on URL change
2 participants