Skip to content

Hide Sidebar for Draft Article#23116

Merged
benhalpern merged 5 commits intoforem:mainfrom
FrancisTRAlt:Francis/HideMod
Apr 14, 2026
Merged

Hide Sidebar for Draft Article#23116
benhalpern merged 5 commits intoforem:mainfrom
FrancisTRAlt:Francis/HideMod

Conversation

@FrancisTRAlt
Copy link
Copy Markdown
Contributor

@FrancisTRAlt FrancisTRAlt commented Apr 9, 2026

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

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

Description

This PR address the issue where the Mod Icon and the 3 dots appear on the left side of the article when it is currently a Draft Article

image

This PR fix the issue where the Mod Icon and the 3 dots are hidden when the article is a Draft. If the article is published (No longer a draft), the bar appears that include the multiple reactions, the Mod Icon, and the three dots on the left side.

Related Tickets & Documents

QA Instructions, Screenshots, Recordings

Make sure you are signed in.

  • Click "Create Post".
  • Enter text and save the post as a draft.
  • You should see the 3 dots and the Mod Icon hidden.

What gif best describes this PR or how it makes you feel?

Fire

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

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!

@FrancisTRAlt FrancisTRAlt marked this pull request as ready for review April 9, 2026 18:50
@FrancisTRAlt FrancisTRAlt requested a review from a team as a code owner April 9, 2026 18:50
@FrancisTRAlt
Copy link
Copy Markdown
Contributor Author

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

Copy link
Copy Markdown
Contributor

@benhalpern benhalpern left a comment

Choose a reason for hiding this comment

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

This looks good to me. Thanks for the change.

Heads up: In the future this type of change should include a new rspec test even if it's small. We can accept this without but in general it's what we're looking for.

@benhalpern benhalpern merged commit 574112e into forem:main Apr 14, 2026
19 checks passed
@FrancisTRAlt FrancisTRAlt deleted the Francis/HideMod branch April 14, 2026 17:50
@FrancisTRAlt
Copy link
Copy Markdown
Contributor Author

@benhalpern Sounds good. Updated the Description of all of my available PR to indicate whether I added, modify or needed help for tests!

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.

Mod Icon and 3 dots at the left showing on a draft article

2 participants