Skip to content

[front] Custom homepage for tenants minds#4777

Ben requested to merge feat/tenant-homepage-m4777 into master

Ticket(s) / Related Merge Requests

Summary of Changes

Custom tenant homepage minds#4777 (closed)

Testing Considerations

Bound to https://ben3.oke.minds.io/

Deviations from design agreed with @chints98

  • Non tenants see correct homepage.
  • Setting to enable and description persist on refresh in the admin console.
  • When option to enable is OFF, you see the guest mode homepage on the tenants homepage.
  • When option to enable is ON, you see the custom tenant homepage for the tenants homepage.
  • Light mode custom tenant homepage works
  • Dark mode custom tenant homepage
  • When there are no featured groups, featured groups section does not appear.
  • When there are featured groups, featured groups section appears.
  • When there are no site memberships, site memberships section does not appear.
  • When there are site memberships, site memberships section appears.
  • Meta description (og:description) matches custom description set in admin panel on homepage.
  • Clicking to purchase a membership navigates you to checkout on register when onboarding is completed.
  • Clicking to purchase a membership navigates you to checkout when switching to login and logging in.
  • Clicking to purchase a membership does not navigate you if you click back on the register modal.
  • Clicking on a featured group avatar takes you to the featured group.
  • SSR server is showing no errors on page load.
  • About product page topbar works and looks correct.

Deployment Considerations

Update the database:

ALTER TABLE `minds_tenant_configs`
    ADD custom_home_page_enabled boolean 
    AFTER community_guidelines;

ALTER TABLE `minds_tenant_configs`
    ADD custom_home_page_description text 
    AFTER custom_home_page_enabled;

Regression Scope

  • Homepage for tenants.
  • Topbar.
  • Tenant admin console general tab.

Platform Affected (web, mobile, etc)

Web.

Developer Testing Completed

Manual, unit (jasmine/karma).

Screenshots / Screen Recording

Non tenants see correct homepage.

image

By default on no data, you see the guest mode theme

image

Setting to enable and description persist on refresh in the admin console.

simplescreenrecorder-2024-04-16_09.34.25

When option to enable is OFF, you see the guest mode homepage on the tenants homepage.

image

When option to enable is ON, you see the custom tenant homepage for the tenants homepage.

image

Light mode custom tenant homepage works

simplescreenrecorder-2024-04-16_09.51.53

Dark mode custom tenant homepage

simplescreenrecorder-2024-04-16_09.48.39

When there are no featured groups, featured groups / no site memberships, sections does not appear.

image

When there are featured groups / site memberships, sections appear.

simplescreenrecorder-2024-04-16_09.48.39

Meta description (og:description) matches custom description set in admin panel on homepage.

image

Clicking to purchase a membership navigates you to checkout on register when onboarding is completed.

simplescreenrecorder-2024-04-16_09.52.49

Clicking to purchase a membership navigates you to checkout when switching to login and logging in.

simplescreenrecorder-2024-04-16_09.59.46

Clicking to purchase a membership does not navigate you if you click back on the register modal.

simplescreenrecorder-2024-04-16_10.00.31

Clicking on a featured group avatar takes you to the featured group.

simplescreenrecorder-2024-04-16_10.00.50

About product page topbar works and looks correct.

image

image

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 Ben

Merge request reports