-
Notifications
You must be signed in to change notification settings - Fork 1
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
Promo codes #427
base: master
Are you sure you want to change the base?
Promo codes #427
Conversation
packages/mint-components/src/components/sqm-pagination/sqm-pagination.tsx
Outdated
Show resolved
Hide resolved
packages/mint-components/src/components/sqm-pagination/sqm-pagination.tsx
Outdated
Show resolved
Hide resolved
packages/mint-components/src/components/sqm-referral-code/useReferralCode.tsx
Outdated
Show resolved
Hide resolved
packages/mint-components/src/components/views/copy-text-view.tsx
Outdated
Show resolved
Hide resolved
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.
Couple things to cleanup, but otherwise things look good to me
packages/mint-components/src/components/sqm-referral-code/useReferralCode.tsx
Outdated
Show resolved
Hide resolved
packages/mint-components/src/components/sqm-referral-codes/sqm-referral-codes-view.tsx
Outdated
Show resolved
Hide resolved
|
||
/** | ||
* @uiName Referral Codes | ||
* @slots [{"name":"", "title":"Promo Codes Content"}] |
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.
@Slots seem incomplete, should have "empty" and "loading" at least no?
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.
In this case it looks like the loading and empty state are hard-coded in the file, might be a question of whether we should change that
packages/mint-components/src/components/sqm-referral-codes/sqm-referral-codes.tsx
Outdated
Show resolved
Hide resolved
packages/mint-components/src/components/sqm-referral-codes/useReferralCodes.tsx
Outdated
Show resolved
Hide resolved
packages/mint-components/src/components/sqm-referral-codes/useReferralCodes.tsx
Outdated
Show resolved
Hide resolved
@@ -1,7 +1,7 @@ | |||
{ | |||
"name": "@saasquatch/mint-components", | |||
"title": "Mint Components", | |||
"version": "1.11.0", |
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.
Flagging pre-release
Remove |
<sqm-empty | ||
emptyStateHeader="Your new codes and links aren’t ready yet" | ||
emptyStateText="Please contact our program support team to let them know you’re out of codes." | ||
></sqm-empty> |
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.
this empty state is not translatable
Description of the change
Type of change
Links
Checklists
Development
Paperwork
Code review