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: handle various phone number formats #59

Merged

Conversation

sgoycoechea-lightit
Copy link
Collaborator

Light It Pull Request Template ⚡⚡⚡

Resolve: 86dqu9t9g

Description and Requires ⭐

Improved the validation of the phone number input, to accept anything that has 10 digits in it.

Proof of Test (optional) 📷

Screenshot 2023-12-20 at 17 13 34

Checklist ✅

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@sgoycoechea-lightit sgoycoechea-lightit force-pushed the fix/CU-86dqu9t9g/handle-various-phone-number-formats branch from 5fcdca2 to cd75074 Compare December 21, 2023 13:14
@cgarcia-lightit cgarcia-lightit merged commit c4858fb into develop Dec 21, 2023
1 check passed
cgarcia-lightit added a commit that referenced this pull request Dec 28, 2023
* [FEATURE][CU-865da45qm] Athletes Feedback Survey (#36)

* feat: add new form to save athletes feedback survey and refactor some stuff

* review: modify by code review

* [FEATURE][CU-86dqk6etj] Some Basics step (#37)

* feature: do the following changes
* Refactor navbar
* Do the foother
* configure scaffolding for seniors and cancer profile
* remove unnecesary logic
* Change some styles.

* fix: change param name.

* feat: add senior profiling

* feature: add senior profiling page, and thank you page

* review: do some changes from code review

* Feature/86dqkm09a pass state to profiling form (#38)

* feature: do the following changes
* Refactor navbar
* Do the foother
* configure scaffolding for seniors and cancer profile
* remove unnecesary logic
* Change some styles.

* fix: change param name.

* feat: add senior profiling

* feature: add senior profiling page, and thank you page

* change base components

* feat: some improvements and change email validation endpoint, add also the state, add symptoms from website to populate profiling form. and add payment state to show payment on profiling

* feat: add the following changes
* add interfaces to useApi
* reset store when start a new flow and when end a flow
* add payment variable to jotforms

* improvent: add enum to reuse it in the code

* change right arrow ti icons files

* review: add changes for code review

* remove spaces and change prettier config

* review: do changes from code review

* fix: resolve some problems

* fix: add dist folder

* feature: add origin to redirec back, to able diferents domains redirections. (#39)

* [FEATURE][86dqm7ndu] Add experience with cannabis (#40)

* feature: add experience with cannabis and pass it to profiling form

* feat: add dist files

* feat: fix styles in staging and production environment

* feat: changes modal on header and look and fell, add new environment to web app url and fix some redirections back (#41)

* [FEATURE][86dqp22d7] Cancer Care Signup/Pilot site Updates (#42)

* feat: implement all the changes for thank you page.

* fix: some styles changes

* feat: add changes from code review

* [FEATURE][86dqp22d7] Cancer Care Signup/Pilot site Updates (#43)

* feat: implement all the changes for thank you page.

* fix: some styles changes

* feat: add changes from code review

* fix: fixin some stiles for webflow classes

* Update UI for patient/caregiver question

* remove unused radio

* Update for mobile viewing

* [FEATURE][86dqnp6fy] Update Seniors Care Plan Signup (#45)

* feature: add senior endpoint and connect to profiling thank you page.

* review: add return type from laravel api

* feature: add email value to cancer/senior profilings to identify the jotforms submission on jotforms admin panel

* [FEATURE][86dqnavqf] Implement Seniors Feedback Survey (#47)

* feature: add pages for senior survey

* feature: change return type on success case on post senior survey

* [FEATURE][86dqqqw1h] Updates to Thank you page (#46)

* feature: change icons from carrousel on thank you page, remove unused route, add new color to tailwind and rename some icons

* feat: modify subscribe section

* feature: change copy on creation account (#48)

* [FEATURE][86dqteqh5] Update the "Which best describes you" screen title and option labels (#49)

* feature: change some copies

* review: change some clases for tailwind

* feature: make rounded panel white as figma design reference

* feature: add shadow to the card

* fix: add compiled files

* [BUGFIX] Resolve bad merge conflicts. (#50)

* feature: change icons from carrousel on thank you page, remove unused route, add new color to tailwind and rename some icons

* feat: modify subscribe section

* feature: add new icons for carrousel

* Update steps copy

* build

* deploy: add builds to deploy (#53)

* [FEATURE][86dqv7bbn] Cancer Caregiver Survey (#54)

* feature: add caregiver survey for profiled caregivers

* feature: implement code-review

* feature: implement code-review

* fix: resolve typo error (#55)

* bugfix: hidde the panel eo in your inbox (#56)

* feature: add title to corrousel section (#57)

* feat: add new compiles files (#58)

* fix: handle various phone number formats (#59)

* feature: change query string and prevent remove the query paramas payment to lost the reference of flow (#60)

* Bugfix/86dqubvn8/error typo (#61)

* fix: resolve typo error

* bugfix: remove double your

* fix: new assets

* chore: update thank you page emails

* fix: change privacy policy link

* chore: add bundle

* merge: Fixed conflicts between main and dev:

* merge: Fixed conflicts between main and dev

---------

Co-authored-by: LeoBLightIt <[email protected]>
Co-authored-by: LeoBLightIt <[email protected]>
Co-authored-by: sgoycoechea-lightit <[email protected]>
Co-authored-by: sgoycoechea-lightit <[email protected]>
Co-authored-by: Lucas Lois <[email protected]>
cgarcia-lightit added a commit that referenced this pull request Jan 3, 2024
* [FEATURE][CU-865da45qm] Athletes Feedback Survey (#36)

* feat: add new form to save athletes feedback survey and refactor some stuff

* review: modify by code review

* [FEATURE][CU-86dqk6etj] Some Basics step (#37)

* feature: do the following changes
* Refactor navbar
* Do the foother
* configure scaffolding for seniors and cancer profile
* remove unnecesary logic
* Change some styles.

* fix: change param name.

* feat: add senior profiling

* feature: add senior profiling page, and thank you page

* review: do some changes from code review

* Feature/86dqkm09a pass state to profiling form (#38)

* feature: do the following changes
* Refactor navbar
* Do the foother
* configure scaffolding for seniors and cancer profile
* remove unnecesary logic
* Change some styles.

* fix: change param name.

* feat: add senior profiling

* feature: add senior profiling page, and thank you page

* change base components

* feat: some improvements and change email validation endpoint, add also the state, add symptoms from website to populate profiling form. and add payment state to show payment on profiling

* feat: add the following changes
* add interfaces to useApi
* reset store when start a new flow and when end a flow
* add payment variable to jotforms

* improvent: add enum to reuse it in the code

* change right arrow ti icons files

* review: add changes for code review

* remove spaces and change prettier config

* review: do changes from code review

* fix: resolve some problems

* fix: add dist folder

* feature: add origin to redirec back, to able diferents domains redirections. (#39)

* [FEATURE][86dqm7ndu] Add experience with cannabis (#40)

* feature: add experience with cannabis and pass it to profiling form

* feat: add dist files

* feat: fix styles in staging and production environment

* feat: changes modal on header and look and fell, add new environment to web app url and fix some redirections back (#41)

* [FEATURE][86dqp22d7] Cancer Care Signup/Pilot site Updates (#42)

* feat: implement all the changes for thank you page.

* fix: some styles changes

* feat: add changes from code review

* [FEATURE][86dqp22d7] Cancer Care Signup/Pilot site Updates (#43)

* feat: implement all the changes for thank you page.

* fix: some styles changes

* feat: add changes from code review

* fix: fixin some stiles for webflow classes

* Update UI for patient/caregiver question

* remove unused radio

* Update for mobile viewing

* [FEATURE][86dqnp6fy] Update Seniors Care Plan Signup (#45)

* feature: add senior endpoint and connect to profiling thank you page.

* review: add return type from laravel api

* feature: add email value to cancer/senior profilings to identify the jotforms submission on jotforms admin panel

* [FEATURE][86dqnavqf] Implement Seniors Feedback Survey (#47)

* feature: add pages for senior survey

* feature: change return type on success case on post senior survey

* [FEATURE][86dqqqw1h] Updates to Thank you page (#46)

* feature: change icons from carrousel on thank you page, remove unused route, add new color to tailwind and rename some icons

* feat: modify subscribe section

* feature: change copy on creation account (#48)

* [FEATURE][86dqteqh5] Update the "Which best describes you" screen title and option labels (#49)

* feature: change some copies

* review: change some clases for tailwind

* feature: make rounded panel white as figma design reference

* feature: add shadow to the card

* fix: add compiled files

* [BUGFIX] Resolve bad merge conflicts. (#50)

* feature: change icons from carrousel on thank you page, remove unused route, add new color to tailwind and rename some icons

* feat: modify subscribe section

* feature: add new icons for carrousel

* Update steps copy

* build

* deploy: add builds to deploy (#53)

* [FEATURE][86dqv7bbn] Cancer Caregiver Survey (#54)

* feature: add caregiver survey for profiled caregivers

* feature: implement code-review

* feature: implement code-review

* fix: resolve typo error (#55)

* bugfix: hidde the panel eo in your inbox (#56)

* feature: add title to corrousel section (#57)

* feat: add new compiles files (#58)

* fix: handle various phone number formats (#59)

* feature: change query string and prevent remove the query paramas payment to lost the reference of flow (#60)

* Bugfix/86dqubvn8/error typo (#61)

* fix: resolve typo error

* bugfix: remove double your

* fix: new assets

* chore: update thank you page emails

* fix: change privacy policy link

* chore: add bundle

* merge: Fixed conflicts between main and dev:

* merge: Fixed conflicts between main and dev

* hotfix: build again the assets

* [FEATURE][86dr018j8] Update minor changes in Cancer Pilot (stage and prod) (#67)

* feature: change the copy

* feature: modify text copy.

* feature: add margin top to separate the icon and text

* [FEATURE][86dr018j8] Update minor changes in Cancer Pilot (stage and prod) #67 (#69)

* feature: change the copy

* feature: modify text copy.

* feature: add margin top to separate the icon and text

* review: add auto-code reivew

* chore: add compiled files

* Change email check copy

* bugfix: prevent show eye icon by microsoft edge browser and user  custom icom. (#66)

---------

Co-authored-by: LeoBLightIt <[email protected]>
Co-authored-by: LeoBLightIt <[email protected]>
Co-authored-by: sgoycoechea-lightit <[email protected]>
Co-authored-by: sgoycoechea-lightit <[email protected]>
Co-authored-by: Lucas Lois <[email protected]>
cgarcia-lightit added a commit that referenced this pull request Jan 18, 2024
* [FEATURE][CU-865da45qm] Athletes Feedback Survey (#36)

* feat: add new form to save athletes feedback survey and refactor some stuff

* review: modify by code review

* [FEATURE][CU-86dqk6etj] Some Basics step (#37)

* feature: do the following changes
* Refactor navbar
* Do the foother
* configure scaffolding for seniors and cancer profile
* remove unnecesary logic
* Change some styles.

* fix: change param name.

* feat: add senior profiling

* feature: add senior profiling page, and thank you page

* review: do some changes from code review

* Feature/86dqkm09a pass state to profiling form (#38)

* feature: do the following changes
* Refactor navbar
* Do the foother
* configure scaffolding for seniors and cancer profile
* remove unnecesary logic
* Change some styles.

* fix: change param name.

* feat: add senior profiling

* feature: add senior profiling page, and thank you page

* change base components

* feat: some improvements and change email validation endpoint, add also the state, add symptoms from website to populate profiling form. and add payment state to show payment on profiling

* feat: add the following changes
* add interfaces to useApi
* reset store when start a new flow and when end a flow
* add payment variable to jotforms

* improvent: add enum to reuse it in the code

* change right arrow ti icons files

* review: add changes for code review

* remove spaces and change prettier config

* review: do changes from code review

* fix: resolve some problems

* fix: add dist folder

* feature: add origin to redirec back, to able diferents domains redirections. (#39)

* [FEATURE][86dqm7ndu] Add experience with cannabis (#40)

* feature: add experience with cannabis and pass it to profiling form

* feat: add dist files

* feat: fix styles in staging and production environment

* feat: changes modal on header and look and fell, add new environment to web app url and fix some redirections back (#41)

* [FEATURE][86dqp22d7] Cancer Care Signup/Pilot site Updates (#42)

* feat: implement all the changes for thank you page.

* fix: some styles changes

* feat: add changes from code review

* [FEATURE][86dqp22d7] Cancer Care Signup/Pilot site Updates (#43)

* feat: implement all the changes for thank you page.

* fix: some styles changes

* feat: add changes from code review

* fix: fixin some stiles for webflow classes

* Update UI for patient/caregiver question

* remove unused radio

* Update for mobile viewing

* [FEATURE][86dqnp6fy] Update Seniors Care Plan Signup (#45)

* feature: add senior endpoint and connect to profiling thank you page.

* review: add return type from laravel api

* feature: add email value to cancer/senior profilings to identify the jotforms submission on jotforms admin panel

* [FEATURE][86dqnavqf] Implement Seniors Feedback Survey (#47)

* feature: add pages for senior survey

* feature: change return type on success case on post senior survey

* [FEATURE][86dqqqw1h] Updates to Thank you page (#46)

* feature: change icons from carrousel on thank you page, remove unused route, add new color to tailwind and rename some icons

* feat: modify subscribe section

* feature: change copy on creation account (#48)

* [FEATURE][86dqteqh5] Update the "Which best describes you" screen title and option labels (#49)

* feature: change some copies

* review: change some clases for tailwind

* feature: make rounded panel white as figma design reference

* feature: add shadow to the card

* fix: add compiled files

* [BUGFIX] Resolve bad merge conflicts. (#50)

* feature: change icons from carrousel on thank you page, remove unused route, add new color to tailwind and rename some icons

* feat: modify subscribe section

* feature: add new icons for carrousel

* Update steps copy

* build

* deploy: add builds to deploy (#53)

* [FEATURE][86dqv7bbn] Cancer Caregiver Survey (#54)

* feature: add caregiver survey for profiled caregivers

* feature: implement code-review

* feature: implement code-review

* fix: resolve typo error (#55)

* bugfix: hidde the panel eo in your inbox (#56)

* feature: add title to corrousel section (#57)

* feat: add new compiles files (#58)

* fix: handle various phone number formats (#59)

* feature: change query string and prevent remove the query paramas payment to lost the reference of flow (#60)

* Bugfix/86dqubvn8/error typo (#61)

* fix: resolve typo error

* bugfix: remove double your

* fix: new assets

* chore: update thank you page emails

* fix: change privacy policy link

* chore: add bundle

* merge: Fixed conflicts between main and dev:

* merge: Fixed conflicts between main and dev

* hotfix: build again the assets

* [FEATURE][86dr018j8] Update minor changes in Cancer Pilot (stage and prod) (#67)

* feature: change the copy

* feature: modify text copy.

* feature: add margin top to separate the icon and text

* [FEATURE][86dr018j8] Update minor changes in Cancer Pilot (stage and prod) #67 (#69)

* feature: change the copy

* feature: modify text copy.

* feature: add margin top to separate the icon and text

* review: add auto-code reivew

* chore: add compiled files

* Change email check copy

* bugfix: prevent show eye icon by microsoft edge browser and user  custom icom. (#66)

* chore: rebuild assets

* feat: update survey thank you pages

* feature: add seniors modifications (#72)

* feature: change defualt seniors form for caregiver (#73)

* feat: update thank you pages

* feat: update pilot carousel

* fix: caroussel copy

* fix: capitalize caroussel copy

* feature: resolve the following problems
* RadioGroup error using forwardRef when isn't necessary
* Make Jotform iframe as component and adding a loading to prevent weird behavios while jotform load the form
* fix jotform undefined variable
* add package.lock file pending
* new color for tailwind

* feature: improve replace hidden attribute to opacity because it perfm better

* feature: implement changes from code-review

* fix: start profiling previous button

* chore: generate build

* fix: thank you pages copy and ui

* fix: thank you font

* fix: faqs and caroussel copys

* fix: merge main into develop branch and resolve conflict (#83)

* fix: copys

---------

Co-authored-by: LeoBLightIt <[email protected]>
Co-authored-by: LeoBLightIt <[email protected]>
Co-authored-by: sgoycoechea-lightit <[email protected]>
Co-authored-by: sgoycoechea-lightit <[email protected]>
Co-authored-by: Lucas Lois <[email protected]>
cgarcia-lightit added a commit that referenced this pull request Jan 31, 2024
* [FEATURE][CU-865da45qm] Athletes Feedback Survey (#36)

* feat: add new form to save athletes feedback survey and refactor some stuff

* review: modify by code review

* [FEATURE][CU-86dqk6etj] Some Basics step (#37)

* feature: do the following changes
* Refactor navbar
* Do the foother
* configure scaffolding for seniors and cancer profile
* remove unnecesary logic
* Change some styles.

* fix: change param name.

* feat: add senior profiling

* feature: add senior profiling page, and thank you page

* review: do some changes from code review

* Feature/86dqkm09a pass state to profiling form (#38)

* feature: do the following changes
* Refactor navbar
* Do the foother
* configure scaffolding for seniors and cancer profile
* remove unnecesary logic
* Change some styles.

* fix: change param name.

* feat: add senior profiling

* feature: add senior profiling page, and thank you page

* change base components

* feat: some improvements and change email validation endpoint, add also the state, add symptoms from website to populate profiling form. and add payment state to show payment on profiling

* feat: add the following changes
* add interfaces to useApi
* reset store when start a new flow and when end a flow
* add payment variable to jotforms

* improvent: add enum to reuse it in the code

* change right arrow ti icons files

* review: add changes for code review

* remove spaces and change prettier config

* review: do changes from code review

* fix: resolve some problems

* fix: add dist folder

* feature: add origin to redirec back, to able diferents domains redirections. (#39)

* [FEATURE][86dqm7ndu] Add experience with cannabis (#40)

* feature: add experience with cannabis and pass it to profiling form

* feat: add dist files

* feat: fix styles in staging and production environment

* feat: changes modal on header and look and fell, add new environment to web app url and fix some redirections back (#41)

* [FEATURE][86dqp22d7] Cancer Care Signup/Pilot site Updates (#42)

* feat: implement all the changes for thank you page.

* fix: some styles changes

* feat: add changes from code review

* [FEATURE][86dqp22d7] Cancer Care Signup/Pilot site Updates (#43)

* feat: implement all the changes for thank you page.

* fix: some styles changes

* feat: add changes from code review

* fix: fixin some stiles for webflow classes

* Update UI for patient/caregiver question

* remove unused radio

* Update for mobile viewing

* [FEATURE][86dqnp6fy] Update Seniors Care Plan Signup (#45)

* feature: add senior endpoint and connect to profiling thank you page.

* review: add return type from laravel api

* feature: add email value to cancer/senior profilings to identify the jotforms submission on jotforms admin panel

* [FEATURE][86dqnavqf] Implement Seniors Feedback Survey (#47)

* feature: add pages for senior survey

* feature: change return type on success case on post senior survey

* [FEATURE][86dqqqw1h] Updates to Thank you page (#46)

* feature: change icons from carrousel on thank you page, remove unused route, add new color to tailwind and rename some icons

* feat: modify subscribe section

* feature: change copy on creation account (#48)

* [FEATURE][86dqteqh5] Update the "Which best describes you" screen title and option labels (#49)

* feature: change some copies

* review: change some clases for tailwind

* feature: make rounded panel white as figma design reference

* feature: add shadow to the card

* fix: add compiled files

* [BUGFIX] Resolve bad merge conflicts. (#50)

* feature: change icons from carrousel on thank you page, remove unused route, add new color to tailwind and rename some icons

* feat: modify subscribe section

* feature: add new icons for carrousel

* Update steps copy

* build

* deploy: add builds to deploy (#53)

* [FEATURE][86dqv7bbn] Cancer Caregiver Survey (#54)

* feature: add caregiver survey for profiled caregivers

* feature: implement code-review

* feature: implement code-review

* fix: resolve typo error (#55)

* bugfix: hidde the panel eo in your inbox (#56)

* feature: add title to corrousel section (#57)

* feat: add new compiles files (#58)

* fix: handle various phone number formats (#59)

* feature: change query string and prevent remove the query paramas payment to lost the reference of flow (#60)

* Bugfix/86dqubvn8/error typo (#61)

* fix: resolve typo error

* bugfix: remove double your

* fix: new assets

* chore: update thank you page emails

* fix: change privacy policy link

* chore: add bundle

* merge: Fixed conflicts between main and dev:

* merge: Fixed conflicts between main and dev

* hotfix: build again the assets

* [FEATURE][86dr018j8] Update minor changes in Cancer Pilot (stage and prod) (#67)

* feature: change the copy

* feature: modify text copy.

* feature: add margin top to separate the icon and text

* [FEATURE][86dr018j8] Update minor changes in Cancer Pilot (stage and prod) #67 (#69)

* feature: change the copy

* feature: modify text copy.

* feature: add margin top to separate the icon and text

* review: add auto-code reivew

* chore: add compiled files

* Change email check copy

* bugfix: prevent show eye icon by microsoft edge browser and user  custom icom. (#66)

* chore: rebuild assets

* feat: update survey thank you pages

* feature: add seniors modifications (#72)

* feature: change defualt seniors form for caregiver (#73)

* feat: update thank you pages

* feat: update pilot carousel

* fix: caroussel copy

* fix: capitalize caroussel copy

* feature: resolve the following problems
* RadioGroup error using forwardRef when isn't necessary
* Make Jotform iframe as component and adding a loading to prevent weird behavios while jotform load the form
* fix jotform undefined variable
* add package.lock file pending
* new color for tailwind

* feature: improve replace hidden attribute to opacity because it perfm better

* feature: implement changes from code-review

* fix: start profiling previous button

* chore: generate build

* fix: thank you pages copy and ui

* fix: thank you font

* fix: faqs and caroussel copys

* fix: merge main into develop branch and resolve conflict (#83)

* fix: copys

* fix: update paid faqs and carousel copys

* feat: ROI Calculator screen

* [FEATURE][CU-86drct9ww] Differentiate/Identify users who came in via /pilot and via /c-org (#88)

* feat: add new flow to identify the origin of the users

* feature: add employer_center as new option

---------

Co-authored-by: LeoBLightIt <[email protected]>
Co-authored-by: LeoBLightIt <[email protected]>
Co-authored-by: sgoycoechea-lightit <[email protected]>
Co-authored-by: sgoycoechea-lightit <[email protected]>
Co-authored-by: Lucas Lois <[email protected]>
@cgarcia-lightit cgarcia-lightit deleted the fix/CU-86dqu9t9g/handle-various-phone-number-formats branch February 15, 2024 20:08
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.

3 participants