Skip to content

Store custom page default text in engine minds#4652

Olivia Madrid requested to merge feat/default-policies-m4652 into master

Ticket(s) / Related Merge Requests

minds#4652 (closed)

Summary of Changes

Previously we were storing default text for tenant community guidelines, privacy policy and terms of service in the frontend. Now it is returned from the engine, in a new field defaultContent.

Note: the default text for privacy policy and terms of service now contains placeholders (e.g. {COMPANY NAME}), which makes the UX for using the default text problematic. That is addressed in this ticket: minds#4762

Testing Considerations

Custom pages on tenant sites

Sandbox tenant: https://olivia.oke.minds.io/

Deployment Considerations

Depends on engine!1631 (merged)

Regression Scope

Custom pages on tenant sites (both visiting them as a user and editing them as an admin)

Platform Affected (web, mobile, etc)

Web

Developer Testing Completed

Default text is returned. You can save a custom policy and then switch back to default text. Default text shows up on user-facing policy pages (e.g. /pages/community-guidelines)

Screenshots / Screen Recording

image

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Definition of Done Checklist

  • The Acceptance Criteria has been met
  • Code is tested: Testing includes unit/spec, E2E/automated and manual testing
  • Merge requests description has been filled out
Edited by Olivia Madrid

Merge request reports