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 error that showed unapproved posts in sidebar #20776

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

Conversation

PauloVilarinho
Copy link

@PauloVilarinho PauloVilarinho commented Mar 19, 2024

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

This fixes the error that was showing unapproved posts in the sidebar

Related Tickets & Documents

Closes #20772

QA Instructions, Screenshots, Recordings

Go to the admin and edit a Tag to change it to require approval
image

Now make this tag appear in the front page, to make this go to the Customization>Config menu and add the Tag you want to display here
image

Now if you go to the home page it should display only approved posts in this tag. If there is no post its probably because you don't have any approved posts. To approve a post go to the admin panel and go to the menu Content Manager>Posts

Go to the Posts that has the tag you selected and mark it as approved and save

image

After that this post should appear in the home page

Added/updated tests?

We encourage you to keep the code coverage percentage at 80% and above.

  • Yes
  • No, and this is why: please replace this line with details on why tests
    have not been included
  • I need help with writing tests

@PauloVilarinho PauloVilarinho requested a review from a team as a code owner March 19, 2024 20:10
@PauloVilarinho PauloVilarinho requested review from lightalloy and maestromac and removed request for a team March 19, 2024 20:10
Copy link
Contributor

Thank you for opening this PR! We appreciate you!

For all pull requests coming from third-party forks we will need to
review the PR before we can process it through our CI pipelines.

A Forem Team member will review this contribution and get back to
you as soon as possible!

Copy link
Contributor

github-actions bot commented Mar 19, 2024

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@PauloVilarinho
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

@PauloVilarinho
Copy link
Author

recheck

@PauloVilarinho PauloVilarinho force-pushed the PauloVilarinho/fix-error-when-showing-unnapproved-posts-in-sidebar-20772 branch from 4c2e622 to dd5de88 Compare March 19, 2024 20:16
Copy link
Contributor

github-actions bot commented Mar 19, 2024

Uffizzi Ephemeral Environment Deploying

☁️ https://app.uffizzi.com/github.com/forem/forem/pull/20776

⚙️ Updating now by workflow run 8417018632.

What is Uffizzi? Learn more!

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.

Unapproved post appearing in sidebar (for tag that requires approval)
1 participant