* fix: attempts to reduce time taken to create team
* fix: fixes long time taken in team creation
* fix: refactors prisma logic
* feat: added logic for adding demo data while signing up
* fix: adds comment
* fix: adds another logic for adding demo data
* fix: adds service for adding demo data
* fix: fixes
* fix: adds demo product creation logic in next auth options
* fix: fixes next auth options
* fix: fixes team creation logic
* refactor: clean up
* fix: moves the logic for adding demo product while creating team in bg
* fix: moves individual queries in a transaction
* refactor: service
* fix: moves api route to app-dir
* fix: fixes api calls
* fix: fixes cache
* fix: removes unused code
* feat: handle openssl producing special characters that were causing errrs for sed to read
* feat: use all variables in dockerfile from the sole env itself
* add back button, next with local storaage wip
* handle submission and skip submission logic
* handle showing stored value on same concurrent question type.
* remove console.log
* fix next button not showing, add saving answer on pressing back to local storage
* add temp props to QuestionCondition in preview modal
* add temp props to QuestionCondition in preview modal again...
* update navigation logic
* update survey question preview
* add back-button component
* add back button to formbricks/js
* refactor localStorage functions to lib
* remove unused import
* add form prefilling when reloading forms
* merge main into branch
* Revert "merge main into branch"
This reverts commit 13bc9c06ec.
* rename localStorage key answers->responses
* rename answers -> responses in linkSurvey lib
* when survey page reloaded jump to next question instead of current question
* rename getStoredAnswer -> getStoredResponse
* continue renaming
* continue renaming
* rename answerValue -> responseValue
---------
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
* feat: poc
* merge: individual docker-compose files
* fix: nits
* feat: postgres now only accessible internally
* feat: emoji time
* cleanup: my commented commands
* better emoji and warning on domain name
* fix: better handling of docker check
* feat: follow principle of least privilege and remove excess sudo in commands
* feat: read machine name dynamically
* feat: documentation for prod script
* feat: remove custom networks in the docker compose
* cleanup: comments in script
* update emojis to fix spacing
* attempt: new groyp
* attemp: move new group command at end for the ability to parse vars
* feat: it all works without sudo yay
* feat: cleanup docs as suggested
* documentation: self hosting for prod script
---------
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
* added validation to survey edit
* made refactors
* extracted validation rules into a single object and resolved draggable issue
* ran pnpm format
* fixed a validation bug
* fixed similar validation bug in other component
* implemented default and specific validation
* made some code refactors
* handled case where a question is deleted
* instead of storing questionIdx now we are storing question id in invalidQuestions array && ran pnpm format
* removed unused comment
* run pnpm format
* made requested changes
* removed unused export
* add types to validation.ts
* run pnpm format
---------
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
* url add to link-survey
* fixed
* fixed
* fixed
* fixed
* ran pnpm format
* make url optional in response input to not break existing integrations
---------
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
* feat: adds enhanced bug report github page and removes md version of it
* feat: adds enhanced feature request .yml github page and removes .md version of it
* refactor: makes the Desktop field as md editor on Bug Report Github Page
* refactor: converts the Environment field as checkbox on Bug Report Github Page