-
Notifications
You must be signed in to change notification settings - Fork 41
Use Lite for the payments pages and add coupons tabs #2563
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
Merged
Merged
Changes from all commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
b2f1a18
Start working on using Lite for the Stripe add-on
Crabcyborg d246952
Fix issue with new page routing
Crabcyborg 9ddabbd
Add the bottom border below the tabs
Crabcyborg 4695dec
Add a new hook and change the coupons URL
Crabcyborg e49d998
Make route handling more flexible
Crabcyborg 304762d
Improve tabs logic
Crabcyborg e9c69f3
Add more filters
Crabcyborg ddbe5c7
Add a coupon field
Crabcyborg 8952467
Add a trans lite route handled hook
Crabcyborg ebeb13f
Use payments as the page title
Crabcyborg 20b07ac
Merge branch 'master' into coupons
Crabcyborg 3e4a640
Merge branch 'master' into coupons
Crabcyborg b1a592a
Update the coupon field icon
Crabcyborg b436b30
Add support for a limit attribute for field selection
Crabcyborg f4fff05
Line up vars better
Crabcyborg c04122c
Translate the admin string
Crabcyborg f10a6e1
Show coupon field as new
Crabcyborg 886dca1
Add new clipboard icon
Crabcyborg b4947ab
Add the new tab icon
Crabcyborg 50e94d4
Build js
Crabcyborg 598c5ad
Working on adding upsells for coupons
Crabcyborg 68ad201
Add the conditional action button to the upsell page
Crabcyborg abcb3c5
Use h2
Crabcyborg 895760a
Fix coupon field icon size issues in views customize sidebar
Crabcyborg 60ef728
Merge branch 'master' into coupons
Crabcyborg 694baa2
Prevent dragging gdpr into field group in repeater, and add a new fil…
Crabcyborg 08c0525
Commit compiled Js
Crabcyborg 2bb57f8
Add the cb column
Crabcyborg 6a6b515
Fallback to payments submodule for bulk deleting payments
Crabcyborg 45446a5
Fix fatal error issue
Crabcyborg 87b1050
Remove PayPal fallback logic
Crabcyborg 18b141a
Improve compatibility with PayPal
Crabcyborg 353e945
Improve compatibility with PayPal
Crabcyborg 4b4dc3e
Improve compatibility with PayPal
Crabcyborg fcd7f74
Add PayPal check before excluding the mode column
Crabcyborg 19c59cf
Add comments
Crabcyborg e18d51f
Add an edit link in the payments sidebar
Crabcyborg d04f7fb
Get capture a Stripe payment working
Crabcyborg d98cf62
Always call add_list_hooks
Crabcyborg 233b1d1
Merge branch 'master' into coupons
Crabcyborg 877866f
Merge branch 'master' into coupons
Crabcyborg 2615511
Update compiled files
Crabcyborg 1317164
Merge branch 'master' into coupons
Crabcyborg 9dda552
Exclude unminified coupon scripts from zip file
Crabcyborg c3e13b8
Merge branch 'master' into coupons
Crabcyborg d241d00
Enforce permissions
Crabcyborg 858eebc
Remove unused function
Crabcyborg 66ccde0
Return false like other logic in function does
Crabcyborg 7f5c5a5
Merge branch 'master' into coupons
Crabcyborg f87e194
Set the coupons release date
Crabcyborg 9876586
Fix a bug with adding slider fields
Crabcyborg fd8ac94
Run phpcbf and php cs fixer
Crabcyborg 398df4f
Merge branch 'master' into coupons
Crabcyborg a3e0256
Merge branch 'master' into coupons
Crabcyborg 7b79378
Run rector
Crabcyborg 877de18
Clean up
Crabcyborg 27db091
Remove empty scss file
Crabcyborg 8f6138e
Merge branch 'master' into coupons
Crabcyborg 79792cc
Merge branch 'master' into coupons
Crabcyborg f065c14
Merge branch 'master' into coupons
Crabcyborg 8950567
Pass gateways as an arg and use gateway label like we do in Payments …
Crabcyborg a7b6c73
Merge branch 'master' into coupons
Crabcyborg bcd4eb5
Add some function descriptions
Crabcyborg 2b8a067
Merge branch 'master' into coupons
Crabcyborg 72962a1
Merge branch 'master' into coupons
Crabcyborg 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
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| .frm-coupons-upsell-wrapper { | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
|
|
||
| p { | ||
| margin-top: var(--gap-xs); | ||
| max-width: 364px; | ||
| text-align: center; | ||
| } | ||
|
|
||
| img { | ||
| max-width: 100%; | ||
| max-height: 300px; | ||
| } | ||
|
|
||
| h2 { | ||
| margin-bottom: 0; | ||
| } | ||
| } | ||
|
|
||
| .frm-coupons-upsell { | ||
| background-color: #F5F5F7; // This color blends better with the optimized images. | ||
| border-radius: 16px; | ||
| border: 6px solid #fff; | ||
| box-shadow: 0 0.471px 1.412px 0 rgba(16, 24, 40, 0.10), 0 0.471px 0.941px 0 rgba(16, 24, 40, 0.06); | ||
| text-align: center; | ||
| width: 100%; | ||
| box-sizing: border-box; | ||
| } | ||
|
|
||
| .frm-main-coupons-upsell { | ||
| margin-top: var(--gap-lg); | ||
|
|
||
| img { | ||
| vertical-align: bottom; | ||
| } | ||
| } | ||
|
|
||
| .frm-secondary-coupons-upsells { | ||
| margin-top: var(--gap-md); | ||
| width: 100%; | ||
| } |
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.
Uh oh!
There was an error while loading. Please reload this page.