Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Strift
Copy link
Contributor

@Strift Strift commented Feb 27, 2025

This PR:

  • Add default values for Hubspot form
  • Add a prebuild script that checks that the env are available
  • Bump version to create a new release

@Strift Strift requested review from curquiza and mdubus February 27, 2025 12:58
{
"name": "mini-dashboard",
"version": "0.2.17",
"version": "0.2.18",
Copy link
Member

Choose a reason for hiding this comment

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

Can we create a different PR for the version upgrade? 🙏

Copy link
Member

Choose a reason for hiding this comment

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

We want to be fast on this one since the engine team is waiting + timezone issue between Laurent and us, so I would go with this even if it's not really clean, I agree 😊

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the feedback, I will keep that in mind for the future.

})

it('Should allow subscribing to the newsletter', () => {
cy.get('input[placeholder="Enter your email"]').type('[email protected]')
Copy link
Member

Choose a reason for hiding this comment

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

Will this trigger the subscription, or is it caught somewhere to not send it in testing environment?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This triggers a subscription, but nothing happens when you subscribe with an existing email.

Copy link
Member

Choose a reason for hiding this comment

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

Can you explain what you mean by "nothing happens when you subscribe with an existing email"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You can see that there are multiple submissions, but the contact is simply "upserted" there is no duplicate contacts created in HubSpot. You can see the forms submissions here: https://app-eu1.hubspot.com/submissions/25945010/form/991e2a09-77c2-4428-9242-ebf26bfc6c64/submissions?redirectUrl=https://app-eu1.hubspot.com/forms/25945010/views/all_forms

Copy link
Member

Choose a reason for hiding this comment

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

Ok I'm wondering if we could have improved it by either providing a fake email or having intercepted the request to avoid spamming Hubspot's API 🤔
Approving for now since it's urgent but we should consider doing this test in a different way 🥲

@curquiza curquiza added the bug Something isn't working label Mar 3, 2025
@Strift Strift requested a review from mdubus March 4, 2025 05:37
@Strift
Copy link
Contributor Author

Strift commented Mar 4, 2025

bors merge

Copy link
Contributor

meili-bors bot commented Mar 4, 2025

Build succeeded:

@meili-bors meili-bors bot merged commit a916648 into main Mar 4, 2025
5 checks passed
@meili-bors meili-bors bot deleted the fix/hubspot-form branch March 4, 2025 10:32
meili-bors bot added a commit to meilisearch/meilisearch that referenced this pull request Mar 4, 2025
5385: Bump mini-dashboard v0.2.18 r=Kerollmops a=Strift

## Description

The previous build didn't have the environment variable correctly configured, so form submissions didn't work. 

We fixed the build in meilisearch/mini-dashboard#592, and this PR uses the new mini-dashboard build.

Related to #5361.

## To-do

- [x] Update assets-url
- [x] Update sha1

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!


5388: Update version for the next release (v1.13.3) in Cargo.toml r=Kerollmops a=meili-bot

⚠️ This PR is automatically generated. Check the new version is the expected one and Cargo.lock has been updated before merging.

Co-authored-by: Strift <[email protected]>
Co-authored-by: Kerollmops <[email protected]>
Co-authored-by: Kerollmops <[email protected]>
meili-bors bot added a commit to meilisearch/meilisearch that referenced this pull request Mar 4, 2025
5385: Bump mini-dashboard v0.2.18 r=Kerollmops a=Strift

## Description

The previous build didn't have the environment variable correctly configured, so form submissions didn't work. 

We fixed the build in meilisearch/mini-dashboard#592, and this PR uses the new mini-dashboard build.

Related to #5361.

## To-do

- [x] Update assets-url
- [x] Update sha1

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!


5388: Update version for the next release (v1.13.3) in Cargo.toml r=Kerollmops a=meili-bot

⚠️ This PR is automatically generated. Check the new version is the expected one and Cargo.lock has been updated before merging.

Co-authored-by: Strift <[email protected]>
Co-authored-by: Kerollmops <[email protected]>
Co-authored-by: Kerollmops <[email protected]>
meili-bors bot added a commit to meilisearch/meilisearch that referenced this pull request Mar 4, 2025
5385: Bump mini-dashboard v0.2.18 r=Kerollmops a=Strift

## Description

The previous build didn't have the environment variable correctly configured, so form submissions didn't work. 

We fixed the build in meilisearch/mini-dashboard#592, and this PR uses the new mini-dashboard build.

Related to #5361.

## To-do

- [x] Update assets-url
- [x] Update sha1

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!


Co-authored-by: Strift <[email protected]>
meili-bors bot added a commit to meilisearch/meilisearch that referenced this pull request Mar 4, 2025
5385: Bump mini-dashboard v0.2.18 r=Kerollmops a=Strift

## Description

The previous build didn't have the environment variable correctly configured, so form submissions didn't work. 

We fixed the build in meilisearch/mini-dashboard#592, and this PR uses the new mini-dashboard build.

Related to #5361.

## To-do

- [x] Update assets-url
- [x] Update sha1

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!


5391: Skip snapshots on windows r=dureuill a=Kerollmops

Reapplying #5383 in v1.13.3 because it blocks the CI.

Co-authored-by: Strift <[email protected]>
Co-authored-by: Kerollmops <[email protected]>
meili-bors bot added a commit to meilisearch/meilisearch that referenced this pull request Mar 4, 2025
5385: Bump mini-dashboard v0.2.18 r=Kerollmops a=Strift

## Description

The previous build didn't have the environment variable correctly configured, so form submissions didn't work. 

We fixed the build in meilisearch/mini-dashboard#592, and this PR uses the new mini-dashboard build.

Related to #5361.

## To-do

- [x] Update assets-url
- [x] Update sha1

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!


Co-authored-by: Strift <[email protected]>
meili-bors bot added a commit to meilisearch/meilisearch that referenced this pull request Mar 5, 2025
5385: Bump mini-dashboard v0.2.18 r=Kerollmops a=Strift

## Description

The previous build didn't have the environment variable correctly configured, so form submissions didn't work. 

We fixed the build in meilisearch/mini-dashboard#592, and this PR uses the new mini-dashboard build.

Related to #5361.

## To-do

- [x] Update assets-url
- [x] Update sha1

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!


Co-authored-by: Strift <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants