Skip to content
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

Fix the world #5861

Merged
merged 8 commits into from
Aug 8, 2023
Merged

Fix the world #5861

merged 8 commits into from
Aug 8, 2023

Conversation

iHiD
Copy link
Member

@iHiD iHiD commented Aug 7, 2023

No description provided.

paymentIntentType === 'payment' ? handlePaymentSubmit : handleSubmit
}
>
<form data-turbo="false" onSubmit={handlePaymentSubmit}>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can get rid of handleSubmit entirely now, and probably a whole ton of unused code

@iHiD iHiD merged commit b2fa632 into stripe-migration Aug 8, 2023
@iHiD iHiD deleted the fix-the-world branch August 8, 2023 16:06
iHiD pushed a commit that referenced this pull request Aug 8, 2023
Adjust tests, update TS, add return links, refactor, etc

Sort out setup_future_usage issue

Remove unused bits, tailor other bits

Add appearance obj

Add different theme objects

DRY

Use card element for subscriptions, refactor things

Fix a wrong type

Update import

Adjust tests

Fix things, and paths

Fix footer form anomaly

Improve TS on application.tsx

Add stripe version to footer cache key

Fix test

Force dark colors on premium and insiders

Refactor things, make card element options adaptive

Format utils better

Pass amount from backend

Delete unused component

Lazy load stripe.js (#5843)

Add styling for load error and loading

Tweak margins

Fix the world (#5861)

* Fix the world

* Tidy up, optimise ExercismStripeElements

* Tidy up StripeForm

* add off_session on Stripe::Subscription.create

* Refactor Form, useStripeForm

* Leave things at a simple, working state

* Fix tests

* One more fix

---------

Co-authored-by: dem4ron <demaaron88@gmail.com>
iHiD pushed a commit that referenced this pull request Aug 8, 2023
Adjust tests, update TS, add return links, refactor, etc

Sort out setup_future_usage issue

Remove unused bits, tailor other bits

Add appearance obj

Add different theme objects

DRY

Use card element for subscriptions, refactor things

Fix a wrong type

Update import

Adjust tests

Fix things, and paths

Fix footer form anomaly

Improve TS on application.tsx

Add stripe version to footer cache key

Fix test

Force dark colors on premium and insiders

Refactor things, make card element options adaptive

Format utils better

Pass amount from backend

Delete unused component

Lazy load stripe.js (#5843)

Add styling for load error and loading

Tweak margins

Fix the world (#5861)

* Fix the world

* Tidy up, optimise ExercismStripeElements

* Tidy up StripeForm

* add off_session on Stripe::Subscription.create

* Refactor Form, useStripeForm

* Leave things at a simple, working state

* Fix tests

* One more fix

---------

Co-authored-by: dem4ron <demaaron88@gmail.com>

Fix bad rebase
iHiD pushed a commit that referenced this pull request Aug 8, 2023
Adjust tests, update TS, add return links, refactor, etc

Sort out setup_future_usage issue

Remove unused bits, tailor other bits

Add appearance obj

Add different theme objects

DRY

Use card element for subscriptions, refactor things

Fix a wrong type

Update import

Adjust tests

Fix things, and paths

Fix footer form anomaly

Improve TS on application.tsx

Add stripe version to footer cache key

Fix test

Force dark colors on premium and insiders

Refactor things, make card element options adaptive

Format utils better

Pass amount from backend

Delete unused component

Lazy load stripe.js (#5843)

Add styling for load error and loading

Tweak margins

Fix the world (#5861)

* Fix the world

* Tidy up, optimise ExercismStripeElements

* Tidy up StripeForm

* add off_session on Stripe::Subscription.create

* Refactor Form, useStripeForm

* Leave things at a simple, working state

* Fix tests

* One more fix

---------

Co-authored-by: dem4ron <demaaron88@gmail.com>

Fix bad rebase
iHiD pushed a commit that referenced this pull request Aug 9, 2023
Adjust tests, update TS, add return links, refactor, etc

Sort out setup_future_usage issue

Remove unused bits, tailor other bits

Add appearance obj

Add different theme objects

DRY

Use card element for subscriptions, refactor things

Fix a wrong type

Update import

Adjust tests

Fix things, and paths

Fix footer form anomaly

Improve TS on application.tsx

Add stripe version to footer cache key

Fix test

Force dark colors on premium and insiders

Refactor things, make card element options adaptive

Format utils better

Pass amount from backend

Delete unused component

Lazy load stripe.js (#5843)

Add styling for load error and loading

Tweak margins

Fix the world (#5861)

* Fix the world

* Tidy up, optimise ExercismStripeElements

* Tidy up StripeForm

* add off_session on Stripe::Subscription.create

* Refactor Form, useStripeForm

* Leave things at a simple, working state

* Fix tests

* One more fix

---------

Co-authored-by: dem4ron <demaaron88@gmail.com>

Fix bad rebase
iHiD added a commit that referenced this pull request Aug 9, 2023
* WIP

* WIP

* WIP

* More WIP

* Fix things

* Add custom input (#5863)

* Add custom input

* Add conditionals

* WIP

* Fix things

* First working iteration

Adjust tests, update TS, add return links, refactor, etc

Sort out setup_future_usage issue

Remove unused bits, tailor other bits

Add appearance obj

Add different theme objects

DRY

Use card element for subscriptions, refactor things

Fix a wrong type

Update import

Adjust tests

Fix things, and paths

Fix footer form anomaly

Improve TS on application.tsx

Add stripe version to footer cache key

Fix test

Force dark colors on premium and insiders

Refactor things, make card element options adaptive

Format utils better

Pass amount from backend

Delete unused component

Lazy load stripe.js (#5843)

Add styling for load error and loading

Tweak margins

Fix the world (#5861)

* Fix the world

* Tidy up, optimise ExercismStripeElements

* Tidy up StripeForm

* add off_session on Stripe::Subscription.create

* Refactor Form, useStripeForm

* Leave things at a simple, working state

* Fix tests

* One more fix

---------

Co-authored-by: dem4ron <demaaron88@gmail.com>

Fix bad rebase

* Fix flow

* Tweak tweak tweak

* Add icons

* Show error on blur (#5865)

* Improvements

* Fix missing import

* Fix mismatch

* Fix breaking StripeElementAmount

* Tweak insiders page copy

* Remove final references to Premium

---------

Co-authored-by: Aron Demeter <66035744+dem4ron@users.noreply.github.com>
Co-authored-by: dem4ron <demaaron88@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants