-
Notifications
You must be signed in to change notification settings - Fork 34
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
PLANET-7648: Added opt-in archive notice on old posts #2445
Open
mardelnet
wants to merge
8
commits into
main
Choose a base branch
from
PLANET-7648_add-opt-in-archive-notice-on-old-posts
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
PLANET-7648: Added opt-in archive notice on old posts #2445
mardelnet
wants to merge
8
commits into
main
from
PLANET-7648_add-opt-in-archive-notice-on-old-posts
+170
−0
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Add new feature flag
- Add new default content
- Pass content to the twig template
- Add styles and clean code
- Show or hide notice based on the date
- Improve code logic
- Improve code logic - Add migration script
planet-4
added a commit
to greenpeace/planet4-test-proteus
that referenced
this pull request
Nov 18, 2024
/unhold 48aefdf8-fb62-4794-a753-8b91edf2b9ac
- Fix lint issues
mardelnet
force-pushed
the
PLANET-7648_add-opt-in-archive-notice-on-old-posts
branch
from
November 18, 2024 15:20
4f06e93
to
764fda1
Compare
planet-4
added a commit
to greenpeace/planet4-test-proteus
that referenced
this pull request
Nov 18, 2024
/unhold 59469376-effa-412a-84bd-0f1f877f7110
planet-4
added a commit
to greenpeace/planet4-test-proteus
that referenced
this pull request
Nov 18, 2024
/unhold f1c64a74-32c8-46a7-adb2-57a328a7d986
mardelnet
requested review from
a team,
sagarsdeshmukh,
GP-Dan-Tovbein and
Osong-Michael
and removed request for
a team
November 18, 2024 15:34
Test instance is ready 🚀🌑 proteus | admin | blocks report | CircleCI | composer-local.json ⌚ 2024.11.18 15:38:40 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Ref: https://jira.greenpeace.org/browse/PLANET-7648
DESCRIPTION:
This PR allows website editors to show notices on really old posts so that end users know that the information there may not be relevant anymore. It also includes a migration script to pre-populate the content for this new feature.