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

Fix project of the day label visibility #220

Merged
merged 2 commits into from
Aug 9, 2017

Conversation

justinswart
Copy link
Contributor

What

This just improves how we set the hidden attribute of the metadataView in DiscoveryPostcardCell.

Why

@ktman noticed that we were incorrectly showing the project of the day label on saved projects:

How

Previously we had two separate signals, one that emitted the metadata and another that set the hidden attribute based on whether or not there should be metadata. The change here is just to base the latter on the former.

Also added more tests for the metadataViewHidden output.

Copy link
Contributor

@stephencelis stephencelis left a comment

Choose a reason for hiding this comment

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

Nice catch!

@justinswart justinswart merged commit d9ae6d4 into master Aug 9, 2017
@justinswart justinswart deleted the fix-project-of-the-day-hidden branch August 9, 2017 23:43
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.

None yet

2 participants