chore: shared post private changes #4136
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
2 more changes related to shared post (one more for cards coming once we get design)
1st:
![Screenshot 2025-01-31 at 15 49 53](https://private-user-images.githubusercontent.com/554874/408591581-956248aa-f831-4db1-81be-16eb9e9becd7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5OTQ4MjQsIm5iZiI6MTczODk5NDUyNCwicGF0aCI6Ii81NTQ4NzQvNDA4NTkxNTgxLTk1NjI0OGFhLWY4MzEtNGRiMS04MWJlLTE2ZWI5ZTliZWNkNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOFQwNjAyMDRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01YTMwMDllYTM5MTIwZTM3NWM1ZWNiYmY4ZmQ2Zjg4NzE5NTdmYmY0YjFjYmNhMjgyOWViNjJlYzJiMzlmMGViJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.RY9kBYHePpd2sFjUaNPB_Y6BWIJboR3J55lu2aAEn84)
Any private post now renders as private with a read post button that links to squad. (reminder: card change still coming)
2nd:
![Screenshot 2025-01-31 at 15 57 37](https://private-user-images.githubusercontent.com/554874/408591540-24c32df0-4714-48c5-9470-18aec3b8f612.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5OTQ4MjQsIm5iZiI6MTczODk5NDUyNCwicGF0aCI6Ii81NTQ4NzQvNDA4NTkxNTQwLTI0YzMyZGYwLTQ3MTQtNDhjNS05NDcwLTE4YWVjM2I4ZjYxMi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOFQwNjAyMDRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00ZWU3NGEwNmY0MGNkZTM1NDA3N2NmODc0ZmIyMjc2ZmFmNTI0MmY0MjQ4ODFhNDNkMDM2ZTg0Y2E5MGQ4N2RhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.5A-Wd8h1p62FCepsDxnnHqyu52ZdzluTvmpydorZwiU)
Viewing private posts should show unauthorised message not the 404.
Events
Did you introduce any new tracking events?
Experiment
Did you introduce any new experiments?
Manual Testing
Caution
Please make sure existing components are not breaking/affected by this PR
Preview domain
https://chore-shared-post-changes.preview.app.daily.dev