Only export paywalled preview text when paywall context experiment is on
Goal
What needs to be done
In !1289 (merged), we brought back 'teaser' text for paywalled media posts, which had been broken as a result of an unrelated bug. We made this change so that we can experiment with whether displaying a small amount of preview text increases Minds+ subscriptions minds#3857 (closed). Because it used to work, we implemented the backend change universally (e.g. NOT only for users in the experiment) and failed to consider how the teaser text would be displayed for users outside of the experiment.
Currently, for users who are not in the experiment, we are only enabling 'read more' when the post's char count is > 280, but only 200 chars are exported for the teaser text. If the user isn't in the experiment, this results in teaser text looking like it just stops in the middle of a sentence, without a graceful transition (such as '...').
As seen in /newsfeed/1485362836300369927:
The easiest way to fix this as was originally intended in minds#3857 (closed) is to "break" the teaser text export again, only for users who are not included in the experiment.
The change should be made in the isStatusPost()
function in Core/Wire/Paywall/Events.php
QA
Paywalled media teaser text
UX/Design
n/a
Mobile
-
Is Mobile Required?
Personas
Experiments
Relates to 'minds-3857-paywall-context'
Acceptance Criteria
-
Don't provide any teaser text for paywalled media posts for users outside of experiment 'minds-3857-paywall-context'
Definition of Ready Checklist
-
Definition Of Done (DoD) -
Acceptance criteria -
Weighted -
QA -
UX/Design -
Personas -
Experiments