Skip to content

[front] Add affiliate earnings to affiliate settings page minds#3946

Ben requested to merge feat/show-aff-earn-m3946 into master

Ticket(s) / Related Merge Requests

Summary of Changes

Add affiliate earnings amount to affiliate earnings page as per issue card.

Testing Considerations

Page is at /settings/affiliates-program.

First, be sure for a user with no earnings, the value shows $0.00.

Simple path to see a value in the amount

DM me for a password to testaffiliateearnings

Test your own values

Access the Cassandra pods cqlsh shell.

Interpolate your GUID into the below and change the amount_cents to whatever you want to be displayed.

INSERT INTO "minds"."partner_earnings_ledger" ("user_guid","timestamp","item","amount_cents") VALUES (1500469199087079431,'2023-05-02 00:00:00.000+0000','affiliate',5270);

Deployment Considerations

Standard deployment.

Regression Scope

Affiliate settings page.

Platform Affected (web, mobile, etc)

Web

Developer Testing Completed

Manual, unit.

Screenshots / Screen Recording

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