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
Split laika form tracking #1630
Conversation
b18f1b9
to
d105e14
Compare
@@ -134,13 +139,18 @@ export default Vue.extend( { | |||
document.getElementsByClassName( 'help is-danger' )[ 0 ].scrollIntoView( { behavior: 'smooth', block: 'center', inline: 'nearest' } ); | |||
return; | |||
} | |||
this.$emit( 'submit-donation' ); | |||
( this as any ).submitDonationForm(); |
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.
😭 😞
Nothing you can do here with our current setup, I'm really looking forward to Vue 3
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.
Yeah, I was surprised the function is not recognized by TS.
I know we have other cases like this and there's no TS complaint there, idk 🤷♀️
<div class="payment-page"> | ||
<form name="laika-donation-payment-data" | ||
id="laika-donation-payment-data" | ||
class="payment-page column is-full" |
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.
I'd lose the "data" suffix here, because it's kind of implied. "Personal data" is a compund word, but "payment" would suffice imho. But that's just my personal taste and me trying to avoid any hints of AbstractDataFactoryModelManagerContainerHelper.
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.
Looks fine and works fine in user-testing though I have not checked the details of the form tracking of Matomo.
d105e14
to
7bed569
Compare
Feature: T231555
Split the form in
laika
skin into two forms - payment and personal data.This will enable us to set up more thorough tracking in Matomo.