Menu ▾ ▴

#2162 feat: New Question Type Address

open
nobody
2024-04-11
2024-02-29
Anonymous
No

Originally created by: KapadiaNaitik
Originally owned by: Dhruwang

What does this PR do?

Fixes [#2089] (issue)

How should this be tested?

  • Address Question Type

Checklist

Required

  • Filled out the "How to test" section in this PR
  • Read How we Code at Formbricks
  • Self-reviewed my own code
  • Commented on my code in hard-to-understand bits
  • Ran pnpm build
  • Checked for warnings, there are none
  • Removed all console.logs
  • Merged the latest changes from main onto my branch with git pull origin main
  • My changes don't cause any responsiveness issues

Appreciated

  • If a UI change was made: Added a screen recording or screenshots to this PR
  • Updated the Formbricks Docs if changes were necessary

Related

Tickets: #2089

Discussion

  • Anonymous

    Anonymous - 2024-02-29

    Originally posted by: vercel[bot]

    @KapadiaNaitik is attempting to deploy a commit to the formbricks Team on Vercel.

    A member of the Team first needs to authorize it.

     
  • Anonymous

    Anonymous - 2024-02-29

    Originally posted by: CLAassistant

    CLA assistant check
    All committers have signed the CLA.

     
  • Anonymous

    Anonymous - 2024-02-29

    Originally posted by: github-actions[bot]

    Thank you for following the naming conventions for pull request titles! 🙏

     
  • Anonymous

    Anonymous - 2024-03-01

    Originally posted by: jobenjada

    Hey! Thanks for the rapid turnaround 🚀

    I cannot run nor build it:
    image

    Please fix this, happy to review after 🤓

    Cheers
    Johannes

     
  • Anonymous

    Anonymous - 2024-03-02

    Originally posted by: jobenjada

    Hey mate!

    Unfortunately, it's not working properly. If you try to fill in all fields, only the first two work as they are supposed to:

    image

    Please test it through for both web and in-app surveys 🤓

    Thanks a lot!

     
  • Anonymous

    Anonymous - 2024-03-06

    Originally posted by: jobenjada

    Hey @KapadiaNaitik

    overall, it looks good! I refactored the Address component a bit to reduce redundant code.

    Please rework how the addresses are displayed so it matches the mock up. It's important for user to be able to really easily copy the address out of Formbricks without the name of the input field. The way you solved it right now doesn't allow for that:

    image

    vs

    image

    and

    image

    Thanks for your work! 🤝

     
  • Anonymous

    Anonymous - 2024-03-19
     
  • Anonymous

    Anonymous - 2024-04-08
     
  • Anonymous

    Anonymous - 2024-04-09

    Originally posted by: jobenjada

    Hey @Dhruwang

    here is what I noticed:

    1. No autofocus on first field. Makes keyboard usability hard (pls add to the Question Creation doc in case its not part of it)

    image


    1. The required states aren't synced
      If any of the question fields is required, the whole question should be required, shouldn't it?

    image


    Please also test once for in-app surveys.


    The rest looks good!

     
  • Anonymous

    Anonymous - 2024-04-09

    Originally posted by: jobenjada

    /award 150

     
  • Anonymous

    Anonymous - 2024-04-09

    Originally posted by: oss-gg[bot]

    Awarding KapadiaNaitik: 150 points!

     

Log in to post a comment.

MongoDB Logo MongoDB