-
Notifications
You must be signed in to change notification settings - Fork 1
Cash payouts auto funding #478
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
Open
Zach Harrison (zachharrison)
wants to merge
29
commits into
master
Choose a base branch
from
cash-payouts-auto-funding
base: master
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
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
3466d93
Add processing status to rewards cell
zachharrison a50cd0f
Add processing to referral table rewards cell
zachharrison c479b69
Version bump
zachharrison fa67392
Update stories
zachharrison be97424
Seperate tax and cash rewards cells
zachharrison 39098b3
Finish rewards table stories
zachharrison 64cbeea
Delete comment
zachharrison c085324
Delete console log
zachharrison aec2932
Add new Tax and Cash stories
zachharrison 0772137
update status logic
zachharrison 3765ee2
Add cases to tax and cash rewards cases
zachharrison 98338e6
Finish referral rewards cell stories
zachharrison 2335c9f
Add stories for tax and cash referral table
zachharrison 3849d11
Merge branch 'master' into cash-payouts-auto-funding
zachharrison 1246624
Update packages/mint-components/src/components/sqm-rewards-table/cell…
zachharrison f313a11
Update packages/mint-components/src/components/sqm-rewards-table/cell…
zachharrison 7624350
Update packages/mint-components/src/components/sqm-referral-table/cel…
zachharrison 543e866
Update packages/mint-components/src/components/sqm-referral-table/cel…
zachharrison 5a8c460
Update copy
zachharrison 5f3a505
Update stories
zachharrison 07a2aed
Update status column specs
zachharrison e0843f0
Add PFT specific specs
zachharrison c000b47
Publish pre release
zachharrison 316902d
fix queries, tax and cash form issue
00salmon 326d2aa
Apply suggestion from @Copilot
00salmon d0f0b99
code review, changelog update
00salmon 9e2ef12
more cleanup
00salmon ea3935c
Merge branch 'cash-payouts-auto-funding' of https://github.com/saasqu…
00salmon efa89b8
fix typo in copy, share logic from other cell
00salmon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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
This file contains hidden or 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
118 changes: 118 additions & 0 deletions
118
...ges/mint-components/src/components/sqm-referral-table/TaxAndCashReferralTable.stories.tsx
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,118 @@ | ||
| import { h } from "@stencil/core"; | ||
| import { GenericTableView } from "../../tables/GenericTableView"; | ||
| import { | ||
| Converted as ConvertedStatus, | ||
| DateCell, | ||
| } from "./ReferralTableCell.stories"; | ||
| import { | ||
| PayoutApproved, | ||
| PayoutProcessing, | ||
| PayoutFailed, | ||
| PayoutCancelled, | ||
| PendingTaxReview, | ||
| PendingNewTaxForm, | ||
| PendingTaxSubmission, | ||
| PendingPartnerCreation, | ||
| PendingW9, | ||
| CashReward, | ||
| } from "./TaxAndCashReferralTableRewardsCell.stories"; | ||
|
|
||
| export default { | ||
| title: "Components/Tax And Cash Referral Table", | ||
| }; | ||
|
|
||
| const taxAndCashTableProps = { | ||
| states: { | ||
| hasPrev: false, | ||
| hasNext: true, | ||
| show: "rows" as const, | ||
| namespace: "sqm-referral-table", | ||
| }, | ||
| data: { | ||
| textOverrides: { | ||
| showLabels: true, | ||
| prevLabel: "Prev", | ||
| moreLabel: "View More", | ||
| }, | ||
| hiddenColumns: "", | ||
| mdBreakpoint: 799, | ||
| smBreakpoint: 599, | ||
| }, | ||
| callbacks: { | ||
| prevPage: () => console.log("Prev"), | ||
| nextPage: () => console.log("Next"), | ||
| }, | ||
|
|
||
| elements: { | ||
| columns: ["Customer", "Status", "Date converted", "Rewards"], | ||
| rows: [ | ||
| [ | ||
| <sqm-referral-table-user-cell name="Payout Approved User"></sqm-referral-table-user-cell>, | ||
| <ConvertedStatus />, | ||
| <DateCell />, | ||
| <PayoutApproved />, | ||
| ], | ||
|
|
||
| [ | ||
| <sqm-referral-table-user-cell name="Payout Failed User"></sqm-referral-table-user-cell>, | ||
| <ConvertedStatus />, | ||
| <DateCell />, | ||
| <PayoutFailed />, | ||
| ], | ||
| [ | ||
| <sqm-referral-table-user-cell name="Payout Cancelled User"></sqm-referral-table-user-cell>, | ||
| <ConvertedStatus />, | ||
| <DateCell />, | ||
| <PayoutCancelled />, | ||
| ], | ||
|
|
||
| [ | ||
| <sqm-referral-table-user-cell name="Tax Review User"></sqm-referral-table-user-cell>, | ||
| <ConvertedStatus />, | ||
| <DateCell />, | ||
| <PendingTaxReview />, | ||
| ], | ||
| [ | ||
| <sqm-referral-table-user-cell name="Payout Processing User"></sqm-referral-table-user-cell>, | ||
| <ConvertedStatus />, | ||
| <DateCell />, | ||
| <PayoutProcessing />, | ||
| ], | ||
| [ | ||
| <sqm-referral-table-user-cell name="New Tax Form User"></sqm-referral-table-user-cell>, | ||
| <ConvertedStatus />, | ||
| <DateCell />, | ||
| <PendingNewTaxForm />, | ||
| ], | ||
| [ | ||
| <sqm-referral-table-user-cell name="Tax Submission User"></sqm-referral-table-user-cell>, | ||
| <ConvertedStatus />, | ||
| <DateCell />, | ||
| <PendingTaxSubmission />, | ||
| ], | ||
| [ | ||
| <sqm-referral-table-user-cell name="Partner Creation User"></sqm-referral-table-user-cell>, | ||
| <ConvertedStatus />, | ||
| <DateCell />, | ||
| <PendingPartnerCreation />, | ||
| ], | ||
| [ | ||
| <sqm-referral-table-user-cell name="Missing W9 User"></sqm-referral-table-user-cell>, | ||
| <ConvertedStatus />, | ||
| <DateCell />, | ||
| <PendingW9 />, | ||
| ], | ||
|
|
||
| [ | ||
| <sqm-referral-table-user-cell name="Standard Cash User"></sqm-referral-table-user-cell>, | ||
| <ConvertedStatus />, | ||
| <DateCell />, | ||
| <CashReward />, | ||
| ], | ||
| ], | ||
| }, | ||
| }; | ||
|
|
||
| export const TaxAndCashReferralTable = () => { | ||
| return <GenericTableView {...taxAndCashTableProps}></GenericTableView>; | ||
| }; |
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider version bump: The PR adds new functionality (PROCESSING status support) which typically warrants a minor version bump (2.1.0) rather than a patch version bump (2.0.11). According to semantic versioning, new features should increment the minor version. However, if this is part of a larger release or there's a specific versioning strategy in place, this may be intentional.