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

🎁 Prohibits blank metadata fields from rendering #806

Merged
merged 2 commits into from
Sep 13, 2024

Conversation

sjproctor
Copy link
Contributor

Story

This commit is a temporary solution to prevent blank metadata fields from rendering. There is a bigger issue of why some fields are being assigned values of [""] but this commit solves the current issue.

Ref:

Expected Behavior Before Changes

Some metadata fields that did not have content were rending on the works.

Expected Behavior After Changes

Only metadata fields that have content will render.

Screenshots / Video

Before:
image

After:
Screenshot 2024-09-12 at 3 55 31 PM

Notes

This is a temporary solution to solve the current needs of the client.

This commit is a temporary solution to prevent blank metadata fields
from rendering. There is a bigger issue of why some fields are being
assigned values of `[""]` but this commit solves the current issue.

Ref:
- #771
Copy link
Contributor

@kirkkwang kirkkwang left a comment

Choose a reason for hiding this comment

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

Gotcha, so changing the yaml's wasn't the root cause? Whatever the case I'm sure we'll find it.

@ShanaLMoore
Copy link
Contributor

ShanaLMoore commented Sep 13, 2024

oops. I accidentally triggered a re review from Kirk after he already approved it. Please disregard.

cc @sjproctor could you manually build-test-lint this branch before merging since it doesn't auto run?

To further clarify, this project won't auto run the pipeline since we aren't merging into main yet. You have to trigger it manually under the actions tab.

I like to screenshot the ci results and attach it to the PRs in this case, since the green checkmark here is deceiving.

ie:

image

vs

image

let me know if you need help with that

@ShanaLMoore
Copy link
Contributor

ShanaLMoore commented Sep 13, 2024

@sjproctor Thanks for trying. I forgot we were having issues on the pipeline yesterday, which is likely where you branched off of. I think this branch would need a build-test-lint update and a submodule update to get the pipeline to run.

could you try updating this branch with pull-in-hyku-knapsack and try running it again?

…/adventist_knapsack into blank-metadata-properties
@ShanaLMoore ShanaLMoore merged commit f8c2cd7 into pull-in-hyku-knapsack Sep 13, 2024
5 of 9 checks passed
@ShanaLMoore ShanaLMoore deleted the blank-metadata-properties branch September 13, 2024 20:05
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.

3 participants