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

[GAL-5166] fix to remove empty feed items #2378

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Rohan-cp
Copy link
Collaborator

@Rohan-cp Rohan-cp commented Mar 23, 2024

Demo or Before/After Pics

Before
Screenshot 2024-03-23 at 15 45 18

After (feed as per usual with empty item removed)
Screenshot 2024-03-23 at 15 48 30

Edge Cases

List any common edge cases that you have considered and tested.

Testing Steps

Provide steps on how the reviewer can test the changes.

Checklist

Please make sure to review and check all of the following:

  • I've tested the changes and all tests pass.
  • (if web) I've tested the changes on various desktop screen sizes to ensure responsiveness.
  • (if mobile) I've tested the changes on both light and dark modes.

Copy link

vercel bot commented Mar 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
gallery ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 23, 2024 7:50pm

@github-actions github-actions bot added the web label Mar 23, 2024
@Rohan-cp Rohan-cp marked this pull request as ready for review March 23, 2024 19:49
Copy link

Bundle Sizes

Compared against b1f834d

Route: No significant changes found

Dynamic import: No significant changes found

return null;
}
}

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

kind of a hacky fix but basically was trying to ignore the eventDataTypeGalleryInfoUpdatedFeedEventData because we don't have a component for it from this file so it would always be an empty item for this event type. I wanted to know if you had a better idea of how I could fix this @Robinnnnn! thanks

Screenshot 2024-03-23 at 15 43 19

Copy link
Contributor

Choose a reason for hiding this comment

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

sorry but why can't we just introduce a new component in the screenshot you provided?

@Rohan-cp Rohan-cp changed the title fix to remove empty feed items [GAL-5166] fix to remove empty feed items Mar 23, 2024
@Rohan-cp Rohan-cp requested a review from Robinnnnn March 23, 2024 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants