Compare commits

..

2196 Commits

Author SHA1 Message Date
Matti Nannt
8b77494e32 fix: person update endpoint not working due to caching issue (#1666) 2023-11-21 15:02:01 +00:00
Matti Nannt
9ad5d4ec5c fix: caching issue leads to action endpoint fail for new person (#1665) 2023-11-21 14:35:00 +00:00
Dhruwang Jariwala
1582ac13da fix: Weekly summary endpoint failing (#1440)
Co-authored-by: Johannes <johannes@formbricks.com>
2023-11-21 14:00:31 +00:00
Shubham Palriwala
61c7d78612 feat: new client actions endpoint docs (#1659) 2023-11-21 12:55:33 +00:00
Shubham Palriwala
556fe5453c feat: updated client display endpoint docs & update display bug fix (#1654) 2023-11-21 12:35:56 +00:00
Jonas Höbenreich
fd59ec4f8e fix: improve a11y of survey modal close button (#1661)
Co-authored-by: jonas.hoebenreich <jonas.hoebenreich@flixbus.com>
2023-11-21 12:24:51 +00:00
Matti Nannt
6db76d094b chore: move n8n-node to own repository (#1662) 2023-11-21 12:09:53 +00:00
Matti Nannt
94bf1fd6fe fix: close formbricks-js surveys on logout (#1655) 2023-11-21 09:29:31 +00:00
Rohit Mondal
860630dd5a style: fixed color contrast in onboarding page (#1631)
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
Co-authored-by: Johannes <johannes@formbricks.com>
2023-11-21 09:28:03 +00:00
Dhruwang Jariwala
97cc6232c2 fix: page refresh issue on adding new action (#1634) 2023-11-21 08:55:02 +00:00
Matti Nannt
7331d1dd5a chore: update npm dependencies to latest version (#1651) 2023-11-21 08:32:07 +00:00
Matti Nannt
3f8bf4c34c chore: simplify getPersonByUserId by removing legacy person support (#1649) 2023-11-20 21:07:40 +00:00
Matti Nannt
91ceffba01 fix: personByUserId not cached properly (#1644) 2023-11-20 20:05:58 +00:00
Shaik_Asif
8c38495812 fix: typo in template (#1648) 2023-11-20 19:58:05 +00:00
Matti Nannt
c8c98499ed chore: Simplify person service by removing complex getOrCreatePerson function (#1643) 2023-11-20 17:22:11 +00:00
Shubham Palriwala
af181eabdc feat: formbricks/api package as per js package 1.2.2 (#1640)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-11-20 16:16:39 +00:00
Neil Chauhan
822c48ff52 fix: headline alignment issue (#1641)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-11-20 15:02:46 +00:00
Neil Chauhan
70d211a038 fix: thank you card headline issue FOR-1489 (#1639) 2023-11-20 08:25:15 +00:00
Dhruwang Jariwala
a77ce55a1d fix: Error screen on survey Editor refresh (#1635) 2023-11-19 12:47:44 +00:00
Matti Nannt
a376eb9b51 fix: caching issue by simplifying person service (#1636) 2023-11-17 19:15:17 +00:00
Matti Nannt
f11c47d4ca chore: make getSyncSurveys cached by default (#1609) 2023-11-17 18:29:08 +00:00
Dhruwang Jariwala
4baea07471 fix: wording on look & feel page (#1632) 2023-11-17 09:46:43 +00:00
Johannes
ff87be717c fix: add canonical URL for lp (#1633) 2023-11-17 09:31:25 +00:00
Matti Nannt
e3e595af9a chore: upgrade packages, fix edge runtime issues (#1629) 2023-11-16 21:45:48 +00:00
Matti Nannt
3dae10d665 feat: load react email serverside (#1628) 2023-11-16 19:58:06 +00:00
Dhruwang Jariwala
6727ccf1cd fix: response delete in single response card (#1624) 2023-11-16 12:58:32 +00:00
Shubham Palriwala
9242ab3a7d feat: rate limit client API endpoints (#1566) 2023-11-16 12:57:19 +00:00
Matti Nannt
e9d8de3574 fix: zapier integration not able to pull past responses (#1627) 2023-11-16 12:07:30 +00:00
Dhruwang Jariwala
0a252e5827 fix: hidden field not working with prefilling on 1st question (#1602)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-11-16 09:20:04 +00:00
Dhruwang Jariwala
632f6068c4 feat: test template (#1620) 2023-11-16 09:09:46 +00:00
Dhruwang Jariwala
4d280e04d1 fix: logic jumps (#1623) 2023-11-16 08:45:51 +00:00
Krishanu Saha
73bde4fda6 fix: #1357 button text color changed on nearwhite background color (#1365)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-11-15 15:47:59 +00:00
Midka
9d4e21f8a7 feat(packages/surveys): ability to customize colors & other improvements (#916)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
Co-authored-by: Neil Chauhan <neilchauhan2@gmail.com>
2023-11-15 15:29:27 +00:00
Dhruwang Jariwala
3eeea7d1b2 fix: survey editor issue (#1619) 2023-11-15 13:03:28 +00:00
Dhruwang Jariwala
32268a8ec3 fix: auto focus issue (#1618) 2023-11-15 11:35:01 +00:00
Matti Nannt
888dbbcfd2 feat: add toggle for in-app formbricks branding (#1616)
Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: review-agent-prime[bot] <147289438+review-agent-prime[bot]@users.noreply.github.com>
2023-11-14 16:39:30 +00:00
Dhruwang Jariwala
73711b4631 refactor: Symlink replacement (#1556)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-11-14 07:57:17 +00:00
Sushant
bd0b8ecd66 fix: #1610 (#1611) 2023-11-14 07:04:46 +00:00
Matti Nannt
fefc27aadd docs: userId typo in docs (#1612) 2023-11-14 06:51:50 +00:00
Shyam Raghuwanshi
8eb0cf3207 feat: Add color scheme for light and dark themes (#1368)
Co-authored-by: Johannes <johannes@formbricks.com>
2023-11-13 17:34:18 +00:00
Johannes
6a40ed705d fix: Update README.md (#1608) 2023-11-13 08:32:08 +00:00
Anshuman Pandey
53ef8771f3 feat: Make formbricks-js ready for public websites (#1470)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
Co-authored-by: Johannes <johannes@formbricks.com>
2023-11-12 09:12:58 +00:00
Dhruwang Jariwala
ac8cf987d3 feat: Ttc on welcome card (#1461)
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-11-10 17:14:33 +00:00
Harish Gautam
11ede2e517 fix: Onboarding page added aria-lable and keyboard navigation (#1562)
Co-authored-by: Dhruwang Jariwala <67850763+Dhruwang@users.noreply.github.com>
2023-11-10 12:19:06 +00:00
dependabot[bot]
aa6d6df178 chore(deps): bump @sentry/nextjs from 7.76.0 to 7.77.0 (#1603)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-10 11:53:26 +00:00
Matti Nannt
c2675a9d49 fix: infinite loop in onboarding (#1604) 2023-11-10 11:01:43 +00:00
dominikmukrecki
84ce0c267c docs: Add Google OAuth Integration Guide (#1411)
Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com>
2023-11-10 10:23:33 +00:00
Shubham Palriwala
a2df7abf85 fix: opt billing page forcefully out of static generation (#1600) 2023-11-09 10:13:25 +00:00
Shubham Palriwala
7acd2ccabb fix: github action that reports stripe usage (#1599) 2023-11-09 10:12:23 +00:00
Shubham Palriwala
a34606ab03 chore: remove unused method and restructure env var fetching for team roles (#1595)
Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
2023-11-09 10:06:57 +00:00
Dhruwang Jariwala
dd0f0ead39 refactor: Airtable & GS endpoints to use responses return objects (#1592) 2023-11-09 10:01:49 +00:00
Shubham Palriwala
d6c9ce7c5b fix: handle invalid surveyId from api endpoint (#1589) 2023-11-09 09:59:42 +00:00
Matti Nannt
0b253e6ba5 chore: release formbricks-js 1.1.5 (#1601) 2023-11-09 09:53:34 +00:00
Florrdv
dd0091e52c fix: add types to exports for @formbricks/js (#1597) 2023-11-08 11:14:29 +00:00
Shubham Palriwala
c45248ada8 fix: redirect user if they visit onboarding page without auth (#1596) 2023-11-08 09:30:08 +00:00
Matti Nannt
ca21c9cea7 chore: Improve database performance by adding indexes (#1593) 2023-11-08 06:11:43 +00:00
Shubham Palriwala
10ab71b20f feat: independent troubleshooting guide page (#1591) 2023-11-07 21:30:14 +00:00
Shubham Palriwala
2acd18d8d5 feat: recommended hardware requirements to self host formbricks (#1590) 2023-11-07 21:26:40 +00:00
Shubham Palriwala
27b99d9761 fix: user existence checks in session object (#1587) 2023-11-07 21:26:20 +00:00
Shubham Palriwala
536e610895 fix: update setup checklists with latest js package version (#1588) 2023-11-07 21:24:03 +00:00
Jatin Sandilya
c40fedda90 chore: add revert to oss-friends (#745) 2023-11-06 16:14:01 +00:00
Shubham Palriwala
c74b3034fd fix: pass authOptions to getServerSession in authLayout (#1584) 2023-11-06 16:12:58 +00:00
Shashank
72fb1b3b30 fix: fixed URL example for "Create Survey" API endpoint is wrong #1555 (#1586) 2023-11-06 16:12:25 +00:00
Aditya Deshlahre
5859b51b8b fix(docs): default account info docs changes (#1583) 2023-11-06 14:25:42 +00:00
Matti Nannt
d51e17fe2e chore: Add docker packages to Github Packages on release (#1585) 2023-11-06 12:10:56 +00:00
Anshuman Pandey
fbd3d95034 feat: avatar upload (#1546)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-11-06 11:06:08 +00:00
Dhruwang Jariwala
9d0b6cec76 fix: editor crashing (#1582) 2023-11-06 10:39:28 +00:00
NilanjanPramanik
f2d23d9a37 fix: Add scroll to the setting navbar (#1398)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-11-06 09:54:12 +00:00
RajuGangitla
5ea1588c86 are you sure modal missing fix:#1419 (#1485)
Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
2023-11-06 09:49:42 +00:00
Dhruwang Jariwala
e0fe7f1af7 fix: github linting issues (#1510) 2023-11-06 09:40:23 +00:00
Dhruwang Jariwala
0c69f8ad43 refactor: added authorization to airtable integration and create a common actions file (#1538) 2023-11-06 09:37:50 +00:00
Dhruwang Jariwala
a3028e5685 docs: add docs for airtable (#1541) 2023-11-06 09:36:38 +00:00
Shubham Palriwala
2314b27443 fix: missing static generation store in revalidation due to pages dir (#1581) 2023-11-06 09:14:45 +00:00
Dhruwang Jariwala
46f42220d6 feat: Pagination for other values in multi choice (#1560)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-11-06 08:57:48 +00:00
Shubham Palriwala
6d6987d2bc feat: $199 pricing model for unlimited plans (#1564) 2023-11-06 08:53:49 +00:00
Shubham Palriwala
2dc03505fc fix: make pricing pages consistent (#1567) 2023-11-06 08:45:11 +00:00
Dhruwang Jariwala
66cfbebe74 fix: openText issue (#1579) 2023-11-06 08:25:12 +00:00
Shubham Palriwala
3a9ca829cc fix: avoid blocking the request if it does not have an associated ip (#1540) 2023-11-06 07:45:32 +00:00
James P
9dc7d542be feat: Add Unkey to OSS Friends (#1574)
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-11-05 20:37:26 +00:00
Neil Chauhan
cac02c77a1 feat: FOR-683 Role Switch (#1450)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-11-05 14:26:03 +00:00
Bilal Mirza
a1c27c415b fix: link to Check out the docs is broken (#1570) 2023-11-05 13:47:12 +00:00
Sachin Mittal
f1849dcff8 fix : delete btn is not disabling when clicking #1519 (#1575) 2023-11-05 13:46:22 +00:00
Anshuman Pandey
1ff14e7714 fix: s3 file url cache does not get revalidated (#1577) 2023-11-05 13:19:08 +00:00
Rotimi Best
827fa1027f feat: Guide on how to create a service (#1569) 2023-11-03 12:39:49 +00:00
Matti Nannt
1b37c54152 chore: improve client api error responses (#1563) 2023-11-02 19:39:35 +00:00
Dhruwang Jariwala
6bace2b826 fix: skip logic (#1559) 2023-11-02 13:05:12 +00:00
Johannes
e5775e3724 add month to preseed (#1558) 2023-11-02 10:34:48 +00:00
Johannes
718cbe3db0 fix: fix build on lp (#1554) 2023-11-01 21:36:59 +00:00
Matti Nannt
4f74dd5044 chore: remove limited launch deal from pricing (#1553) 2023-11-01 19:28:14 +00:00
Matti Nannt
85b551b61a fix: formbricks-com build error (#1549) 2023-11-01 16:59:16 +00:00
Matti Nannt
c1e962b1bf fix: team response count calculation (#1548) 2023-11-01 16:17:55 +00:00
Johannes
82e8e6a12f feat: preseed annoucement (#1547) 2023-11-01 13:14:15 +00:00
Bilal Mirza
9ca77be099 fix: Getting page not found error for DOC #1539 (#1545) 2023-11-01 13:09:03 +00:00
Shubham Palriwala
9d423cdd58 feat: formtribe updated scoreboard (#1543) 2023-10-31 15:31:54 +00:00
Matti Nannt
d7c72c8c80 fix: update readme to add link to product hunt (#1542) 2023-10-31 13:31:19 +00:00
Matti Nannt
d8f6e8502d fix: pricing table dark mode (#1537) 2023-10-31 08:22:16 +00:00
Matti Nannt
01268e33ab chore: add special deal to pricing (#1536) 2023-10-31 07:43:45 +00:00
Matti Nannt
5aa857c742 fix: Pricing Table on formbricks-com (#1535) 2023-10-31 07:18:00 +00:00
Anshuman Pandey
49ff9d40b9 fix: fixes surveys cache (#1534)
Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
2023-10-31 07:11:45 +00:00
Johannes
793935fc5d chore: update landing page for PH Launch (#1475)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-31 06:48:28 +00:00
Shubham Palriwala
22f579389a fix: overloading slider on exceeding max limits in pricing tier (#1530) 2023-10-30 21:37:02 +00:00
Shubham Palriwala
9971662077 feat: stripe integration (#858)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-30 20:33:19 +00:00
Adarsh Jha
7f8b7e2a20 chore: Add Table of Contents to README (#1427)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-30 17:45:20 +00:00
Dhruwang Jariwala
eec986f070 fix: account deletion failing issue (#1509)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-30 17:16:55 +00:00
ss10
07ce774e5b fix: remove welcome card from email preview (#1495)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-30 17:16:08 +00:00
Aditya Deshlahre
bd28909b35 fix(bug): default role implemented (#1524) 2023-10-30 16:49:22 +00:00
Dhruwang Jariwala
840e16152e fix: changing description of Code Action (#1522) 2023-10-30 14:19:04 +00:00
Dhruwang Jariwala
2e2c22a1db refactor: Migrate activity service (#1471)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-30 12:16:20 +00:00
Bilal Mirza
c42d48e242 fix: Error in Docs navigation #1518 (#1521) 2023-10-30 12:13:20 +00:00
Vikas Patil
be018e8255 feat: dynamic title and description (#1459)
Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com>
2023-10-30 11:44:05 +00:00
Bilal Mirza
393238e3fe fix: Spelling Errors (#1517) 2023-10-30 11:07:50 +00:00
Abhinai Sai Putta
e4c453c444 fix: added scrollbar whenever overflowed in the settings/profile page (#1498)
Co-authored-by: Abhinai Sai <abhinaisai2002>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-30 10:58:38 +00:00
Rohan Gupta
1d5b83206b fix: long url not getting reset after closing modal (#1502)
Co-authored-by: Rohan Gupta <rohan.gupta@zopper.com>
Co-authored-by: Dhruwang Jariwala <67850763+Dhruwang@users.noreply.github.com>
2023-10-30 10:46:40 +00:00
Mohit Negi
8d9b676a03 fix: Unexpected Behavior when Toggling Italics in Text Editor and improve clarity of formatting status (#1506)
Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com>
Co-authored-by: Dhruwang Jariwala <67850763+Dhruwang@users.noreply.github.com>
2023-10-30 10:38:19 +00:00
Dhruwang Jariwala
59113ebe59 fix: zod pin validation failing (#1507) 2023-10-30 10:37:05 +00:00
Dhruwang Jariwala
7d0ebd3c54 fix: Error message on Login not shown (#1508) 2023-10-30 10:34:29 +00:00
Matti Nannt
ccfd5ae28b fix: downgrade nextjs to fix error with react email (#1516) 2023-10-30 10:32:14 +00:00
Anshuman Pandey
dcefbc96cd chore: downgrade next version in formbricks-com (#1513) 2023-10-30 08:42:46 +00:00
Piyush Gupta
b9a8e9d12c feat: picture selection question (#1388)
Co-authored-by: Olasunkanmi Balogun <olasunkanmiibalogun@gmail.com>
Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com>
2023-10-30 05:32:49 +00:00
Shubham Palriwala
d3356cb8b7 feat: formtribe leaderboard update as per today (#1505) 2023-10-29 19:43:30 +00:00
Aditya Ghidora
a92189c7aa fix: Added if statement for preventing use of reserved word in question ID (#1435) 2023-10-28 16:50:20 +00:00
Harshit Vashisht
966dd5fcc8 fix: Disabling Welcome Card leads buggy preview (#1320)
Co-authored-by: Dhruwang Jariwala <67850763+Dhruwang@users.noreply.github.com>
Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com>
2023-10-28 16:23:28 +00:00
noobcoder
c68b256713 fix: Enhancing Formbricks Docs: Clear Steps for Configuring Environment. (#1477)
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-28 15:32:38 +00:00
Dhruwang Jariwala
cf938bffa7 fix: source tracking (#1486) 2023-10-28 14:30:35 +00:00
Vaibhav
5ae5a92c31 docs: Update README.md (#1487) 2023-10-28 11:18:05 +00:00
Matti Nannt
c47face662 chore: remove experimental server actions flag (#1484) 2023-10-27 21:12:17 +00:00
Matti Nannt
2361cf4b5a chore: upgrade next.js (#1483) 2023-10-27 20:52:58 +00:00
Matti Nannt
3720c7690d fix: Add ENCRYPTION_KEY to Dockerfile args (#1482) 2023-10-27 20:08:48 +00:00
Matti Nannt
3de073f93a fix: summary loading infinitely (#1481) 2023-10-27 18:27:52 +00:00
Matti Nannt
841b96c5bb chore: improve error logging in responseNote service (#1480) 2023-10-27 16:49:13 +00:00
Rotimi Best
3bb6ce3250 chore: caching for environment, integration, invite, membership, product & profile (#1324)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-27 13:31:15 +00:00
Johannes
82c986baa4 update side quests (#1473) 2023-10-27 09:10:22 +00:00
Shreya Ranpariya
d72283df55 doc: update Firecamp and Spark.net in ascending order in oss-friends page (#1425)
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-27 08:55:04 +00:00
Sandy-1711
fcfea44d7f fix: [BUG] In Dark Mode Navbar is not Properly Visible #1463 (#1467)
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-27 08:42:28 +00:00
Rotimi Best
5f71b91704 chore: session, survey, tagOnResponse, webhook, apiKey caching (#1363) 2023-10-27 07:48:26 +00:00
Rotimi Best
94e872025d chore: caching responseNote and attributeClass service (#1307) 2023-10-27 07:45:39 +00:00
Matti Nannt
7ad7a255b6 fix: docker release github action (#1468) 2023-10-26 13:00:13 +00:00
Dhruwang Jariwala
892887c786 fix: build errors in formbricks-com (#1465) 2023-10-26 07:40:50 +00:00
Matti Nannt
cb130579bb fix: survey url incorrect in single use share dialoge (#1464) 2023-10-25 20:35:52 +00:00
Shubham Palriwala
e9f4edadbd feat: let's v1.2 (#1332)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-25 19:22:16 +00:00
Anshuman Pandey
21fe7080ef fix: uploads (#1449)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-25 14:50:48 +00:00
Dhruwang Jariwala
e21f82e1fc fix: email verification before answering survey (#1460)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-25 14:06:03 +00:00
Shubham Palriwala
9994fef695 feat: update leaderboard as per today (#1457) 2023-10-25 14:04:54 +00:00
Johannes
e0dce53031 lp: update privacy policy (#1462) 2023-10-25 13:46:55 +00:00
Shubham Palriwala
fb6dbda64d chore: Move Billing API to App directory & Deprecate unused /pages/api/[environment|team] endpoints (#1423) 2023-10-25 13:35:48 +00:00
Matti Nannt
91b8f9b7f0 chore: increase MTU limit in Formbricks Cloud (#1456) 2023-10-24 21:02:02 +00:00
Matti Nannt
24d0fec16f feat: formbricks-js 1.1.4 release (#1455)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-24 20:20:54 +00:00
Matti Nannt
24f5796c13 fix: triggered survey not behaving correctly after userId change (#1453) 2023-10-24 19:58:44 +00:00
Shubham Palriwala
0115c58364 feat: use formbricks/api package internally in /js & /lib (#955)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-24 13:52:38 +00:00
Anshuman Pandey
7dcadc660f fix: fixes client storage api route method (#1451) 2023-10-24 13:41:04 +00:00
Matti Nannt
2b4879bb33 chore: improve error logging in client endpoints (#1445) 2023-10-24 11:38:41 +00:00
Matti Nannt
11a68a904e chore: Remove response limit in preparation for new pricing (#1443) 2023-10-24 10:58:23 +00:00
Johannes
fde2eeb6b4 feat: Add Animated Background Files (#1441) 2023-10-24 10:38:39 +00:00
Matti Nannt
2193758594 chore: include new features in pricing table (#1438) 2023-10-24 08:51:40 +00:00
Dhruwang Jariwala
fa9ddf5de2 refactor: removed console for Air table fix (#1436)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-24 07:19:08 +00:00
Dhruwang Jariwala
89ccee8cb6 refactor: Console tokenRes (#1434) 2023-10-23 17:19:27 +00:00
Matti Nannt
86fd3c64c8 fix: hide email input in survey share modal when share code is displayed (#1432) 2023-10-23 14:35:59 +00:00
Shubham Palriwala
4fcce98911 feat: lazy loading and endless scrolling for responses page (#1421)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-23 14:14:30 +00:00
Aditya Deshlahre
04aa2a6e9f fix: Validate Product Names (#1362)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-23 14:12:16 +00:00
Shubham Palriwala
b7d9999f4b feat: client side pagination in open text questions in responses summary (#1422)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-23 13:32:10 +00:00
Matti Nannt
7bf0290d1c chore: refactor sync endpoint to use existing services (#1417) 2023-10-23 12:39:12 +00:00
Shyam Raghuwanshi
5a39c1751e fix: Button Enablement Precedes Component Rendering on Publish/Save Click (#1400)
Co-authored-by: Shubham Palriwala <spalriwalau@gmail.com>
2023-10-23 12:36:54 +00:00
Dhruwang Jariwala
6911151e98 fix: Air table callback (#1418) 2023-10-23 12:26:34 +00:00
Shubham Palriwala
acb8dd0d0b fix: rate limit is now enabled on node prod envs only (#1424) 2023-10-23 12:26:05 +00:00
Naresh
0a76bad43e fix: validate cssSelector value (#1420) 2023-10-23 12:04:01 +00:00
Priyanshu Prajapati
1a20920d5d fix: CODE_OF_CONDUCT.md (#1390)
Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-23 11:32:36 +00:00
Armaan
458a35ef15 docs: updated CONTRIBUTING.md (#1394)
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-23 11:07:39 +00:00
Anshuman Pandey
c2df127a3d fix: file uploads api changes (#1319)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-23 10:38:01 +00:00
Olaleye Blessing
2e53d3d039 fix: Display appropriate error message when uploading image (#1334)
Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com>
Co-authored-by: ShubhamPalriwala <spalriwalau@gmail.com>
2023-10-23 06:34:43 +00:00
Mohit Negi
1206b969e3 fix: Refactor theme switcher from dropdown to toggle (#1360)
Co-authored-by: Shubham Palriwala <spalriwalau@gmail.com>
2023-10-23 06:07:13 +00:00
Abhinav Arya
2ac7f9ec5c fix: In Review Prompt Lower and Upper labels are not showing in dummyUi/Preview (#1402) 2023-10-23 05:50:31 +00:00
Anjy Gupta
502610fb3c feat: Added Dynamic Link Previews (#1093)
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-23 04:52:46 +00:00
Shubham Palriwala
bf9b95e288 feat: update leaderboard as per today (#1408) 2023-10-22 17:46:07 +00:00
Matti Nannt
0cc8cdf52a chore: remove swr from dependencies (#1407) 2023-10-22 16:55:59 +00:00
Suman Kisku
27c1b0d3f2 style: #1343 Added Jost Web fonts (#1346)
Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
2023-10-22 15:11:06 +00:00
Hemant
ceb384a6f4 fix: Share modal not opening (#1387)
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
Co-authored-by: ShubhamPalriwala <spalriwalau@gmail.com>
2023-10-22 14:01:18 +00:00
Shyam Raghuwanshi
6ea2c7b354 fix: Resolve issue with "Back to Home" button on 404 page (#1381)
Co-authored-by: Dhruwang Jariwala <67850763+Dhruwang@users.noreply.github.com>
2023-10-22 13:39:43 +00:00
Shyam Raghuwanshi
c86a06ddbb fix: adding loader for Delete and Save buttons (#1344)
Co-authored-by: Dhruwang Jariwala <67850763+Dhruwang@users.noreply.github.com>
2023-10-22 09:01:18 +00:00
Piyush Gupta
a8b7c9c127 fix: prefiling in welcome card surveys (#1352)
Co-authored-by: Olasunkanmi Balogun <olasunkanmiibalogun@gmail.com>
Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-22 08:11:56 +00:00
Abhinav Arya
af605324b3 fix: Create dark mode version of Code Block on landing page (#1358)
Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-22 08:06:59 +00:00
Shubham Palriwala
c131a04be6 fix: handle display with no response data in per question drop off (#1374) 2023-10-21 13:30:33 +00:00
ss10
befb2c6a42 fix: Page break on Convert to Multi Select (#1383)
Co-authored-by: shruti satsangi <shrutisatsangi@shrutis-MacBook-Air.local>
2023-10-21 13:29:12 +00:00
Shubham Palriwala
bd90da3665 feat: Release @formbricks/js@1.1.3 (#1379)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-21 09:31:49 +00:00
Shubham Palriwala
d11728312e feat: release patch release formbricks/js with changesets (#1376) 2023-10-21 09:14:15 +00:00
Shubham Palriwala
79ad64968c fix: make metadata internal fields optionality uniform in response object (#1373) 2023-10-21 08:47:27 +00:00
RajuGangitla
d3b78e527b fix: Welcome card not being active by default in every template #1336 (#1372) 2023-10-21 06:29:33 +00:00
Aashish Panthi
9074ce4496 fix: add twitter title, desc and keyword meta tags (#1359) 2023-10-21 06:25:08 +00:00
Rohan Gupta
f37c6567fd fix: Data is not being sent webhook api on trigger (#1285) (#1316)
Co-authored-by: Rohan Gupta <rohan.gupta@zopper.com>
Co-authored-by: Shubham Palriwala <spalriwalau@gmail.com>
2023-10-21 05:27:38 +00:00
Neil Chauhan
c979e0ed76 chore: update turbo (#1345)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-20 18:47:12 +00:00
Matti Nannt
587ea65c88 fix: survey with empty pin cannot be created (#1361) 2023-10-20 17:17:39 +00:00
Vikas Patil
d904f223fc fix: #1353 validating pin before publishing (#1356) 2023-10-20 15:52:31 +00:00
Piyush Gupta
28265a7dcf feat: added dropoff visibility (#907)
Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Shubham Palriwala <spalriwalau@gmail.com>
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-20 13:18:16 +00:00
Johannes
37e83cbb81 chore: add cla to PR template & /cla (#1351) 2023-10-20 12:52:32 +00:00
Shubham Palriwala
a7072580d3 fix: prevent exit intent and scroll intent in js package to make api call (#1350) 2023-10-20 12:27:45 +00:00
Dhruwang Jariwala
f70cda6e11 refactor: removes old types (#1288)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-20 12:03:16 +00:00
Dhruwang Jariwala
7fd89daca9 refactor: added console for error (#1340) 2023-10-20 10:48:20 +00:00
Ronit Panda
c2c27a7527 feat: adds image adding option to all questions (#1305)
Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
2023-10-20 10:48:01 +00:00
Jonas Höbenreich
b645418b3e feat: add SSO login via Azure AD (second try) (#1188)
Co-authored-by: jonas.hoebenreich <jonas.hoebenreich@flixbus.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-20 08:43:23 +00:00
Matti Nannt
569e9a6ee2 fix: use strings for pin datatype to allow more variations (#1335) 2023-10-20 08:11:39 +00:00
Shyam Raghuwanshi
a97f745406 fix: the background does not load up on the entire page! (#1331) 2023-10-20 07:18:40 +00:00
Shyam Raghuwanshi
ba3b3ef3d2 fix: Copy button disabled while it's value is null (#1328)
Co-authored-by: ShubhamPalriwala <spalriwalau@gmail.com>
2023-10-20 07:16:42 +00:00
Bilal Mirza
8677025ba4 fix: Logo is not visible in edge search #1265 (#1330) 2023-10-20 07:16:26 +00:00
Piyush Gupta
42c3e98382 feat: Add source to metadata submission (#1323)
Co-authored-by: Olasunkanmi Balogun <olasunkanmiibalogun@gmail.com>
Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-19 21:44:55 +00:00
Nafees Nazik
18d1a23cfd feat: add airtable integration (#926)
Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com>
Co-authored-by: Dhruwang Jariwala <67850763+Dhruwang@users.noreply.github.com>
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-19 18:54:10 +00:00
Matti Nannt
f7f271b4b3 fix: add hotfix for not storing 50% scroll and exit intent in db (#1326) 2023-10-19 18:54:04 +00:00
Aditya Deshlahre
43e80d8185 fix(bug): fixed1296 href link switch (#1317)
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-19 18:19:44 +00:00
Samiksha Mishra
83b11dea41 docs: Added a 'Back to Top" button (#1318)
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-19 18:17:21 +00:00
Bilal Mirza
cf7175511a fix Add action UI issue on mobile screen #1254 (#1306)
Co-authored-by: Johannes <johannes@formbricks.com>
2023-10-19 18:02:45 +00:00
Rotimi Best
64d769ae25 chore: caching activity, display and person service (#1272)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-19 15:38:32 +00:00
Surav Shrestha
32002321ad docs: fix typo in apps/formbricks-com/app/docs/actions/code/page.mdx (#1321) 2023-10-19 14:32:59 +00:00
Matti Nannt
aaecf5ba44 chore: add folder structure for v2 components (#1314) 2023-10-19 10:21:49 +00:00
Shubham Palriwala
c0ea8dd3f6 fix: formtribe leaderboard name correction (#1313) 2023-10-19 10:04:56 +00:00
Shyam Raghuwanshi
e69b2f4133 fix: toggle button text when switching between light and dark mode (#1309) 2023-10-19 09:57:57 +00:00
Anshuman Pandey
14c354ea36 fix: use ENCRYPTION_KEY in single use surveys (#1094)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-19 08:17:57 +00:00
Johannes
7ea11133d8 lp: fix demo page header (#1312) 2023-10-19 08:10:54 +00:00
Shubham Palriwala
87663819ff feat: update formtribe leaderboard as per today (#1310) 2023-10-19 08:08:00 +00:00
Julian Li
867879a680 chore: (docs) add GitHub trending badge in readme file (#1279) 2023-10-19 06:30:23 +00:00
Matti Nannt
12adecd297 fix: survey list loading error for products with a lot of actions (#1302) 2023-10-18 20:26:53 +00:00
Matti Nannt
bdf3298a90 chore: improve error logging in services (#1300) 2023-10-18 19:17:53 +00:00
Abhinav Arya
3a36f886da fix: Survey : Welcome Card Button is buggy (#1299) 2023-10-18 18:38:47 +00:00
Shreya Ranpariya
6872f202ed feat: added Firecamp to oss-friends the list (#1291) 2023-10-18 18:34:14 +00:00
Matti Nannt
041ac5146b chore: improve error component and display message to user (#1298) 2023-10-18 18:19:08 +00:00
Rotimi Best
1798e64331 chore: caching for action and actionClass services (#1264) 2023-10-18 14:56:56 +00:00
Aditya Deshlahre
332631907a fix(bug): removed user from Team, but user can select team (#1111)
Co-authored-by: Shubham Palriwala <spalriwalau@gmail.com>
2023-10-18 14:55:03 +00:00
Shubham Palriwala
9eae65db44 fix: survey editor minor css bug fixes (#1287) 2023-10-18 14:52:21 +00:00
Shubham Palriwala
8074d324d4 feat: rate limiting of auth endpoints (#1227) 2023-10-18 14:51:28 +00:00
Shubham Palriwala
3d5fdb39c8 feat: authorization in responseNote actions & cleanup of unused actions (#1062) 2023-10-18 12:21:49 +00:00
Ratish jain
484040cce9 fix: concierge cards (#1263)
Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-18 09:50:44 +00:00
Abhinav Arya
eb88858d6f fix: fixing navbar position while scrolling the page. (#1266)
Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-18 09:36:08 +00:00
Vineet J Karni
5c9d8af3f0 fix: Corrected landing page styles (#1278)
Co-authored-by: Johannes <johannes@formbricks.com>
2023-10-18 09:23:00 +00:00
Matti Nannt
85808bc0bf chore: Remove SurveyWithAnalytics model to simplify survey handling (#1273) 2023-10-17 18:31:38 +00:00
Rotimi Best
960f11b296 chore: caching response service (#1108)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-17 17:04:50 +00:00
Matti Nannt
ae5a63811b fix: survey trigger cannot be deleted (#1271) 2023-10-17 16:23:10 +00:00
Ronit Panda
5a7f290e31 fix: pre-commit-hook (#1203)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-17 15:15:35 +00:00
Neil Chauhan
3cf796b040 chore: FOR-1430 Component relocation (#1261)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-17 14:33:45 +00:00
NilanjanPramanik
9f57be47ba fix: Alignment of step-by-step and try button for mobile (#1241)
Co-authored-by: Shubham Palriwala <spalriwalau@gmail.com>
2023-10-17 14:04:23 +00:00
Yatharth Verma
abd1f9822d fix: names spellings in survey pin related functions or variables (#1232)
Co-authored-by: Shubham Palriwala <spalriwalau@gmail.com>
2023-10-17 13:30:44 +00:00
Ali Yar Khan
7a7acd5ffa fix: icons not aligned center on firefox (#1251) 2023-10-17 13:18:32 +00:00
Digvijay Gupta
eb64b5f202 fix: update product name, waiting time and delete product operation (#1260)
Co-authored-by: Digvijay Gupta <digvijaygupta@Digvijays-MacBook-Pro.local>
2023-10-17 12:24:17 +00:00
Anshuman Pandey
c36fe72971 fix: changes env names (#1259) 2023-10-17 11:36:11 +00:00
Nafees Nazik
113a5a5653 fix: type errors in js sdk (#1115) 2023-10-17 10:19:12 +00:00
Rotimi Best
75dc3c6d44 fix: cast .length result to boolean (#1253) 2023-10-17 10:16:46 +00:00
Anshuman Pandey
20e2df6729 fix: encodes url correctly (#1252)
Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
2023-10-17 10:15:51 +00:00
Matti Nannt
46be7529fd chore: simplify packages dependencies (#1243) 2023-10-17 09:56:01 +00:00
Naitik Kapadia
2c1abf8782 feat: Add welcome card (#1073)
Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com>
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
Co-authored-by: Johannes <johannes@formbricks.com>
2023-10-17 09:27:57 +00:00
Shivam Bhatnagar
06b9d4f5f9 fix(web): Fix user dropdown keyboard accessibility (#1240) 2023-10-17 09:05:06 +00:00
Shubham Palriwala
fadc5f64b1 chore: remove build from source deployment guide (#1207)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-17 08:44:44 +00:00
Naresh
534e14740e fix: duplicate survey not revalidating the cache key PAIR: Bilal Mirza (#1229)
Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
2023-10-17 08:36:59 +00:00
Shubham Palriwala
b3171e222f fix: docker compose volume only takes absolute paths (#1206) 2023-10-17 08:35:34 +00:00
Vedant Borkar
0db2f09b01 fix: Typo on main page is fixed (#1250) 2023-10-17 07:32:45 +00:00
Shubham Palriwala
d078a5a357 feat: update latest leaderboard points (#1247)
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-17 07:26:15 +00:00
Mohit Negi
921553708e fix: Unifying discord logo (#1236) 2023-10-17 07:22:36 +00:00
Vinayak Mali
a3ff325557 chore: add hyperlink to LICENSE reference (#1246) 2023-10-17 07:11:53 +00:00
madlia
e8232d85dc chore: add hyperlink SECURITY reference (#1245) 2023-10-17 07:11:00 +00:00
Matti Nannt
12b7b9e849 chore: Update npm dependencies (#1242) 2023-10-16 19:20:53 +00:00
Matti Nannt
71ff256a55 fix: have same non-module workflow for packages (#1230) 2023-10-16 17:36:58 +00:00
Matti Nannt
8768b641b3 fix: remove prisma types import in runtime (#1228) 2023-10-16 13:56:20 +00:00
Rotimi Best
b38be19293 docs: code quality & styling section (#1226) 2023-10-16 13:10:51 +00:00
Johannes
4b3547c96e lp: Update oss friends page (#1225) 2023-10-16 12:44:41 +00:00
Matti Nannt
f2d4cf4087 fix: formbricks-surveys not compiling correctly leads to formbricks-js throwing error in action creation (#1223) 2023-10-16 12:44:06 +00:00
Digvijay Gupta
029e97468b fix: attribute-settings-tab-button-link (#1221)
Co-authored-by: Digvijay Gupta <digvijaygupta@Digvijays-MacBook-Pro.local>
2023-10-16 12:25:53 +00:00
Naresh
98ad73cee6 fix: fix invalid state initialisation (#1220)
Co-authored-by: Johannes <johannes@formbricks.com>
2023-10-16 12:23:41 +00:00
Johannes
5ac5e5162f fix: replace ' with backticks (#1214) 2023-10-16 11:16:15 +00:00
Piyush Garg
5e5723d091 feat: Added Pin Protection to forms (#1142)
Signed-off-by: aryabyte21 <arya2001bhosale@gmail.com>
Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
Co-authored-by: Vaibhav Bhardwaj <43564765+impolska742@users.noreply.github.com>
Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Nikolay Bonev <DonKoko@users.noreply.github.com>
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
Co-authored-by: Abhinav Arya <95561280+itzabhinavarya@users.noreply.github.com>
Co-authored-by: Shaikh Adnan <117739824+Sha1kh4@users.noreply.github.com>
Co-authored-by: Akash Sharan <129506339+asharan2511@users.noreply.github.com>
Co-authored-by: Arya Bhosale <60646682+aryabyte21@users.noreply.github.com>
Co-authored-by: Ratish jain <43003421+ratishjain12@users.noreply.github.com>
Co-authored-by: Sundaram Kumar Jha <jhasundaram@outlook.com>
Co-authored-by: Soham Tembhurne <82658685+sohamtembhurne@users.noreply.github.com>
Co-authored-by: Digvijay Gupta <65729055+3xp10it3r@users.noreply.github.com>
Co-authored-by: Digvijay Gupta <digvijaygupta@Digvijays-MacBook-Pro.local>
Co-authored-by: Ronit Panda <72537293+rtpa25@users.noreply.github.com>
Co-authored-by: Bilal Mirza <84387676+bilalmirza74@users.noreply.github.com>
2023-10-16 11:12:32 +00:00
Bilal Mirza
accd977ddc fix: Overflow of body across leaderboard on mobile screen #1120 & Doc's navbar was not responsive #1129 (#1123)
Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-15 17:27:52 +00:00
Ronit Panda
a71ad7c15e feat: adds hidden field functionality to surveys (#1144)
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-15 17:24:12 +00:00
Digvijay Gupta
ac12e37786 fix: Fixed grammatical error in feedback box -> why it is useful section (#1166)
Co-authored-by: Digvijay Gupta <digvijaygupta@Digvijays-MacBook-Pro.local>
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-15 16:04:39 +00:00
Soham Tembhurne
dd76830265 fix: Link for "Pricing" not working fixed (#1165)
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-15 15:57:36 +00:00
Arya Bhosale
c64cc13cfb fix: minor ui fixes (#1138)
Signed-off-by: aryabyte21 <arya2001bhosale@gmail.com>
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-15 15:38:29 +00:00
Shaikh Adnan
8f7fe0cdfe style: Fixed a minor grammatical mistake. (#1164) 2023-10-15 15:30:10 +00:00
Sundaram Kumar Jha
9e68dfd552 fix: Pricing Link in mobile menu on LP , Update Header.tsx (#1163) 2023-10-15 15:29:11 +00:00
Ratish jain
ff677ca9a5 fix: Concierge btn text opacity fixed and made it look proper (#1162) 2023-10-15 15:26:29 +00:00
Matti Nannt
c162037446 fix: build issues in environment service on some systems (#1160) 2023-10-14 17:51:32 +00:00
Arya Bhosale
52837417bf fix: Automate copyright year (#1136)
Signed-off-by: aryabyte21 <arya2001bhosale@gmail.com>
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-14 16:51:05 +00:00
Matti Nannt
f2b57a3589 chore: improve logging in survey service (#1156) 2023-10-14 16:38:49 +00:00
Akash Sharan
9dfd99e916 fix/Typo-main-page (#1146)
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-14 16:18:55 +00:00
Shaikh Adnan
a8e103f63b fix: Added DISCORD to the Footer.tsx (#1154)
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-14 15:59:21 +00:00
Abhinav Arya
6f5e05e05d fix: twitter-icon-in-docs-footer-section (#1134)
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-14 15:52:29 +00:00
Nikolay Bonev
6a5260f317 chore: Add shelf.nu to oss fields api endpoint (#1110)
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2023-10-14 15:48:40 +00:00
Vaibhav Bhardwaj
0cadc279d5 fix: added scroll to top button (#1153)
Co-authored-by: Johannes <johannes@formbricks.com>
2023-10-14 15:46:48 +00:00
Matti Nannt
f9a254e295 fix: conflicting typescript and dts from surveys package producing error (#1143) 2023-10-14 09:33:21 +00:00
Matti Nannt
d06a2a6482 fix: dependency reference issues in monorepo (#1141) 2023-10-14 08:39:16 +00:00
Anjy Gupta
d54283d733 feat: Storybook integration for UI components (#987)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-13 21:29:12 +00:00
Dhruwang Jariwala
1b19973da9 refactor: Google sheet integration (#1128)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-13 20:05:40 +00:00
Rotimi Best
08c7581832 chore: move group components in app folder (#1133) 2023-10-13 16:43:27 +00:00
Matti Nannt
bd287b4f51 fix: formbricks-js not starting in a browser (#1131) 2023-10-13 15:31:37 +00:00
Matti Nannt
e1eba78cf1 chore: Version Packages (#1126)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-13 13:02:48 +00:00
dependabot[bot]
417ee07a0b chore(deps): bump webpack from 5.75.0 to 5.88.2 (#1121)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 12:29:57 +00:00
Matti Nannt
e46b058842 chore: Prepare release of formbricks-js 1.1.0 (#1124) 2023-10-13 12:19:16 +00:00
Matti Nannt
7078101de9 feat: move formbricks-js to vite bundler (#883)
Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com>
2023-10-13 10:28:25 +00:00
Johannes
58a6c1be41 lp: update leaderboard Friday 13th (#1116) 2023-10-12 20:50:44 +00:00
Bilal Mirza
3206794055 fix: Buttons Margin and code snippets issue across Docs (#1107) 2023-10-12 07:56:58 +00:00
Shivam Bhatnagar
8a94f9437e fix(formbricks-com): fix horizontal scrollbar in small viewports (#1100) 2023-10-12 06:53:14 +00:00
KRISH SONI
bb35b8d79f chore: add nodejs URL in readme (#1102) 2023-10-12 06:31:30 +00:00
Rohan Gupta
b9d6134d22 fix: survey baseurl fix and addition of SHORT_SURVEY_BASE_URL in .env.example file (#1046)
Co-authored-by: Rohan Gupta <rohan.gupta@zopper.com>
2023-10-12 06:15:52 +00:00
Matti Nannt
8c9a9d670b fix: readme formtribe link (#1099) 2023-10-11 17:06:33 +00:00
Matti Nannt
61aaf301c1 fix: web-app surveys not triggered with modified api endpoint (#1097) 2023-10-11 16:48:54 +00:00
Rotimi Best
2f8aa9b2ae fix: format survey date fields back to Date type (#1096) 2023-10-11 15:25:09 +00:00
Dhruwang Jariwala
e2a6631b64 refactor: Move all @formbricks/ui components to the new folder structure (#1057)
Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
2023-10-11 15:17:13 +00:00
Dhruwang Jariwala
7ff847c607 fix: scrollbar issue (#1090) 2023-10-11 11:52:13 +00:00
Johannes
501ce8cf78 lp: blog article community developed feature (#1091) 2023-10-11 11:14:11 +00:00
Anjy Gupta
068a440585 fix: add toast and error handler for multiple team/product creation with existing team/product name (#996)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-11 09:45:51 +00:00
Anush Deokar
e79a75cf6a fix: X and optional text overlap (#1077)
Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com>
Co-authored-by: Dhruwang Jariwala <67850763+Dhruwang@users.noreply.github.com>
2023-10-11 09:35:23 +00:00
Shubham Palriwala
820680d7e7 feat: add docs for setting ENCRYPTION_KEY in .env in contributing guide (#1088)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-11 09:24:28 +00:00
Piyush Gupta
311df18315 feat: brand color overwrite (#1035) 2023-10-11 08:46:34 +00:00
Dhruwang Jariwala
e7d95f9d75 fix: multiChoice undefined value check (#1087) 2023-10-11 08:45:33 +00:00
Anjy Gupta
b2d03b7284 fix: added script to setup encryption key in gitpod script (#1080) 2023-10-11 07:00:28 +00:00
Aditya Deshlahre
0d3b948a8b fix: Name can updated without any characters/value (#1020)
Co-authored-by: Shubham Palriwala <spalriwalau@gmail.com>
2023-10-11 06:52:00 +00:00
Deepanshu
04d8475df2 add FULL_STOP to Readme File (#1075) 2023-10-11 06:26:14 +00:00
Olasunkanmi Balogun
7d611d3ddf fix: statusText mismatch in webhook integrations (#1068)
Co-authored-by: Shubham Palriwala <spalriwalau@gmail.com>
2023-10-11 06:21:49 +00:00
Abhinav Arya
ad15af59da fix: image and page responsiveness in docs section (#1078)
Co-authored-by: Shubham Palriwala <spalriwalau@gmail.com>
2023-10-11 06:08:23 +00:00
Rotimi Best
9063c8286c chore: refactor services with Formbricks best practices (#988)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-10 13:54:23 +00:00
Matti Nannt
cff23f497c fix: responses not visible when sdk not connected (#1074) 2023-10-10 12:11:19 +00:00
Matti Nannt
cb6c1aade6 fix: getAttributeClassByName cache returns wrong entries (#1072) 2023-10-10 11:52:47 +00:00
Anshuman Pandey
66408fdccc feat: 2FA (#798)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-10 11:29:11 +00:00
Matti Nannt
459eb5525e chore: add ENCRYPTION_KEY to github actions (#1069) 2023-10-10 11:18:40 +00:00
Shubham Palriwala
b52adf0122 feat: authorization in attributeClassAction (#1056)
Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
2023-10-10 10:51:00 +00:00
Prasoon Mahawar
6fb61f1bfd fix: Exit Intent now works on FF, Safari, Arc (#1059) 2023-10-10 16:02:41 +05:30
Shubham Palriwala
85fe1feec6 feat: add authorization in product update actions (#1060)
Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
2023-10-10 12:08:26 +02:00
Matti Nannt
57390faef7 chore: update github build action (#1065) 2023-10-10 11:56:46 +02:00
Geri Máté
7210583bb5 chore: add dyrector.io to OSS friends (#1040) 2023-10-10 15:19:45 +05:30
Shubham Palriwala
767de5d011 feat: authorization in notificationUpdateAction (#1058) 2023-10-10 15:15:01 +05:30
Ikko Eltociear Ashimine
545945cd04 fix: typo in gdpr-guide.mdx (#1043) 2023-10-10 14:57:50 +05:30
Shubham Palriwala
395ff50ac6 feat: authorization in deletePerson action (#1063) 2023-10-10 14:32:56 +05:30
Shubham Palriwala
32449e6f69 feat: introduce new security policy (#1033) 2023-10-10 14:03:34 +05:30
Johannes
d7ffe17312 chore: Add FormTribe Hackathon to README (#1030) 2023-10-10 13:03:04 +05:30
Rohit Dadgal
c2c221b8fa chore: add punctuations in README (#1024) 2023-10-10 12:42:07 +05:30
Shubham Palriwala
a4909482ab fix: make pr.yml mandatory on all PRs (#1061) 2023-10-10 12:27:03 +05:30
Rohan Gupta
4ea7ac0a81 fix: Multi select Other option selected automatically when coming back & take final value onSubmit of other field (#1004)
Co-authored-by: Rohan Gupta <rohan.gupta@zopper.com>
2023-10-10 10:29:36 +05:30
Dhruwang Jariwala
6a280913c3 refactor: Unified single response card and improved UX (#750)
Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Dhruwang Jariwala <dhruwang@Dhruwangs-MacBook-Pro.local>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-09 23:22:09 +02:00
Matti Nannt
d84e06b909 fix: formbricks connection status display (#1041) 2023-10-09 17:46:18 +02:00
Johannes
0b90718e9f lp: add PH notifier to LP (#1034)
Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
2023-10-09 17:11:06 +02:00
Shubham Palriwala
52ea908709 feat: add authorization on product update action during onboarding (#1009)
Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
2023-10-09 16:31:19 +02:00
Rohan Gupta
d05122d2fe feat: auto prefilled prev ID when Question ID is left empty (#1038)
Co-authored-by: Rohan Gupta <rohan.gupta@zopper.com>
2023-10-09 15:48:56 +02:00
Shubham Palriwala
c3e50441cd feat: add authorization on google integrations actions (#1031)
Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
2023-10-09 14:51:02 +02:00
Matti Nannt
633704d96e fix: add cors to display update endpoint (#1036) 2023-10-09 14:12:08 +02:00
Aditya Deshlahre
631a50b733 fix: new team not listed in teams list in navbar (#1010)
Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com>
Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
2023-10-09 13:09:44 +02:00
Shubham Palriwala
f9fb2c6a99 fix: build error due to survey status becoming optional (#1026)
* fix: build error due to survey status becoming optional

* made refactors

* fix: use universal ID over newly created ID

* remove build step from github actions workflows

---------

Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com>
Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
2023-10-09 12:44:01 +02:00
Anshuman Pandey
a08a6e4b41 fix: file uploads bug (#1027)
* fix: fixes file upload bug

* fix: updates docker compose
2023-10-09 08:03:09 +02:00
Ratish jain
7ba85e0d2b fix: TryNow CTA button UX (#1013)
* buttons responsiveness fixed

* fix: try now button ui
2023-10-09 10:06:14 +05:30
Abhinav Arya
e78e5a0289 fix: Responsiveness for the code table (#1018)
* fix Responsiveness for the code table

* fix Removing extra line
2023-10-09 10:00:29 +05:30
Johannes
c432e323ce fix: Smoothen full screen preview animation
fix: Smoothen full screen preview animation
2023-10-09 00:01:13 +05:30
Johannes
9bab070778 Merge branch 'main' into smooth-preview-animation 2023-10-08 23:59:10 +05:30
Johannes
fab187d83d chore: Redesign metadata
chore: Redesign metadata
2023-10-08 23:57:00 +05:30
Dhruwang
e3a18632db fixed shrink animation 2023-10-08 23:49:57 +05:30
Matthias Nannt
7d52ed19c0 combine migrations 2023-10-08 17:55:51 +02:00
Matti Nannt
cf99218544 Merge branch 'main' into redesign-metadata 2023-10-08 17:45:36 +02:00
Matti Nannt
524b73787a fix: optimize Github action PR check pipeline (#1019)
* fix: remove failing bundle analytics action

* rename building action

* reorder actions

* update naming of actions
2023-10-08 16:58:27 +02:00
Dhruwang
ea3f2fd7cd merged main 2023-10-08 19:40:17 +05:30
Dhruwang
4b9f21fbd0 Merge branch 'main' of https://github.com/Dhruwang/formbricks into redesign-metadata 2023-10-08 19:38:02 +05:30
Dhruwang
9614208fb9 made status optional and edited display update functionality 2023-10-08 19:36:42 +05:30
Johannes
89f0c0410e lp: update leader board 081023
lp: update leader board 081023
2023-10-08 19:18:30 +05:30
Johannes
cc17d9d560 update leaderboard 2023-10-08 19:15:27 +05:30
Johannes
5fc7643d39 fix: Required Condition Update for MultiSelectQuestion.
fix: Required Condition Update for MultiSelectQuestion.
2023-10-08 17:11:26 +05:30
Johannes
c923d91264 fix: Card on Landing Page overlapping issue #1001
fix: Card on Landing Page overlapping issue #1001
2023-10-08 16:41:12 +05:30
Johannes
35e3cdcd0d actually fix it ;) 2023-10-08 16:39:23 +05:30
Johannes
6ccbd559fb Reset env in demo app 2023-10-08 16:31:27 +05:30
Johannes
9b26ce5f38 Merge branch 'main' of github.com:formbricks/formbricks into itzabhinavarya/main 2023-10-08 16:29:57 +05:30
Dhruwang
93150b88b7 Merge branch 'main' of https://github.com/Dhruwang/formbricks into redesign-metadata 2023-10-08 16:28:47 +05:30
Dhruwang
4c3a17cdcc made expansion animation smoother 2023-10-08 16:24:39 +05:30
Naitik
b66c37cd26 Required Validator Update 2023-10-08 16:03:42 +05:30
Abhinav Arya
f9457b04f6 Fix overlapping card content on the website using tailwind based approach 2023-10-08 10:18:00 +00:00
Abhinav Arya
eca90dfd9a Fix overlapping card content on the website using tailwind based approach 2023-10-08 09:54:32 +00:00
Johannes
59acb761e2 feat: Validation for Number, URL, Email and Phone Number in Open Text Question
feat: Validation for Number, URL, Email and Phone Number in Open Text Question
2023-10-08 15:02:38 +05:30
Dhruwang
611fa814d4 Merge branch 'main' of https://github.com/Dhruwang/formbricks into KapadiaNaitik/main 2023-10-08 14:56:44 +05:30
Johannes
f181950cc0 Fix: Making navigation bar of LP responsive
Fix: Making navigation bar of LP responsive
2023-10-08 14:54:42 +05:30
Matthias Nannt
0dbf033f01 remove commented code 2023-10-08 11:07:07 +02:00
Johannes
ac4790c38a fix: form preview rerender on survey name change
fix: form preview rerender on survey name change
2023-10-08 14:02:48 +05:30
Johannes
8cfcf28a14 feat: add keyboard usability to end user survey experience
feat: add keyboard usability to end user survey experience
2023-10-08 13:37:02 +05:30
Johannes
53e3a80d6f fix unrelated React error 2023-10-08 13:35:40 +05:30
Dhruwang
c37d924c85 merged latest changes and fixed preview reredering issue 2023-10-08 13:35:29 +05:30
Johannes
07a0d669f4 Fix: Build error in full screen preview PR
Fix: Build error in full screen preview PR
2023-10-08 13:20:48 +05:30
Johannes
5a8bcd10e6 fix build error 2023-10-08 13:19:23 +05:30
Johannes
7c84f5807c feat: Add full screen preview feature to Survey Editor
feat: Add full screen preview feature to Survey Editor
2023-10-08 13:01:42 +05:30
Abhinav Arya
fbc16b3a72 Fix/Card overlapping issue #1001 2023-10-08 07:07:42 +00:00
Ayush
3af6498891 fix: rerender on name change 2023-10-08 08:39:37 +05:30
Yash
f6b4bbeeac fix#997 making navigation bar responsive 2023-10-07 21:26:28 +05:30
Johannes
66e6eaaabd Merge branch 'main' of github.com:formbricks/formbricks into feat/full-screen-link-survey-preview 2023-10-07 17:07:34 +05:45
Johannes
5426e400c9 docs: Added Single Use Links Section in Docs.
docs: Added Single Use Links Section in Docs.
2023-10-07 16:36:57 +05:45
Johannes
feed3e73c9 update single use docs page 2023-10-07 16:33:13 +05:45
Johannes
cc50019e0c Merge branch 'main' of github.com:formbricks/formbricks into docs-update 2023-10-07 16:05:06 +05:45
Johannes
91caac94b6 update docs page 2023-10-07 15:54:43 +05:45
Johannes
c9fea202c4 fix nav link 2023-10-07 15:38:23 +05:45
Johannes
fe12dc7ca9 refactor: Updating Twitter to X Logo in Footer
refactor: Updating Twitter to X Logo in Footer
2023-10-07 15:04:38 +05:45
Johannes
4313745517 fix: typo in mega prompt
fix: typo in mega prompt
2023-10-07 15:02:27 +05:45
Johannes
64c1708ef8 fix: Display Single Use Link Generator instead of Link Preview in Embedding Modal
fix: Display Single Use Link Generator instead of Link Preview in Embedding Modal
2023-10-07 14:58:40 +05:45
Johannes
f8aaa0351f tweak UI 2023-10-07 14:57:00 +05:45
joyal007
c5e7541d72 updated auto submit 2023-10-07 13:45:18 +05:30
Aman
56ce8c10d5 ed Single USe Links in Docs
Signed-off-by: Aman <138197666+aman44444@users.noreply.github.com>
2023-10-07 06:14:16 +00:00
Dhruwang
7e2e0c9739 fixed build errors 2023-10-07 11:34:57 +05:30
Dhruwang
457d34bd70 Merge branch 'issues/SingleUseLinkSurveys' of https://github.com/Dhruwang/formbricks into issues/SingleUseLinkSurveys 2023-10-07 10:30:00 +05:30
Dhruwang
b89e083017 Merge branch 'main' of https://github.com/Dhruwang/formbricks into issues/SingleUseLinkSurveys 2023-10-07 10:29:04 +05:30
Dhruwang
2575b7483b Added single use link modal to shareEmbedSurvey modal 2023-10-07 10:28:23 +05:30
Ayush
86adc0eeff Merge branch 'main' of https://github.com/zaCKoZAck0/formbricks into fix/form_rerender_name_change
merge main
2023-10-07 10:26:04 +05:30
Ayush
5bc4976fb9 fix: form rerender on name change 2023-10-07 09:53:03 +05:30
Yatharth Verma
4875e2c9d4 fix bottom margin as initially when its in fixed, window was getting cut in the top because of navigation bar 2023-10-07 07:57:26 +05:30
Yatharth Verma
74397f27f4 fix merge conflicts 2023-10-07 07:49:50 +05:30
Yatharth Verma
72c4496aac improve animation 2023-10-07 07:47:26 +05:30
sohamtembhurne
802171b6d1 Updating Twitter Logo 2023-10-07 01:14:56 +05:30
joyal007
8f64c5d806 Enter event in option 2023-10-07 00:55:08 +05:30
joyal007
2a73b6460d Added optional enter to submit event 2023-10-07 00:53:38 +05:30
Matti Nannt
6e1bbf19fc fix: build errors (#981) 2023-10-06 19:40:39 +02:00
Yatharth Verma
3d728b782f making animation look natural for maximizing 2023-10-06 23:00:37 +05:30
Anshuman Pandey
fb509d49c9 feat: add base setup to enable file uploads (#861)
* feat: adds api handlers for upload and get file from S3

* feat: upload and fetch files from local storage

* feat: upload and fetch files from local storage

* feat: adds restriction check for allowed file extesnsions

* refactor

* fix: uses t3 env for validation

* fix: fixes validation issues in storage api

* merge with main

* fix: moves UPLOADS_DIR to constants file

* fix: moves private uploads to responseId

* chore: merge with main

* fix: changes api route

* remove comment in storage service, use services in client storage route

* simplify client storage endpoint

* rename fileType to contentType

* relocate storage endpoints, update validation

* update management storage route for readability

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-06 19:06:48 +02:00
Shivani Palya
3e620d7a89 Merge pull request #1 from Shivanipalya26/Shivanipalya26-patch-1
Update megaprompt.md
2023-10-06 22:29:34 +05:30
Shivani Palya
53d8c142c3 Update megaprompt.md 2023-10-06 22:28:53 +05:30
Johannes
6e9b53e68e Update README to highlight contributors
Update README to highlight contributors
2023-10-06 19:48:38 +05:45
Johannes
c7580f0793 feat: Added a not-connected state to the survey state indicator
feat: Added a not-connected state to the survey state indicator
2023-10-06 19:40:42 +05:45
Matti Nannt
5b981e0d91 chore: delete unused uploads directory (#979) 2023-10-06 14:32:54 +02:00
mohitd404
18d7bd0686 Fixed #974 Updated README.md
Updated contributors section in readme.md
2023-10-06 15:56:35 +05:30
Prasoon Mahawar
32633656ae added condition for in-app survey only 2023-10-06 10:05:20 +00:00
Naitik
3bf7d732c2 Fixed where empty pattern was passed when switching from phone 2023-10-06 14:51:01 +05:30
joyal007
20a9b4f3c4 CTA auto skip prevented 2023-10-06 14:43:12 +05:30
Dhruwang
334aacc00c Merge branch 'main' of https://github.com/Dhruwang/formbricks into issues/SingleUseLinkSurveys 2023-10-06 14:43:06 +05:30
joyal007
9a080db936 added hover and focus event 2023-10-06 14:42:40 +05:30
Naitik Kapadia
c9f22290c4 Merge branch 'formbricks:main' into main 2023-10-06 14:32:57 +05:30
joyal007
83a95712e4 long text on enter new line 2023-10-06 14:24:12 +05:30
joyal007
105e32bf6c multi-choice hit enter submit 2023-10-06 14:23:22 +05:30
joyal007
bb206b093e multi question deselect bug fixed 2023-10-06 14:22:06 +05:30
Prasoon Mahawar
24a60bbc10 Merge remote-tracking branch 'refs/remotes/origin/main' 2023-10-06 08:26:54 +00:00
Prasoon Mahawar
f3280292ac Added a not-connected state to the survey state indicator 2023-10-06 08:22:46 +00:00
Johannes
197616ff4d fix: backButton and button target mixup
fix: backButton and button target mixup
2023-10-06 13:14:55 +05:45
Johannes
10e3dd37db fix drop off calculation 2023-10-06 12:46:13 +05:45
ShubhamPalriwala
96e3ba3cc9 fix: backButton and button target mixup & revert input validation 2023-10-06 12:20:23 +05:30
Naitik Kapadia
8eee903bfe Merge branch 'formbricks:main' into main 2023-10-06 11:56:27 +05:30
Johannes
d748c49f13 Merge branch 'main' of github.com:formbricks/formbricks into fix/keyboard-form-usablity 2023-10-06 11:28:57 +05:45
Johannes
8dd5623883 tweak UI 2023-10-06 10:31:58 +05:45
Johannes
818208fdce Merge branch 'main' of github.com:formbricks/formbricks into issues/SingleUseLinkSurveys 2023-10-06 09:40:35 +05:45
Johannes
ab7a072f55 chore: Fix typo
chore: Fix typo
2023-10-06 09:16:22 +05:45
Salim B
caaf903160 Fix sentence 2023-10-06 04:19:23 +02:00
Johannes
efb1033553 lp: update leaderboard
lp: update leaderboard
2023-10-05 23:46:05 +05:45
Johannes
977078d269 update leaderboard 2023-10-05 23:45:09 +05:45
Johannes
eb2a4bc0d2 chore: Add Hook0 to OSS Friends
chore: Add Hook0 to OSS Friends
2023-10-05 23:36:34 +05:45
François-Guillaume Ribreau
53c46418fa feat: add hook0 2023-10-05 17:16:24 +02:00
Matti Nannt
05c4dbaa92 chore: improve error logging in survey service (#958)
* fix: improve error logging in survey service

* expect error class in error logging
2023-10-05 16:46:30 +02:00
Shubham Palriwala
09f885d365 feat: auto generate formbricks encryption key in one click setup (#953)
* fix: docker env parsing & response bug when built w docker

* chore: bring back env example

* fix: docker compose envs are now single place defined

* add: renaming of .env in docs

* remove: existence of prisma_generate_data_proxy

* fix: use newer env vars and a smarter way to handle existing .env file

* fix: remove text to remove existing .enb

* fix: remove comments, local testing, and mention of more updating via echo in prod script

* fix: env ending

* fix: finalllyyy the docker compose works

* wip

* fix: update self host docker compose

* fix: echo log rename
2023-10-05 16:14:23 +02:00
Matti Nannt
7e74cfa0d6 chore: update npm dependencies (#954)
* update packages npm packages

* fix types bug

* update demo npm packages

* update web npm packages

* change formbricks-web to v1.1
2023-10-05 16:11:21 +02:00
Matti Nannt
a612eafee5 fix: docker release deployment pipeline (#957) 2023-10-05 16:09:18 +02:00
Naitik
32b1431939 Revert weird package.json 2023-10-05 16:51:55 +05:30
Naitik
d6f5120e53 Merge branch 'main' of https://github.com/formbricks/formbricks 2023-10-05 16:42:38 +05:30
Matti Nannt
c6779783dc feat: add ASSET_PREFIX_URL to add support for proxies (#917)
* feat: add ASSET_PREFIX_URL to add support for proxies

* cleanup
2023-10-05 11:27:16 +02:00
Shubham Palriwala
cb8c08dd1f fix: update docker from source setup with new env variables and use env variables directly in docker-compose (#818)
* fix: docker env parsing & response bug when built w docker

* chore: bring back env example

* fix: docker compose envs are now single place defined

* add: renaming of .env in docs

* remove: existence of prisma_generate_data_proxy

* fix: use newer env vars and a smarter way to handle existing .env file

* fix: remove text to remove existing .enb

* fix: remove comments, local testing, and mention of more updating via echo in prod script

* fix: env ending

* fix: finalllyyy the docker compose works

* feat: short survey url support in docker compose

* fix: add envs to prod script

* chore: reorder env vars for uniformity

* update description for SHORT_SURVEY_BASE_URL

* fix: add ASSET_PREFIX_URL to prod script & docker compose

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-05 11:04:34 +02:00
Naitik
5e772f38ec Merge branch 'main' of https://github.com/formbricks/formbricks 2023-10-05 13:30:20 +05:30
Shubham Palriwala
940332ced9 fix: survey validation bug and verbose logging (#951) 2023-10-05 09:51:20 +02:00
Naitik
48105c9e8f Ensure Type Safety for inputType 2023-10-05 13:18:09 +05:30
Naitik
5245c29739 Replaced margin with space-x-2 and default placeholder 2023-10-05 13:02:07 +05:30
Shubham Palriwala
0c6acc0d41 feat: add authorization for webhook creation, updation, deletion actions (#912)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-05 09:28:47 +02:00
Subham Ray
ff39086d21 feat: add Url Shortener (#895)
* WIP

* added prisma actions

* remove console.logs

* some more fixes

* tweaks

* addressed all PR review comments

* remove hits from the prisma schema and all its corresponding service logic

* add nanoid

* corrected placeholders

* change database model, bring shortUrl service up to Formbricks code conventions

* update UI and shortUrl endpoint to work with new service

---------

Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-05 09:22:52 +02:00
Naitik
b0c03d52e1 Merge branch 'main' of https://github.com/formbricks/formbricks 2023-10-05 12:17:18 +05:30
Dhruwang
652c9d9de0 cleaned up unused code 2023-10-05 10:38:57 +05:30
Johannes
5f19ffabd1 feat: added port info and guide in gitpod doc page
feat: added port info and guide in gitpod doc page
2023-10-05 07:23:40 +05:45
Johannes
193855c3ff Merge branch 'main' of github.com:formbricks/formbricks into gitpod-doc 2023-10-05 07:16:45 +05:45
Piyush Gupta
cddbabc4ad fix: build error (#949) 2023-10-04 22:30:29 +02:00
Naitik
815c642a37 Made title for phone more clear 2023-10-05 00:58:57 +05:30
Naitik
32f793e43c Remove Please as it duplicates 2023-10-05 00:57:03 +05:30
Naitik
54951822c3 Merge branch 'main' of https://github.com/formbricks/formbricks 2023-10-05 00:47:38 +05:30
Johannes
06f03f65ca feat: Better Embedding of Link Surveys
feat: Better Embedding of Link Surveys
2023-10-04 23:35:30 +05:45
Anjy Gupta
2ec2695cde Merge branch 'gitpod-doc' of https://github.com/anjy7/formbricks into gitpod-doc 2023-10-04 17:42:04 +00:00
Anjy Gupta
d0385eb203 Merge branch 'formbricks:main' into gitpod-doc 2023-10-04 23:10:20 +05:30
Anjy Gupta
999203531f added back ticks 2023-10-04 17:38:52 +00:00
Anjy Gupta
6e4f9cde5c highlighted url 2023-10-04 17:35:47 +00:00
Naitik
4a90d87058 HTML Validation, Proper UI 2023-10-04 23:04:49 +05:30
Joe
59752f3ebe feat: add option to overwrite color and position for single surveys (#645)
* feat: styles ui

* feat: handling brand color and position

* schema update

* survey type update

* feat: local styles preview

* prisma migration

* feat: overriding global settings

* fix: update wording

* fix: do not show positioning in link mode

* update wording

* feat: new component for placement ui

* fix: destructuring localsurvey

* fix: overwritePosition optional

* fix: brandcolor zod validation

* feat: overwrite highlight border setting

* update wording

* merge conflit resolved

* fix: minor review suggestions

* fix: renamed localsurvey to survey

* fix: db schema

* fix comment in .env.example

* fix build errors

* fix: placement

* fix getFirstEnvironmentByUserId function

* fix build errors

---------

Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com>
2023-10-04 19:09:48 +02:00
joyal007
438ffcd77f conflict resolve 2023-10-04 22:09:01 +05:30
joyal007
b433275cb5 Merge conflict resolved' 2023-10-04 22:07:21 +05:30
joyal007
4dee291e32 radio button index updated 2023-10-04 22:07:20 +05:30
joyal007
8d9d9e7d76 merge conflic resolved 2023-10-04 22:07:20 +05:30
joyal007
6deab8fdcf removed CTA button tabindex 2023-10-04 22:07:20 +05:30
joyal007
55c2830085 updated focus issue 2023-10-04 22:07:20 +05:30
joyal007
a126cc14a0 conflict resolved 2023-10-04 22:07:20 +05:30
joyal007
f8f5826151 added tabindex 2023-10-04 22:07:20 +05:30
joyal007
372ae167e0 updated tabindex 2023-10-04 22:07:20 +05:30
joyal007
5ffd8f748d updated tabindex 2023-10-04 22:07:20 +05:30
joyal007
5f2f9717fd updated tabindex 2023-10-04 22:07:20 +05:30
joyal007
f830f59e67 added tabindex 2023-10-04 22:07:20 +05:30
joyal007
882b3c4195 keyboard usablity 2023-10-04 22:07:20 +05:30
Rotimi Best
de40dc36e6 chore: move all services into the new folder structure (#948)
* chore: move environment services

* chore: move all services
2023-10-04 18:04:38 +02:00
Anjy Gupta
1c4394bf75 Merge branch 'formbricks:main' into gitpod-doc 2023-10-04 21:26:56 +05:30
Anjy Gupta
b121e69fb5 added gitpod setup overview 2023-10-04 15:56:31 +00:00
Piyush Gupta
9e19d11eed purged LinkSurveyModal, fixed build error 2023-10-04 21:04:54 +05:30
Piyush Gupta
7580840bb5 resolved merge conflicts 2023-10-04 20:55:45 +05:30
Rotimi Best
6758d2d318 chore: move actions service to new folder structure (#943)
* feat: move actions service

* fix: rename folder to be singular not plural

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-04 17:00:03 +02:00
Rotimi Best
61a850c4ea fix: delete duplicate displays (#947) 2023-10-04 16:41:41 +02:00
Rotimi Best
99ec1ed4e9 fix: standardize error messaging in all service (#920)
* fix: standardize error messaging in all service

* fix: use unknownerror
2023-10-04 16:29:49 +02:00
Sagnik Sahoo
d9f3df8b0f fix: Single Use Link Preview is not correctly functioning (#938)
* fixing the preview link

* Update LinkSingleUseSurveyModal.tsx
2023-10-04 16:27:24 +02:00
Rotimi Best
eb70a8b99a chore: move display service to new folder structure (#946) 2023-10-04 16:25:26 +02:00
dependabot[bot]
16603f1a42 chore(deps-dev): bump postcss from 8.4.30 to 8.4.31 (#939)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.30 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.30...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-04 16:24:14 +02:00
dependabot[bot]
9dfdd4e6ce chore(deps): bump zod from 3.22.2 to 3.22.3 (#940)
Bumps [zod](https://github.com/colinhacks/zod) from 3.22.2 to 3.22.3.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md)
- [Commits](https://github.com/colinhacks/zod/compare/v3.22.2...v3.22.3)

---
updated-dependencies:
- dependency-name: zod
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-04 16:23:43 +02:00
Piyush Gupta
c69e3f5cca fix: resolved PR review changes 2023-10-04 19:11:25 +05:30
Rotimi Best
424cddfa9e chore: move attributeClass service to new folder structure (#944)
* chore: move attributeClass service

* update person service with new attributeClass location
2023-10-04 15:25:08 +02:00
Johannes
8897d3ed66 Validate Survey Editor Form
Validate Survey Editor Form
2023-10-04 18:36:59 +05:45
Rotimi Best
07d0f3e751 fix: move close comment to end in .env.example (#945) 2023-10-04 14:34:31 +02:00
ShubhamPalriwala
16a94ef61f fix: add missing state set on fail 2023-10-04 18:04:06 +05:30
ShubhamPalriwala
f97c8e5bce Merge branch 'shubham/for-1150-validate-survey-editor-forms' of https://github.com/formbricks/formbricks into shubham/for-1150-validate-survey-editor-forms 2023-10-04 17:47:53 +05:30
Piyush Gupta
c57c06dd3b merged main into feat/embed-xp 2023-10-04 17:35:53 +05:30
Matthias Nannt
188f61bda6 merge latest changes, solve merge conflicts 2023-10-04 13:07:10 +02:00
Shubham Palriwala
a78c19385e fix: generate single survey Ids in summary only if enabled (#942) 2023-10-04 13:04:47 +02:00
Dhruwang
7ae1599c03 fix: display count not getting decremented 2023-10-04 16:26:20 +05:30
Dhruwang
f01f55521a fix: display count not getting decremented 2023-10-04 16:24:34 +05:30
Dhruwang
c440d6b486 fix: display count not getting decremented 2023-10-04 16:23:14 +05:30
Dhruwang
3222649ae0 Merge branch 'main' of https://github.com/Dhruwang/formbricks into redesign-metadata 2023-10-04 14:51:47 +05:30
Shubham Palriwala
cce3a98f20 feat: add docs for management API (#930)
* feat: docs for management API

* fix: split api into client and management

* update navigation and pages

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-04 11:03:13 +02:00
Johannes
b13dbc7fea reword toast 2023-10-04 14:23:09 +05:45
Johannes
3b24569e8e Merge branch 'main' of github.com:formbricks/formbricks into shubham/for-1150-validate-survey-editor-forms 2023-10-04 14:06:44 +05:45
Johannes
66d38b1449 feat: faq section on landing page as well as docs
feat: faq section on landing page as well as docs
2023-10-04 13:31:56 +05:45
Johannes
082691d0b3 fix typo 2023-10-04 13:31:29 +05:45
Johannes
d3779bd649 fix typos 2023-10-04 13:24:07 +05:45
Naitik
57234cf012 Merge branch 'main' of https://github.com/formbricks/formbricks 2023-10-04 12:09:53 +05:30
Dhruwang
d831dc1395 moved Id generation to link Modal button 2023-10-04 11:43:58 +05:30
Johannes
67217f4c75 Merge branch 'main' of github.com:formbricks/formbricks into shubham/for-1089-formulate-faqs-and-create-page 2023-10-04 11:33:09 +05:45
joyal007
95b937e63d updated 2023-10-04 09:34:15 +05:30
Joyal Raphel
58bccac12a Merge branch 'formbricks:main' into fix/keyboard-form-usablity 2023-10-04 09:30:33 +05:30
joyal007
8d05cf25a8 added tabindex 2023-10-04 09:27:02 +05:30
joyal007
c267dc9b66 updated tabindex 2023-10-04 09:27:02 +05:30
joyal007
4221a9390f updated tabindex 2023-10-04 09:27:02 +05:30
joyal007
b6ed2e6530 updated tabindex 2023-10-04 09:27:02 +05:30
joyal007
080ddb6f48 added tabindex 2023-10-04 09:27:02 +05:30
joyal007
a2128d2a66 keyboard usablity 2023-10-04 09:27:02 +05:30
Matti Nannt
94e272f47b fix: validation error in profile update input (#937) 2023-10-03 22:03:20 +02:00
Shubham Palriwala
c6678a2607 fix: add authorization for Survey actions (#870)
* poc: use server session and api key validation on deletion

* feat: use server session and api key validation on deletion and creation

* feat: packages/lib/apiKey for apiKey services and auth

* shubham/auth-for-api-key

* fix: caching

* feat: handle authorization for action creation, update, delete

* feat: handle authorization for survey creation, updation & deletion

* feat: use cached method across and wrapper for authzn check

* fix: use cached wrapper & introduce more authzn check for survey services in actions

* fix: club caching methods and use authzn errors

* feat: add caching in canUserAccessApiKey

* feat: add caching in canUserAccessAction and use Authzn error

* fix: rename action to actionClass wherever needed

* feat: use caching in core method and update hasEnvAccess call

* fix: use authzn specific error

* fix: use cache getActionClass

* fix: make changes

* fix: import

* fix: import and suggested changes

* fix: rename action and use cache tag

* feat: use services to create team

* fix: atomic services for product & team creation

* improve teamUpdateInput

* use services in signup process

* redirect to prod environment when new product is created

* fix signup bug

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-03 21:43:34 +02:00
Naitik Kapadia
1ddfe493e5 Merge branch 'formbricks:main' into main 2023-10-03 23:48:44 +05:30
Naitik
8585df90b3 Fixed Phone Number Regex 2023-10-03 23:47:45 +05:30
Johannes
2f95db729c update leaderboard
update leaderboard
2023-10-03 23:24:21 +05:45
Johannes
76ecbb9e2f update leaderboard 2023-10-03 23:22:09 +05:45
Piyush Gupta
83ab524200 merged with remote changes 2023-10-03 23:00:30 +05:30
Yatharth Verma
32f8ce593a Merge: latest branch 2023-10-03 22:57:24 +05:30
Yatharth Verma
e7fd94e412 Improvements: Done all the changes suggested by Johannes 2023-10-03 22:51:32 +05:30
Piyush Gupta
92681b0f81 fix: preview mode in email tab 2023-10-03 22:51:12 +05:30
Piyush Gupta
28ab3c3e4d synced with main 2023-10-03 22:50:11 +05:30
tyjkerr
a35d573884 feat: add single use survey links (#742)
* add uniqueResponseId to link survey

* add uniqueResponseId to survey response

* add singUseId to database and link survey

* add singleUseId to api

* add single use option in survey response options

* add single use to getSurvey

* add getResponseBySingleUseId

* add ZSurveySingleUse schema to survey schema

* add logic to check if link with suid has response

* pass singleUseId as props, revert SWR changes

* generation of single-use url in LinkSurveyModal

* add singleUseId to SingleResponseCard

* update SurveyInactive for invalid link

* add suId to ZResponse schema

* fix typo in SurveyInactive

* update ResponseOptionCard

* add suId to response select

* add default message for SurveyLinkUsed

* update logic to render SurveyLinkUsed

* add comment for suId in prisma schema

* fix types

* refresh server component on save survey

* update logic

* fix build errors

* fix prisma schema

* add db migration

* update wording

* add singleUseId to localstorage

* fix survey link used over thank you

* add suid to people responses

* fix preview and copy link on surveys page.

* update text and icon for link survey modal

* check survey not finished before setting question

* update show surveylink used logic

* add zodtype to prisma

* fix logic to render last question answered/stored

* add better comments

* update default message for single use surveys

* add LinkSingleUseSurveyModal

* add guard before getting response with suid

* fix build error

* add default message for link used page

* add key and group imports

* add suId encryption and validation

* make survey url encryption optional

* fix build errors

* move singleUseId to server side in surveyList

* added validation to getResponseBySingleUseId service

* restored env var names

* import FORMBRICKS_ENCRYPTION_KEY from constants

* check if encryption environment variable is set, add length validation for env variable

---------

Co-authored-by: Ty Kerr <tykerr@Tys-MacBook-Pro.local>
Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com>
2023-10-03 18:26:13 +02:00
Anjy Gupta
b710c8961b Merge branch 'formbricks:main' into gitpod-doc 2023-10-03 21:23:52 +05:30
Anjy Gupta
4c60791929 made req changes 2023-10-03 15:52:18 +00:00
Johannes
251beb4d51 ui tweaks 2023-10-03 21:36:16 +05:45
Dhruwang
79d05a4c57 Merge branch 'main' of https://github.com/Dhruwang/formbricks into redesign-metadata 2023-10-03 21:07:16 +05:30
Piyush Gupta
5384e7f95e resolved merge conflicts 2023-10-03 21:06:38 +05:30
joyal007
b4f10137a8 keyboard usablity 2023-10-03 20:35:02 +05:30
Shubham Palriwala
8f35537bbf fix: smiley rating question now fits inside container (#839)
* fix: smily rating question fit inside container

* wip

* fix: make row center aligned
2023-10-03 14:59:32 +02:00
Dhruwang
09523c318d Merge branch 'main' of https://github.com/Dhruwang/formbricks into redesign-metadata 2023-10-03 18:25:08 +05:30
Shubham Palriwala
49eb4e0c53 feat: connection states on integrations (#833)
* feat: connection states on integrations

* fix: missing action buttons

* make text more readable

---------

Co-authored-by: Johannes <johannes@formbricks.com>
2023-10-03 14:28:55 +02:00
Rotimi Best
66ea2069ac chore: move revalidation interval to a constant (#921) 2023-10-03 14:01:26 +02:00
Rotimi Best
4b1352a995 fix: remove direct usage of prisma type in services (#919) 2023-10-03 13:56:48 +02:00
Rotimi Best
9fbefa42dd fix: remove error prone unused function in services (#918) 2023-10-03 13:55:23 +02:00
Rotimi Best
2cf316b620 fix: rename function name typo in services (#922) 2023-10-03 13:54:26 +02:00
Rotimi Best
8a07b2f82d feat: use of server-only consistently in services (#923) 2023-10-03 13:53:34 +02:00
Naitik Kapadia
e2572ff87b Merge branch 'formbricks:main' into main 2023-10-03 15:49:47 +05:30
Naitik
6c0d356c2a Component for QuestionTypeSelector 2023-10-03 15:44:28 +05:30
Johannes
41fa1d729d docs: improve pull request template with latest info
docs: improve pull request template with latest info
2023-10-03 15:41:03 +05:45
Johannes
7ce4e58755 tweak wording 2023-10-03 15:40:14 +05:45
Dhruwang
75e17e8aa6 added service deleteResponseById 2023-10-03 15:14:56 +05:30
Anjy Gupta
d3d74b2a6c Merge branch 'formbricks:main' into gitpod-doc 2023-10-03 15:13:29 +05:30
Anjy Gupta
b09cc8a25f added step by step guide 2023-10-03 09:43:00 +00:00
Matti Nannt
a8e0e7d3f2 fix: display count not correct in link surveys (#929) 2023-10-03 11:28:55 +02:00
Rotimi Best
ca5f505fbd rename from Not required to optional 2023-10-03 09:55:59 +01:00
Rotimi Best
4584c1e287 fix mix match 2023-10-03 09:55:04 +01:00
Rotimi Best
9c83abb680 docs: improve pull request template with latest info 2023-10-03 09:43:05 +01:00
Johannes
20ec6781e1 add gitpod prize to FormTribe hackathon page
add gitpod prize to FormTribe hackathon page
2023-10-03 14:07:48 +05:45
Johannes
2d9f35f503 add gitpod prize 2023-10-03 14:06:59 +05:45
Johannes
fe475a5b48 update how to section FormTribe
update how to section FormTribe
2023-10-03 12:58:42 +05:45
Johannes
0620829830 update how to section 2023-10-03 12:56:25 +05:45
Dhruwang
49a288e83e Merge branch 'main' of https://github.com/Dhruwang/formbricks into redesign-metadata 2023-10-03 10:58:53 +05:30
Naitik
b2237bb5e5 Merge branch 'main' of https://github.com/formbricks/formbricks 2023-10-03 10:12:43 +05:30
Johannes
027f7f13ba Merge branch 'main' of github.com:formbricks/formbricks into feat/full-screen-link-survey-preview 2023-10-03 09:01:00 +05:45
Johannes
727f09aa6e Fix/multi select optional
Fix/multi select optional
2023-10-03 08:45:10 +05:45
Anjy Gupta
fb1f622d9d feat: added port info and guide in gitpod doc page 2023-10-02 19:00:57 +00:00
Naitik
6ef5a4bcc0 Merge branch 'main' of https://github.com/formbricks/formbricks 2023-10-02 23:38:27 +05:30
PratikAwaik
b0d070b1a9 Merge branch 'main' of https://github.com/formbricks/formbricks into fix/multi-select-optional 2023-10-02 22:33:16 +05:30
PratikAwaik
bd559219b8 fix next button click 2023-10-02 22:33:02 +05:30
Jonas Höbenreich
89a60fd568 feat: add Excel download option (#846)
* add Excel download option

* add back attribute export

* add types and check for download filetype

* add xlsx package

* move csv and excel conversion to internal endpoints

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-02 17:04:11 +02:00
Naitik
5e4d92205c Changed templates.ts 2023-10-02 19:55:50 +05:30
Naitik
444c0b8f36 Small Fix 2023-10-02 19:36:41 +05:30
Naitik
178b5c6ee3 Merge branch 'main' of https://github.com/KapadiaNaitik/formbricks 2023-10-02 19:32:55 +05:30
Naitik
adc5e30dca Remove redunant import 2023-10-02 19:32:24 +05:30
Naitik
b5737ea611 Merge branch 'main' of https://github.com/formbricks/formbricks 2023-10-02 19:32:04 +05:30
Shubham Palriwala
8c0aba82e5 fix: add authorisation for tags actions (#897)
* poc: use server session and api key validation on deletion

* feat: use server session and api key validation on deletion and creation

* feat: packages/lib/apiKey for apiKey services and auth

* shubham/auth-for-api-key

* fix: caching

* feat: handle authorization for tag creation, updation & deletion

* fix: use cached wrapper

* fix: club caching methods and use authzn errors

* feat: add caching in canUserAccessApiKey

* fix: suggrsted changes and authzn for response as well

* fix: work on suggested changes

* fix broken lock file

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-02 16:00:25 +02:00
Naitik Kapadia
7bb6a0ba7d Merge branch 'formbricks:main' into main 2023-10-02 19:28:03 +05:30
Naitik
cf75b4850d Validation Fields 2023-10-02 19:27:37 +05:30
Shubham Palriwala
a9c8e99cd4 fix: add authorization to actions for Profile (#908)
* feat: authzn and limit sensitive info from profile actions

* fix: work on suggested changes
2023-10-02 15:40:15 +02:00
Yatharth Verma
8219905d27 feat: Improve animation 2023-10-02 18:19:51 +05:30
Johannes
bcaf2337c4 update leaderboard
update leaderboard
2023-10-02 17:11:47 +05:45
Johannes
baef77aa98 fix: multi select evaluator and required
fix: multi select evaluator and required
2023-10-02 17:09:07 +05:45
Johannes
1275ae81b3 Merge branch 'main' into fix/multi-select-optional 2023-10-02 17:08:53 +05:45
Johannes
829d2f0297 update leaderboard 2023-10-02 17:04:12 +05:45
Shubham Palriwala
c4b4d2a312 chore: add authorization to server actions for Actions (#868)
* poc: use server session and api key validation on deletion

* feat: use server session and api key validation on deletion and creation

* feat: packages/lib/apiKey for apiKey services and auth

* shubham/auth-for-api-key

* fix: caching

* feat: handle authorization for action creation, update, delete

* feat: use cached method across and wrapper for authzn check

* fix: club caching methods and use authzn errors

* feat: add caching in canUserAccessApiKey

* feat: add caching in canUserAccessAction and use Authzn error

* fix: rename action to actionClass wherever needed

* fix: use cache getActionClass

* fix: make changes

* fix: import

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-02 13:03:49 +02:00
Johannes
e01d5a44f4 fix lock file (#904) 2023-10-02 12:42:28 +02:00
Johannes
289d36d509 style: Add corresponding icons to type indicator #892
style: Add corresponding icons to type indicator #892
2023-10-02 16:01:52 +05:45
PratikAwaik
015c26a1ef fix multi select evaluator and requirewd 2023-10-02 15:46:44 +05:30
Aditya Deshlahre
cfe6e3628d Merge branch 'main' into adityadeshlahre/formtribe 2023-10-02 14:12:30 +05:30
Shubham Palriwala
c470c024c5 fix: Add authorisation for API Key server actions (#741)
* poc: use server session and api key validation on deletion

* feat: use server session and api key validation on deletion and creation

* feat: packages/lib/apiKey for apiKey services and auth

* shubham/auth-for-api-key

* fix: caching

* fix: club caching methods and use authzn errors

* feat: add caching in canUserAccessApiKey
2023-10-02 10:13:19 +02:00
Johannes
532d66bb34 feat: Mandatory question indicator added
feat: Mandatory question indicator added
2023-10-02 13:47:12 +05:45
Johannes
f4811ecee2 update cta 2023-10-02 13:46:39 +05:45
Shubham Palriwala
9e91e572ba fix: unable to add a new action while editing a survey (#899) 2023-10-02 09:37:33 +02:00
Johannes
7269303b71 tweak styling 2023-10-02 13:21:36 +05:45
Yatharth Verma
cb7eb8b19f feat: Add full screen preview feature 2023-10-02 11:40:39 +05:30
Aditya @ArchLinux
dab6b86717 Fixed Source of Question type & icon 2023-10-02 10:40:58 +05:30
Piyush Gupta
55c29c6a73 resolved review changes 2023-10-02 10:06:11 +05:30
Johannes
d3b2e0ba7b Lp/leaderboard update
Lp/leaderboard update
2023-10-02 10:17:35 +05:45
Johannes
7ef95bc284 update banner 2023-10-02 10:15:46 +05:45
Johannes
7d9617e27f update leaderboard 2023-10-02 10:05:40 +05:45
Aditya @ArchLinux
0892bbd898 Selection Fix 2023-10-02 02:23:07 +05:30
Aditya Deshlahre
8549ac61c2 Merge branch 'formbricks:main' into adityadeshlahre/formtribe 2023-10-02 01:28:32 +05:30
Aditya @ArchLinux
2ab90c14b9 Add corresponding icons to type indicator #892 2023-10-02 01:10:04 +05:30
Johannes
6e2b4e2aef Lp/leaderboard
Lp/leaderboard
2023-10-02 00:12:39 +05:45
Johannes
af1dc2c08b side quest tweaks 2023-10-01 23:43:49 +05:45
Johannes
a032d8aad6 add button to issue 2023-10-01 23:42:28 +05:45
Johannes
5557f22a4b add leaderboard 2023-10-01 23:33:25 +05:45
Piyush Gupta
5fad91dcb7 feat:mandatory question indicator added 2023-10-01 19:18:04 +05:30
Johannes
f01adaf994 Docs: Add cla form to getting started doc
Docs: Add cla form to getting started doc
2023-10-01 17:21:47 +05:30
Rotimi Best
48f1ed4d78 docs: update wording 2023-10-01 11:47:19 +00:00
Rotimi Best
81a6e92aed docs: add cla form to getting started doc 2023-10-01 11:29:45 +00:00
Johannes
030e8556fb fix: Progress bar reset
fix: Progress bar reset
2023-10-01 16:21:09 +05:30
Johannes
4b978b4ac4 Release Side Quests
Release Side Quests
2023-10-01 16:14:15 +05:30
Johannes
15d75a2856 release side quests 2023-10-01 16:11:14 +05:30
Dhruwang
0027835af2 fix: Progress bar reset 2023-10-01 16:00:28 +05:30
Shubham Palriwala
769ceb1fc2 refactor: @formbricks/api package (#782)
* init: rewritten formbricks api package

* restrucure: client prepended formbricks api package

* feat: cleanup error templating and node-fetch for non browser access

* feat: replace package (build error for js packge due to api)

* fix: rename methods & move error type

* fix: imports of api via js

* remove node-fetch

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-10-01 11:50:29 +02:00
Johannes
e3069f7bab Blog: Join the FormTribe blog post
Blog: Join the FormTribe blog post
2023-10-01 15:14:39 +05:30
Johannes
3af8a4e17d add gitpod docs page, tweak pricing table 2023-10-01 15:10:26 +05:30
Johannes
1faa74864c Merge branch 'main' of github.com:formbricks/formbricks into join-formtribe 2023-10-01 14:46:07 +05:30
Johannes
eac75c29b6 Docs: How we code documentation
Docs: How we code documentation
2023-10-01 14:44:17 +05:30
Johannes
9bed96a22f Merge branch 'main' of github.com:formbricks/formbricks into how-we-code 2023-10-01 14:42:14 +05:30
Johannes
14e8c43214 Merge branch 'main' of github.com:formbricks/formbricks into how-we-code 2023-10-01 14:37:31 +05:30
Johannes
6d36bb8cb7 Merge branch 'main' of github.com:formbricks/formbricks into join-formtribe 2023-10-01 14:35:37 +05:30
Johannes
d5b67f4a14 Merge branch 'main' of github.com:formbricks/formbricks into join-formtribe 2023-10-01 14:20:07 +05:30
Johannes
e2c3686f2f add gitpod docs 2023-10-01 14:16:16 +05:30
Piyush Gupta
6533d9834b resolved merge conflicts 2023-10-01 10:22:24 +05:30
Piyush Gupta
1033ac745a fix: preview email survey url 2023-10-01 10:15:04 +05:30
Matti Nannt
6af13c7aaa feat: add vercel.json file to configure Vercel deployments (#876)
* feat: add vercel.json file to configure Vercel deployments

* reduce maxDuration of sync endpoint

* update api function routes

* increase sync limit
2023-09-30 22:42:27 +02:00
Matti Nannt
5aad6ea095 fix: invalid validation of VERCEL_URL leads to build errors on Vercel (#875)
* fix: invalid validation of VERCEL_URL leads to build errors on Vercel

* fix build errors
2023-09-30 22:07:17 +02:00
Shubham Palriwala
13afba7615 feat: move env vars from build-time to run-time to better support self-hosting environments (#789)
* feat: privacy, imprint, and terms URL env vars now do not need rebuilding

* feat: disable_singup env var now do not need rebuilding

* feat: password_reset_disabled env var now do not need rebuilding

* feat: email_verification_disabled env var now do not need rebuilding

* feat: github_oauth & google_oauth env var now do not need rebuilding

* feat: move logic of env vars to serverside and send boolean client-side

* feat: invite_disabled env var now do not need rebuilding

* feat: rename vars logically

* feat: migration guide

* feat: update docker-compose as per v1.1

* deprecate: unused NEXT_PUBLIC_VERCEL_URL & VERCEL_URL

* deprecate: unused RAILWAY_STATIC_URL

* deprecate: unused RENDER_EXTERNAL_URL

* deprecate: unused HEROKU_APP_NAME

* fix: define WEBAPP_URL & replace NEXT_WEBAPP_URL with it

* migrate: NEXT_PUBLIC_IS_FORMBRICKS_CLOUD to IS_FORMBRICKS_CLOUD

* chore: move all env parsing to a constants.ts from page files

* feat: migrate client side envs to server side

* redo: isFormbricksCloud to navbar serverside page

* fix: constants is now a server only file

* fix: removal of use swr underway

* fix: move 1 tag away from swr to service

* feat: move away from tags swr

* feat: move away from surveys  swr

* feat: move away from eventClass swr

* feat: move away from event swr

* fix: make constants server-only

* remove comments from .env.example, use constants in MetaInformation

* clean up services

* rename tag function

* fix build error

* fix smaller bugs, fix Response % not working in summary

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-30 21:40:59 +02:00
Ikko Eltociear Ashimine
3c2087452c fix: typo in comment in find-first.ts (#874)
enviroment -> environment
2023-09-30 18:01:14 +02:00
Anshuman Pandey
0225362a92 feat: Add caching to more services (survey, environment, team, profile) (#835)
* feat: caching in surveys

* fix: fixes unstable_cache date parsing error

* fix: fixes survey revalidation in displays and responses

* fix: fixes survey cache

* fix: adds comments

* fix: response cache tag

* fix cache validation and tag naming

* move TSurveysWithAnalytics to TSurveys

* add caching to more services

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-30 14:22:42 +02:00
Rotimi Best
7a9a4b9ffc docs: fix env poin without link 2023-09-30 10:13:59 +00:00
Matthias Nannt
f3ef080ec6 downgrade next version to "fix" dev bug 2023-09-30 11:58:05 +02:00
Matthias Nannt
a17e86bc91 fix docs page error, slight change to pricing 2023-09-30 11:12:30 +02:00
Matthias Nannt
d5bb4d4365 Merge branch 'main' of github.com:formbricks/formbricks into how-we-code 2023-09-30 11:02:56 +02:00
Shubham Palriwala
48d8fc6aca feat: add new pricing table to formbricks-com (#869)
* init: pricing page

* fix: ux changes
2023-09-30 11:01:46 +02:00
Rotimi Best
810bd645f8 docs: more self cr 2023-09-30 06:25:59 +00:00
Rotimi Best
0f3aa9434a docs: self code review 2023-09-30 06:24:32 +00:00
Piyush Gupta
9e9c02bc3e fix: build errors 2023-09-30 11:52:02 +05:30
Rotimi Best
2003bb64f6 docs: how we code documentation 2023-09-30 06:09:47 +00:00
Piyush Gupta
1815d86f16 feat: added email sender server action 2023-09-30 11:32:15 +05:30
Rotimi Best
ef604e7660 doc: join the formtribe blog post 2023-09-30 05:25:34 +00:00
Piyush Gupta
0441f0bbbd Merge branch 'main' of https://github.com/formbricks/formbricks into feat/embed-xp 2023-09-29 20:04:36 +05:30
Piyush Gupta
8bf0df7c74 fix: refactoring and responsiveness 2023-09-29 20:04:04 +05:30
Johannes
18ab73e30a Merge branch 'main' of github.com:formbricks/formbricks into shubham/for-1089-formulate-faqs-and-create-page 2023-09-29 13:20:41 +05:30
Piyush Gupta
9ce4c26bc9 refactor embed xp 2023-09-29 12:59:55 +05:30
Piyush Gupta
128ad4cb3a added shareSurveySheet 2023-09-29 11:44:31 +05:30
Shubham Palriwala
95b7a6fb8c fix: action class creation in frontend fails (#867) 2023-09-28 17:10:23 +02:00
Johannes
5b3c07ffc8 shorten delay for tooltip 2023-09-28 18:39:24 +05:30
Matti Nannt
ca19ee6e0f fix: formbricks-js not displaying properly on smaller screens (#866) 2023-09-28 13:02:41 +02:00
ShubhamPalriwala
9871b0bbe0 fix: metadata on faq & remove best practices due to compile issues 2023-09-28 16:14:54 +05:30
ShubhamPalriwala
35ee2925ec Merge branch 'main' of https://github.com/formbricks/formbricks into shubham/for-1089-formulate-faqs-and-create-page 2023-09-28 15:17:15 +05:30
Johannes
70cd70e414 Tweaking Google Sheets Docs
Tweaking Google Sheets Docs
2023-09-28 14:55:19 +05:30
Johannes
2ff7022368 tweaking docs page 2023-09-28 14:54:39 +05:30
Johannes
9b77d89e53 feat: (documentation) google sheets integration
feat: (documentation) google sheets integration
2023-09-28 14:53:06 +05:30
Johannes
c4b6d6d5f4 Merge branch 'main' of github.com:formbricks/formbricks into shubham/for-1346-docs-page-for-google-sheets-integration 2023-09-28 14:40:25 +05:30
Johannes
2083b68388 fix: add structured metadata to landing pages
fix: add structured metadata to landing pages
2023-09-28 14:35:09 +05:30
Johannes
3e2dcd8e74 fix build error 2023-09-28 14:34:09 +05:30
Dhruwang Jariwala
7e626e75a3 feat: Add Management API (#788)
* added some management APIs for response and surveys

* added management API endpoints

* refactored [responseId] route

* added authorisation and made refactors

* removed console logs

* fixed build issues

* remobed session check

* removed getEnvironmentBySession function

* made code refactors

* update variables in route

* add updated routes

* change underscore to hyphen notation

* peoples -> people

* fix build errors

* resolved build errors

* restored types in summary list

* add redirects for old responses and survey endpoints, update docs

* fixed not authenticated response

* update survey create endpoint to only accept necessary fields, clean up

---------

Co-authored-by: Dhruwang Jariwala <dhruwang@Dhruwangs-MacBook-Pro.local>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-28 10:57:45 +02:00
Piyush Gupta
3edf5539d5 pull from upstream main 2023-09-28 06:38:26 +05:30
Piyush Gupta
fba1b1b0a9 feat: added survey preview 2023-09-28 06:28:40 +05:30
Matti Nannt
c98b909c9c fix: validation error in surveyClosedMessage (#864) 2023-09-27 16:29:36 +02:00
Rotimi Best
edbab36d27 docs: update development and self-hosting information in README (#860)
* docs: add prerequisities to readme.md

* docs: reorganize getting started section in README

* docs: break docker into its own section

* update self-hosting structure

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-27 16:03:26 +02:00
Matti Nannt
e27a994ef9 fix: validation error when surveyClosedMessage is undefined (#863) 2023-09-27 15:57:17 +02:00
Ishan Avasthi
8a7f1ff680 fix: typo on FormTribe Landing Page (#859) 2023-09-27 15:48:48 +02:00
Dhruwang Jariwala
07258aabdd chore: Disable administration view on mobile devices (#862)
* Blocks mobile usage

* remove button

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-27 15:47:51 +02:00
Shubham Palriwala
83bc8a8c11 feat: Add pagination to people overview (#830)
* feat: paginante people page

* undo: delete env example

* fix: rename vars and return empty arr over err

* fix: invalid page logic

* fix: handle bigger cases

* increase PEOPLE_PER_PAGE to 50

* fix: show no people when added invalid page no

* feat: add caching in people fetch services

* Revert "feat: add caching in people fetch services"

This reverts commit ab1e98c05e.

* fix build errors

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-27 11:59:44 +02:00
Matti Nannt
48921663be chore: update npm dependencies (#857)
* chore: update npm packages

* update formbricks-web packages

* update packages in demo

* update packages in formbricks-com

* fix survey status dropdown has no value
2023-09-27 11:42:49 +02:00
Dhruwang
fce7ac30f3 removed console log 2023-09-27 14:09:44 +05:30
ShubhamPalriwala
4c45f13b5c fix: missed gdpr pages 2023-09-27 13:39:35 +05:30
Dhruwang
3125369708 solved build errors and added functionality to store displayId in in-app surveys 2023-09-27 13:33:09 +05:30
Dhruwang
944de69acc Merge branch 'main' of https://github.com/Dhruwang/formbricks into redesign-metadata 2023-09-27 10:29:51 +05:30
Dhruwang
36355ef54b redesigned metadata 2023-09-26 16:48:24 +05:30
Rotimi Best
06448fd4e0 feat: In Gitpod open mailhog in browser on setup complete (#849)
* docs: add local and gitpod set

This links to our docs on formbricks.com for local setup and adds a gitpod setup banner

* feat: open mailhog after gitpod setup complete

* remove development doc
2023-09-26 18:42:19 +09:00
Matti Nannt
48ba245336 fix: formtribe page should only be shown in light mode (#854) 2023-09-26 17:39:39 +09:00
Anshuman Pandey
95c466dbba chore: moves prisma logic from set-attribute to person service (#840) 2023-09-26 16:57:25 +09:00
Rotimi Best
8181f74ad4 docs: Add Gitpod Button to Readme (#848)
This links to our docs on formbricks.com for local setup and adds a gitpod setup banner
2023-09-26 16:55:39 +09:00
Dhruwang Jariwala
562aefef6e feat: Add Deploy with Railway Button to Readme (#851) 2023-09-26 16:54:00 +09:00
Dhruwang Jariwala
a3549cc92c fix: Preview not showing correctly after changing the survey type (#852) 2023-09-26 16:52:39 +09:00
Johannes
6c8d14409c feat: Introduce new Landing Page for FormTribe event (#853)
* formtribe lp v1

* fix apos

* responsiveness + tweaks

* add video
2023-09-26 16:50:21 +09:00
Dhruwang
c272b8a75c Updated survey metadata mockup 2023-09-26 00:02:58 +05:30
Piyush Gupta
0a6367e31e feat: added templates for each question type 2023-09-25 23:22:15 +05:30
ShubhamPalriwala
9b6ea3f451 wip 2023-09-25 10:53:23 +05:30
Johannes
cf881127e7 chore: Adds Papermark
chore: Adds Papermark
2023-09-25 10:15:31 +05:30
Anshuman Pandey
23d6135f30 fix: fixes empty in app surveys screen when formbricks-js is not connected (#836)
* fix: fixes empty in app surveys screen

* move analysis components to components folder

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-24 15:54:21 +09:00
tanayvaswani
f24bd9bfc0 Adds Papermark 2023-09-22 18:37:00 +05:30
Johannes
5f11c9ef81 enhancement: Adds manage sheets label to GS integration card
enhancement: Adds manage sheets label to GS integration card
2023-09-22 11:28:08 +02:00
Johannes
2f8cfe0cd5 fix: NPS response issue
fix: NPS response issue
2023-09-22 11:26:55 +02:00
Dhruwang
0acc840ecd fix: NPS question issue 2023-09-22 14:25:54 +05:30
ShubhamPalriwala
7244af921f Merge branch 'main' of https://github.com/formbricks/formbricks into shubham/for-1150-validate-survey-editor-forms 2023-09-22 13:47:15 +05:30
Dhruwang
9a9b367478 Adds manage sheets label to GS integration card 2023-09-21 23:45:26 +05:30
Dhruwang Jariwala
01dcd55487 fix: typos in Google Auth environment variables (#841) 2023-09-22 03:10:43 +09:00
Dhruwang Jariwala
9b883c103e fix: use correct whitespaces in responses within notification emails (#842) 2023-09-22 03:06:20 +09:00
Dhruwang Jariwala
04678d6e50 fix : email indentation (#837) 2023-09-21 17:10:39 +09:00
ShubhamPalriwala
958f1960ae feat: everything google sheets integration docs' 2023-09-21 13:19:35 +05:30
ShubhamPalriwala
f2bdeabec1 init: google sheet cloud instance integration 2023-09-21 12:14:40 +05:30
Matti Nannt
66ac652c3c feat: minify formbricks-surveys & formbricks-js using terser (#834) 2023-09-20 13:13:52 +09:00
Piyush Gupta
f153b7f0f2 sync with main 2023-09-19 21:18:56 +05:30
Piyush Gupta
91cb8d8503 added email templates 2023-09-19 21:15:27 +05:30
Matti Nannt
85816af22a fix: remove credentials file (#832) 2023-09-19 23:13:51 +09:00
ShubhamPalriwala
5c7f4510e3 Merge branch 'main' of https://github.com/formbricks/formbricks into shubham/for-1089-formulate-faqs-and-create-page 2023-09-19 19:34:00 +05:30
ShubhamPalriwala
23971f33e7 feat: faq section on landing page as well as docs 2023-09-19 19:24:51 +05:30
Dhruwang Jariwala
21f393f402 feat: Add Google Sheets Integration (#735)
* added intro and surveySelect page

* added home page and  wrapper component

* added spreadsheet select

* added data write functionality and added integration schema model

* improved UX

* reworked UI

* added google sheet integration

* removed some unused code

* added user email

* UI tweaks

* fixed build issues and made added question to top of spreadsheets

* adds refreshSheets and added empty survey/spreadsheets text

* restored pnpm-lock

* added duplicate sheet warning

* move process.env to t3env

* move migration

* update docs link, add note to show that sheets integration is not configured

* Add simple docs page for google-sheets

* added session check

* restored pnpm-lock

* Merge branch 'main' of github.com:formbricks/formbricks into Integration/Google-sheet

* added google sheet  env variables to runtimeEnv

---------

Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-19 22:29:11 +09:00
ShubhamPalriwala
13bc73b47e feat: add missing seo metadata in landing pages 2023-09-18 18:30:38 +05:30
Anshuman Pandey
892776c493 refactor: moves team settings to server components (#693)
* feat: moves edit team name to server components

* feat: server components for membership roles

* feat: adds server actions and services

* fix: fixes invite server action

* feat: adds packages for jwt and email

* feat: server actions

* feat: moves edit memberships logic to server components

* feat: moves delete team logic to server components

* fix: fixes team loading states

* rename getAllMembershipsByUserId -> getMembershipsByUserId

* remove cache from mutating functions

* remove cache from updateInvite

* refactoring

* fix build error

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-18 17:32:42 +09:00
Johannes
22c2934969 chore: Add Requestly to OSS Friends
chore: Add Requestly to OSS Friends
2023-09-18 08:43:07 +02:00
Johannes
21edd7a3fc Chore: Remove Careers Page
Chore: Remove Careers Page
2023-09-18 08:42:45 +02:00
tyjkerr
bf67af4dca feat: Make response notes resolvable (#801)
* update notes ux

* add capability to resolve notes

* add migration

* update text color

* prevent updating unchanged note

* add isEdited to ResponseNote

* combine migrations into one

* simplify services

* fix UI issues

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-18 12:34:16 +09:00
Sachin Jain
31cace79c8 Add Requestly to OSS Friends 2023-09-17 20:04:52 +00:00
Johannes
0b7edfd115 remove careers page 2023-09-17 18:30:57 +02:00
Johannes
3b0f16878d chore: add openstatus to friends
chore: add openstatus to friends
2023-09-17 17:49:57 +02:00
Matti Nannt
9d1ea819c5 feat: add mau limit to web-app survey (#828) 2023-09-17 22:57:47 +09:00
Matti Nannt
ac11537e07 fix: make sure event listeners are only added once in formbricks-js (#825)
* add singleton pattern for js widget

* make sure event listeners are only initiated once
2023-09-17 22:51:40 +09:00
Thibault Le Ouay
43a3a0da75 add openstatus to friends 2023-09-17 10:04:56 +02:00
Matti Nannt
9a6a75056c fix: invalidate attributeClasses cache on create (#824) 2023-09-17 00:38:03 +09:00
Matti Nannt
f313275a14 fix: sync call gets called by other functions (#823)
* fix: sync call gets called by other functions

* fix: sync call gets called by other functions

* remove unused imports

* remove unused import

* fix userId update
2023-09-17 00:31:38 +09:00
Anshuman Pandey
d8b14f5f35 chore: add caching to js actions endpoint (#822)
* fix: caching in actions endpoint

* refactor

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-16 22:35:50 +09:00
Matti Nannt
e86b80cf0f chore: enable caching in all js endpoints to reduce database calls (#821)
* Move cached functions to services, add new caching to set-attribute

* update set-user-id route

* move remaining cache functions to services, simplify revalidation and keys

* simplify set-attribute further

* fix build errors

* comment out prisma client logging
2023-09-16 20:53:31 +09:00
Matti Nannt
b04acae0ba fix: formatting issue and build error (#820) 2023-09-16 16:05:12 +09:00
Matti Nannt
73ba6feec2 refactor: Add caching to the sync endpoint (#819)
* test: caching strategies

* feat: caching

* remove hotfix code

* remove unused import

* fix: adds revalidation to action services

* add environments to product service & type

* fix: fixes caching

* fix: fixes product cache

* add person revalidation to person js endpoints

* update surveys cache rule

* add new caching policy for surveys in sync

---------

Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com>
2023-09-16 15:53:44 +09:00
Shubham Palriwala
4a3289d394 chore: rewrite survey not found page to new nextjs standards (#807)
* feat: nextjs custom 404 page notFound

* type survey type properly and return unused inactive screen states

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-15 23:47:33 +09:00
Shubham Palriwala
75323800ea chore: upgrade to nextjs 13.4.19 (#817) 2023-09-15 18:37:42 +09:00
Anshuman Pandey
3fb3baf75d refactor: move product settings page to server components (#679)
* feat: moves edit product name to server component and actions

* feat: moves edit waiting time component to server

* feat: moves product settings to server components

* feat: moves delete product to server components

* fix: fixes delete product

* fix: server fixes

* fix: fixes loading state

* fix: fixes type

* fix: fixes membership types

* fix: fixes

* fix: changes and fixes

* fix build errors

* remove duplicate membership types

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-15 18:26:57 +09:00
Dhruwang Jariwala
e741f7d8e5 refactor: Move Onboarding to server components (#816)
* added data fetching to server side and also added some actions

* made refactors

* replaced router.push with redirect

* updated profileUpdateInput

* move components in components folder

* update import for product update action

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-15 11:58:00 +09:00
Dhruwang Jariwala
041bf36f20 refactor: add proper types to jwt service (#815) 2023-09-15 10:06:41 +09:00
Matti Nannt
4e5c822bec feat: fix prisma accelerate types (#812)
* Fix prisma client types;

* Undo ungraceful changes to the sync route with a more graceful cloud-only fix.

* update prisma runtime
2023-09-14 12:21:21 +09:00
Shubham Palriwala
05be97f43b feat: Introduces Source to the Webhook Overview for automatically created webhooks (#724)
* feat: webhooks now have a source to diff between user and third party

* fix: capitalise first letter of source and increase vertical padding in row

* fix: update webhhok source type in prisma and cleanup services

* combine two migrations into one

* add actions file for webhook UI

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-14 11:33:47 +09:00
ShubhamPalriwala
9c00e7ac20 Merge branch 'shubham/for-1150-validate-survey-editor-forms' of https://github.com/formbricks/formbricks into shubham/for-1150-validate-survey-editor-forms 2023-09-14 07:34:49 +05:30
ShubhamPalriwala
4b838b26bc Merge branch 'main' of https://github.com/formbricks/formbricks into shubham/for-1150-validate-survey-editor-forms 2023-09-14 07:33:53 +05:30
Matti Nannt
fa0d4ab83c feat: add prisma accelerate support (#810) 2023-09-14 04:02:11 +09:00
Matti Nannt
a60ff93754 temporarily deactivate sync endpoint (#809) 2023-09-14 01:50:33 +09:00
Matti Nannt
1a5e5fc845 make sync endpoint unavailable (#808) 2023-09-14 01:38:51 +09:00
Dhruwang Jariwala
993346b9ae chore: rewrite survey editor to server components (#728)
* created a new service for survey data mutation

* made requested changes

* made some refactors

* ran pnpm format

* removed console logs

* removed some unused code

* made upateSurvey return TSurvey and added laoding state to AddNoCodeActionModal

* fixed minor bugs

* ran pnpm format

* fixed build issues

* Replaced old question types with new types

* fix survey list not up to date on changes

* solved back button issue

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-13 18:30:50 +09:00
Tanmay Banage
ffef88731d fix: Fix string gets converted to date causing validation error (#793) 2023-09-13 13:01:48 +09:00
Dhruwang Jariwala
4f4e95fecb refactor: Added input validation using zod (#790)
* added input validation using zod

* changed console.log to console.error

* fix formatting issues

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-13 12:59:37 +09:00
Anshuman Pandey
50d7c9666c fix: fixes github sign up invite token (#803) 2023-09-13 11:54:40 +09:00
Dhruwang Jariwala
b7a97d9eb1 fix: Stop Sync in formbricks-js after logout() (#806)
* fixes logout() bug

* restored interval time
2023-09-13 11:50:18 +09:00
Anshuman Pandey
c7389ab3c6 fix: multiple smaller bugfixes (#805)
* fix: very small bugs

* fix: fixes white space bug
2023-09-13 11:40:06 +09:00
Piyush Gupta
be5f741ec7 fixed pnpm-lock file 2023-09-13 00:10:31 +05:30
Piyush Gupta
92e2abe6e4 resolved merge conflicts 2023-09-13 00:07:02 +05:30
Piyush Gupta
2cacba0b2f synced with main 2023-09-12 23:54:56 +05:30
Matti Nannt
ff51f2f25d chore: format code and fix lint workflow (#804) 2023-09-12 18:20:09 +09:00
Dhruwang Jariwala
6a88420122 feat: Add Make.com integration (#628)
* added documentation for make.com integration

* ran pnpm format

* update wording in docs

* updated docs for make integration

* updated connect link

---------

Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-12 18:05:52 +09:00
Dhruwang Jariwala
1be6deec64 chore: Rewrite environment navbar to server components (#690)
* moved environment navbar to RSC

* added Error component

* format

* update errors path

* use standard services in environment navbar, update product service according to standards, add redirect shortcuts for teams and products

* update analysis github workflow with environment variables

* fix WEBAPP_URL is required

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-12 14:15:03 +09:00
Shubham Palriwala
cbc649111c fix: survey base not set correctly in docker setup (#802) 2023-09-12 13:27:10 +09:00
Shubham Palriwala
60ac49b5c2 fix: webhooks fetch cache is not getting invalidated (#800) 2023-09-11 23:39:51 +09:00
github-actions[bot]
d0310fc243 Release formbricks-js 1.0.6 (#796)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-11 16:06:24 +09:00
Matti Nannt
8efb1054dd fix: issue in responseQueue that could lead to a response sent twice (#795)
* fix: responseQueue may be executed twice

* release new formbricks-js version

* update bundle analysis
2023-09-11 16:03:14 +09:00
Matti Nannt
f1688502a2 chore: Update npm package dependencies (#794)
* upgrade packages

* upgrade packages in demo & formbricks-com

* update web packages
2023-09-11 15:05:55 +09:00
Shubham Palriwala
3a202541d0 remove: @formbricks/errors (#784) 2023-09-11 10:29:12 +09:00
Matti Nannt
686b52fd14 chore: format code based on prettier rules (#792) 2023-09-10 17:15:43 +09:00
Kuluru Vineeth Kumar Reddy
7d11856f14 feat: response notes can now be edited (#716)
* - Feature Enhancement : Edit and Resolve Notes

* Merge branch 'main' of github.com:formbricks/formbricks into feature/updateNote

* update pencil icon

* - added editing the notes functionality in responses

---------

Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-10 17:13:59 +09:00
Matti Nannt
ab668c307b fix: link survey responses may fail when custom survey url is set (#791) 2023-09-10 14:33:04 +09:00
Matti Nannt
0a08d7df68 chore: Introduce unified survey UI package @formbricks/surveys (#698)
* add vite survey package

* add renderSurvey method

* add all survey components

* First working version of renderSurvey

* integrate survey package into survey preview

* add survey modal functionality to formbricks-surveys

* fix build errors and add new template types

* add response queue

* add simple formbricks-js integration

* add local state management for surveys

* add local storage to multiple choice and open text questions

* add local state to other question types, layout fixes

* Fix modal close button, clean js package code

* add new calculate progress function

* fix progressbar on thankyou card

* fix churn survey branching in demo product

* use tsup to bundle @formbricks/js

* update survey positioning in link surveys

* fix preview reset button in link survey

* change logic for progress bar

* update progressbar logic

* update spacing

* add conditional autofocus / disable for iframe

* add userId to link survey

* integrated email verification

* moved token verification and reading to server component

* ran pnpm format

* added question prefilling

* ran pnpm format

* Moved question prefilling logic to Link Survey

* Refactor types

* centralize survey package props, fix build errors

* fix userId in link survey

* fix survey closed message

* add redirect on complete, fix bugs

* smaller bugfixes

* smaller bugfixes

* fix bugs

* fix build errors

* remove logs

---------

Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com>
2023-09-10 14:06:55 +09:00
Piyush Gupta
5cb31fbe2a feat: added embed survey modal 2023-09-10 02:01:30 +05:30
Matti Nannt
bf6ed3576c feat: Add option to customize link survey url using NEXT_PUBLIC_SURVEY_BASE_URL (#787) 2023-09-08 14:01:56 +09:00
Johannes
38092f8a7c fix: (docs) n8n page heading bug and responsiveness issues
fix: (docs) n8n page heading bug and responsiveness issues
2023-09-07 18:57:32 +02:00
ShubhamPalriwala
d290b6e011 fix: (docs) n8n page heading bug and responsiveness issues 2023-09-07 21:55:05 +05:30
Shubham Palriwala
c901ab13f5 fix: build error in formbricks-com when STRAPI_API_KEY not set (#785) 2023-09-07 23:21:24 +09:00
Shubham Palriwala
ae5d3f8e71 Merge branch 'main' into shubham/for-1150-validate-survey-editor-forms 2023-09-07 00:21:26 +05:30
ShubhamPalriwala
50369afd85 fix: only highlight the incorrect choice in multi 2023-09-07 00:20:23 +05:30
ShubhamPalriwala
e49cfca56a fix: dont allow is skipped on reqd question, and show approporiate toast error 2023-09-07 00:13:58 +05:30
ShubhamPalriwala
284361aaba fix: corner cases for new option empty and duplicates in single and multi select 2023-09-06 23:33:15 +05:30
Dhruwang Jariwala
0a1de196aa chore: moves setup checklist to react server components (#695)
* Chore: moves setup checklist to RSC

* fix other merge conflictsg

* made code refactors

* added TAction as return type for getActions

* fixed build issues

* fix environmentNotice component

* refactor EnvironmentNotice component

* fix js tests

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-06 15:18:49 +09:00
Shubham Palriwala
b0d7bd8686 feat: add email setup to single script prod setup (#752) 2023-09-06 13:32:46 +09:00
Dhruwang Jariwala
6a121680ba feat: Add ability to change back button label (#753)
* adds back button label adjust

* update wording

* made some refactors

---------

Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Dhruwang Jariwala <dhruwang@Dhruwangs-MacBook-Pro.local>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-06 13:29:44 +09:00
Shubham Palriwala
edc8870e09 chore: Add Missing Environment Variables in Documentation (#754)
* fix: remove unused stripe_public_key env var

* feat: include all possible env vars in documentation

* update enviroment variables in docs

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-06 13:26:28 +09:00
github-actions[bot]
bd84cdf532 chore: Release formbricks-js 1.0.5 (#781)
* Version Packages

* ignore formbricks-web in changeset

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-06 12:48:13 +09:00
Matti Nannt
bea1f99374 chore: Prepare release of formbricks-js 1.0.5 (#780) 2023-09-06 12:39:46 +09:00
Shubham Palriwala
713753cdf8 fix: array nullity checks in js packages leads to unpredicted error message (#771) 2023-09-06 10:37:43 +09:00
Shubham Palriwala
e8b54dd3ae fix: Generalise login error messages to prevent user account enumeration (#772) 2023-09-06 10:35:45 +09:00
RafalAtGaragenet
36bd14e4f6 fix: Null pointer expection for multiple choice question on web-app form (#770) 2023-09-06 10:31:34 +09:00
Johannes
5b704b536d refactor: Solve confusion around dev/prod API Keys
refactor: Solve confusion around dev/prod API Keys
2023-09-05 20:46:44 +02:00
Johannes
c2d3d6889f always show notice 2023-09-05 20:32:32 +02:00
Johannes
4490d2a2f5 Merge branch 'main' of github.com:formbricks/formbricks into prod-dev-apikey 2023-09-05 20:16:43 +02:00
Johannes
1b407a9fb4 fix: document People and Display APIs
fix: document People and Display APIs
2023-09-05 19:44:32 +02:00
Dhruwang
6ab89fa054 moved environmentNotice to shared component and made some refactors 2023-09-05 20:03:04 +05:30
Matti Nannt
b174afc1c6 fix: eslint in pre-commit hook failed (#776) 2023-09-05 16:45:42 +09:00
Dhruwang
59af9c9905 API key check 2023-09-05 11:17:35 +05:30
Matti Nannt
2e727a418c fix: Update n8n-node dependencies (#774) 2023-09-05 14:37:22 +09:00
Matti Nannt
5a457ef627 Increase turborepo concurrency level (#773) 2023-09-05 14:10:51 +09:00
ShubhamPalriwala
4320e36ed3 fix: entire questions get red when a field is invalid, now only the field gets red unless trying to save 2023-09-04 18:46:18 +05:30
ShubhamPalriwala
796ba307f0 fix: document missing APIs 2023-09-04 16:24:13 +05:30
Johannes
877ab1fd39 Update wording 2023-09-04 11:15:57 +02:00
Johannes
f75b74d38e Merge branch 'main' of github.com:formbricks/formbricks into shubham/for-1150-validate-survey-editor-forms 2023-09-04 10:37:48 +02:00
Matti Nannt
1c7ca87439 Improve developer experience by analyzing PRs automatically using Github Actions (#768)
* Improve developer experience by analyzing PRs automatically using Github actions

* update docker workflow base images

* use ubuntu latest image

* move issue label action to workflow dir
2023-09-04 17:05:30 +09:00
dependabot[bot]
65e1a418f7 Bump semver from 5.7.1 to 5.7.2 (#737)
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 16:56:02 +09:00
Matti Nannt
8a46b2c4be Add Pre-Commit Hook for linting & formatting (#767)
* add pre-commit hook for linting & formatting

* add husky

* update n8n package json, update package-lock file
2023-09-04 15:45:18 +09:00
github-actions[bot]
5e640b1c54 Release Formbricks n8n package (#766)
* Version Packages

* add n8n package to release pipeline

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-04 14:24:07 +09:00
Pratik
aa79c4c319 Add n8n Integration to Formbricks (#733)
* add n8n integration

* add n8n inside packages

* added documentation for n8n setup

* add formbricks scope to package

* add changeset config for automatic package deployment

* remove old docs navigation

* add new package README

* update prettier config & reformat

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-04 12:14:31 +09:00
Sital Adhikari
caa6979a1d Fix some images break the layout on formbricks-com (#765) 2023-09-04 10:59:25 +09:00
Dhruwang Jariwala
b00beadf2e Add Email Verification option to Link Surveys (#762)
* completed frontend

* Adds email verifaction for Link Surveys

* remove console.log

* run pnpm format

* rename userId to verify

* add loading state

* fix type names

* add types to prisma

---------

Co-authored-by: Dhruwang Jariwala <dhruwang@Dhruwangs-MacBook-Pro.local>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-09-02 15:34:00 +09:00
Shubham Palriwala
eae8e2db24 Add API documentation for Surveys & Profile Management API (#761) 2023-09-01 23:44:15 +09:00
ShubhamPalriwala
941527151f fix: multi option multi choose can now not have same options 2023-09-01 16:53:50 +05:30
ShubhamPalriwala
59fb26a6fa fix: setting duplicate question Ids now does not set random ID when click saved, the user has to update it 2023-09-01 16:27:29 +05:30
Johannes
5db306600b Mention Editing Build-time Variables in deployment Guides
Mention Editing Build-time Variables in deployment Guides
2023-09-01 10:11:19 +02:00
ShubhamPalriwala
632bab40f3 fix: user cannot select a skipped logic for a required question 2023-09-01 12:52:03 +05:30
Johannes
d21fd629e6 Update Career wording
Update Career wording
2023-08-31 17:58:33 +02:00
Johannes
2df31fbb07 update wording 2023-08-31 17:57:35 +02:00
ShubhamPalriwala
cc9142e89b fix: user can now cannot 2 exactly same logic conditions 2023-08-31 21:08:56 +05:30
ShubhamPalriwala
bca1e0e926 fix: not allow new logic jump until previous filled & do not allow saving survey until atleast 2 fields are filled 2023-08-31 20:57:45 +05:30
ShubhamPalriwala
17406a0dd4 feat: mention about editing build time variables in all deployment guides 2023-08-31 20:11:13 +05:30
Johannes
908b9d0ae4 update job description
update job description
2023-08-31 15:40:35 +02:00
Johannes
885fe10dc5 update job description 2023-08-31 15:40:00 +02:00
Johannes
5b1eecc71e Remove inline comment for smtp_port to avoid docker build failure
Remove inline comment for smtp_port to avoid docker build failure
2023-08-31 10:05:59 +02:00
Johannes
8156a759fc Add Rivet to OSS Friends
Add Rivet to OSS Friends
2023-08-31 08:39:03 +02:00
Nathan Flurry
50bb510ae4 Add Rivet 2023-08-30 22:27:22 +00:00
Johannes
775a4e74b4 Replace Logo in readme
Replace Logo in readme
2023-08-30 16:59:26 +02:00
Johannes
9c2e26c5b4 Replace Logo
Replace Logo
2023-08-30 16:58:44 +02:00
Johannes
b21bc607e7 Integrate Docs with Example Repo and Minor Bug Fixes
Integrate Docs with Example Repo and Minor Bug Fixes
2023-08-30 16:48:33 +02:00
Johannes
5f102c3c3d Merge branch 'main' of github.com:formbricks/formbricks into shubham/docs-add-example-link-and-quick-fixed 2023-08-30 16:47:18 +02:00
Johannes
2320947d9d tweak UX of card 2023-08-30 16:44:44 +02:00
Johannes
3a3f0fa08c Validate URL on Redirection to avoid breaking app
Validate URL on Redirection to avoid breaking app
2023-08-30 15:58:58 +02:00
ShubhamPalriwala
23c388185e fix: validate url on redirection to avoid breaking app 2023-08-30 18:18:17 +05:30
ShubhamPalriwala
78bb8a005e fix: add link to examples, fix heading white in light mode, update docs as per poc built in examples repo 2023-08-30 17:09:10 +05:30
Johannes
d97df9a6e7 Harmonize href in OSS Friends
Harmonize href in OSS Friends
2023-08-30 11:37:45 +02:00
Johannes
bddc8137a3 Careers page + UI Tweaks in SEO Content
Careers page + UI Tweaks in SEO Content
2023-08-30 11:35:45 +02:00
Johannes
0164b4fbde increase header text sizes 2023-08-30 11:30:56 +02:00
Johannes
288ec89d93 release careers page 2023-08-30 10:57:02 +02:00
ShubhamPalriwala
b7d4885e51 fix: long single word was overflowing the thank you card 2023-08-30 13:11:24 +05:30
Thomas Kaul
1c66ccb713 Harmonize href in OSS Friends 2023-08-29 22:39:28 +02:00
Eder Silva
0ab70a8e69 Update .env.docker
removed inline comment for smtp_port to avoid build failure
2023-08-29 15:07:29 -03:00
ShubhamPalriwala
00494a7093 fix: multi option single choose can now not have same options 2023-08-29 23:08:09 +05:30
ShubhamPalriwala
6dfc75a4ce fix: consent question's checkbox should now have some text or default text mandatory 2023-08-29 19:42:17 +05:30
ShubhamPalriwala
c10854523d fix: it is now not allowed to save/publish a survey with 0 responses 2023-08-29 19:16:42 +05:30
Johannes
79e66ee408 fix: CTA question link UX
fix: CTA question link UX
2023-08-28 21:35:34 +02:00
Johannes
7b2a1c1de3 Fix Docs Tailwind Config
Fix Docs Tailwind Config
2023-08-28 20:52:53 +02:00
Dhruwang
7c12053a44 fix: CTA question link UX 2023-08-28 23:10:26 +05:30
ShubhamPalriwala
9e7b897e7c Merge branch 'main' of https://github.com/formbricks/formbricks into shubham/fix-docs-tailwind-bug 2023-08-28 22:07:03 +05:30
ShubhamPalriwala
25fcac72d8 fix: tailwind imports that were causing prod issues 2023-08-28 22:04:22 +05:30
Johannes
6c29d323d1 Migration of Docs to Protocol Template
Migration of Docs to Protocol Template
2023-08-28 17:25:41 +02:00
ShubhamPalriwala
3ddb65cd71 Merge branch 'feature/new-docs' of https://github.com/formbricks/formbricks into feature/new-docs 2023-08-28 20:34:30 +05:30
ShubhamPalriwala
2039641bae fix: zinc to slate, lighter heading and page titles 2023-08-28 20:34:24 +05:30
Johannes
bc4cfabfde Merge branch 'main' of github.com:formbricks/formbricks into feature/new-docs 2023-08-28 15:53:12 +02:00
Johannes
bb9e4521f9 Add CTA to SEO pages + meta data update
Add CTA to SEO pages + meta data update
2023-08-28 15:44:53 +02:00
Johannes
480461f727 update concierge, add canonical tag 2023-08-28 15:39:32 +02:00
Johannes
a90156e161 add CTA banner 2023-08-28 15:01:59 +02:00
Matthias Nannt
8e1018dd6a fix long loading time, fix typescript errors 2023-08-26 10:42:21 +02:00
Matthias Nannt
4734a1d369 Merge branch 'main' of github.com:formbricks/formbricks into feature/new-docs 2023-08-25 16:15:49 +02:00
ShubhamPalriwala
9edf9955ae minor final fixes 2023-08-25 19:11:19 +05:30
Matthias Nannt
fb6cc1253f update page navigation 2023-08-25 15:26:59 +02:00
Matthias Nannt
5260316d34 fix formatting issues 2023-08-25 14:52:36 +02:00
Matthias Nannt
31dc1c8e3f merge changes 2023-08-25 14:16:21 +02:00
Matthias Nannt
fb16735c12 upate packages, doc titles 2023-08-25 14:15:00 +02:00
ShubhamPalriwala
524916c20c chore: restructure api docs and rewrite framework-guides 2023-08-25 17:42:49 +05:30
Matthias Nannt
544b7b401f reformat formbricks-com 2023-08-25 11:55:37 +02:00
Matthias Nannt
c636f1d40e Merge branch 'feature/new-docs' of github.com:formbricks/formbricks into feature/new-docs 2023-08-25 11:55:09 +02:00
Matthias Nannt
cc7da7b629 fix newsletter input css 2023-08-25 11:54:58 +02:00
Matthias Nannt
06474f9e8e fix blog page not loading properly 2023-08-25 11:54:38 +02:00
ShubhamPalriwala
2eb28feb98 feat: restructure multiple setup guides into one 2023-08-25 14:53:37 +05:30
Matthias Nannt
763db0a674 Merge branch 'feature/new-docs' of github.com:formbricks/formbricks into feature/new-docs 2023-08-25 10:32:42 +02:00
Matthias Nannt
5cca9a9ee9 change gettings started structure 2023-08-25 10:32:38 +02:00
ShubhamPalriwala
53721169e8 fix: docs feedbac preview does not send data to backend now, redirect url fixed, and /docs now takes to intro page 2023-08-25 13:58:27 +05:30
Matthias Nannt
f9bb0dec3c fix section navigation 2023-08-25 09:58:24 +02:00
Matthias Nannt
ea3fb45e6e fix dead quickstart links 2023-08-25 09:35:53 +02:00
Johannes
16493c9431 Add Missing Dev Mode Navbar in Survey Editor
Add Missing Dev Mode Navbar in Survey Editor
2023-08-25 08:40:25 +02:00
Johannes
4f3ec888ec Merge branch 'main' of github.com:formbricks/formbricks into shubham/for-1147-youre-in-dev-mode-bar-missing-in-survey-editor 2023-08-25 08:39:20 +02:00
Johannes
e04cab6b7f Add Spark Framework to OSS Friends array.
Add Spark Framework to OSS Friends array.
2023-08-25 08:26:20 +02:00
ShubhamPalriwala
fbd42a572e feat: dev mode navbar in surveyEditor 2023-08-25 11:14:33 +05:30
Weston Walker
f2d2938672 Update index.ts
Added spark framework OS project.
2023-08-24 11:02:18 -05:00
ShubhamPalriwala
49f48cf7e0 fix: update layout metadata 2023-08-24 17:09:07 +05:30
ShubhamPalriwala
a74037dca1 Merge branch 'main' of https://github.com/formbricks/formbricks into feature/new-docs 2023-08-24 17:05:25 +05:30
ShubhamPalriwala
0a5d458b96 fix: make images responsive 2023-08-24 16:53:25 +05:30
Dhruwang Jariwala
9f6c40fd42 Rewrite Billing page to React Server Components and new type system (#701)
* Moved billing page to RSC

* removed unused props

* ran pnpm format

* fix build error

* add 404 page, throw 404 on billing page when !IS_FORMBRICKS_CLOUD

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-08-24 11:45:02 +02:00
ShubhamPalriwala
eea7fbbb5c rewrite: hosting/prod page 2023-08-24 15:12:38 +05:30
ShubhamPalriwala
d20b713d18 chore: restructure existing self hosting docs 2023-08-24 14:23:46 +05:30
Shubham Palriwala
317a5463e9 Revamp No-Code-Options: You can now target a combination of conditions (e.g. a specific button on a specific page) (#691)
* feat: revamp nocode action across frontend, backend, and js lib

* fix: remove console warning for ref forwarding

* feat: make advancedToggle component and use it across

* feat: use advancedToggle all across survey editor

* feat: use advancedToggle all across survey editor for link surveys

* remove: unused imports

* ui tweaks

* fix: form registration

* chore: advancedOptionToggle now has grey box inside the div

* fix: handle multiple css selectors separately

* test no code demo app

* replace logout with reset in demo apps

---------

Co-authored-by: Johannes <johannes@formbricks.com>
2023-08-24 10:27:41 +02:00
ShubhamPalriwala
ec7a1276fd chore: replace png with webpack images 2023-08-24 13:45:04 +05:30
ShubhamPalriwala
0efded57de fix: update doc pages as per main, add code layouts, introduce framework overview 2023-08-24 13:13:08 +05:30
ShubhamPalriwala
809bf1207b fix: quick resources as per analytics 2023-08-23 21:33:23 +05:30
Johannes
debf8433d0 Update docs with a new improved Quickstart guide (#725)
* update quickstart

* update quickstart and add react

* add screenshot

* update images and comments

* added image

* fill placeholder

* fix build error

* updating wording

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-08-23 16:25:50 +02:00
ShubhamPalriwala
79ea40c742 Merge branch 'feature/new-docs' of https://github.com/formbricks/formbricks into feature/new-docs 2023-08-23 19:13:42 +05:30
ShubhamPalriwala
d96ab91c6e feat: migration to new docs 2023-08-23 19:13:20 +05:30
M. Palanikannan
8ad4ba0f77 Add Gitpod support to the Formbricks Repo (#718)
* Initialized Gitpod tested scripts

* ignored ports 1025 and 8025

* added website dev environment

* removed api and error tasks and prioritized web task to be shown first
2023-08-23 12:10:07 +02:00
Matti Nannt
2a60e8f464 Fix Link Survey also showing for In-Product Surveys (#727) 2023-08-22 17:14:03 +02:00
Matti Nannt
4562d85974 Fix Link Survey not pulling the right product (#726) 2023-08-22 17:07:05 +02:00
Matthias Nannt
81652b445b fix font on mainpage 2023-08-22 16:13:14 +02:00
Johannes
75ac56ff3b fixy thingys 2023-08-22 15:20:43 +02:00
Matthias Nannt
b0e42e00e9 add missing lib files 2023-08-22 14:45:11 +02:00
Matthias Nannt
8c229e4685 remove old formbricks-com 2023-08-22 14:38:52 +02:00
Matthias Nannt
80c64f2bf5 add components, images and pages 2023-08-22 14:25:06 +02:00
Matthias Nannt
c8f88fa4b2 move docs to subfolder 2023-08-22 14:07:45 +02:00
Matthias Nannt
e636bb4116 move docs to subfolder 2023-08-22 14:07:25 +02:00
Matthias Nannt
7ce8d75d91 add new template 2023-08-22 13:58:23 +02:00
Johannes
6538f8abdc UI: Responsiveness of Settings Menu
UI: Responsive of Settings Menu
2023-08-22 11:14:34 +02:00
Johannes
9a6997a3bb Merge branch 'main' of github.com:formbricks/formbricks into shubham/for-1142-create-responsive-menu-for-settings 2023-08-22 11:10:45 +02:00
Johannes
f8f0bb5f13 responsiveness tweaks 2023-08-22 11:10:26 +02:00
ShubhamPalriwala
2b7ec57722 fix: setting pages responsiveness bugs 2023-08-21 23:11:24 +05:30
Johannes
34ca2953d2 Remove zero width characters
Remove zero width characters
2023-08-21 15:58:32 +02:00
Johannes
03144164e9 Add Ghostfolio to OSS Friends
Add Ghostfolio to OSS Friends
2023-08-21 15:57:10 +02:00
Johannes
bed70be938 fix: Button descendent of button error
fix: Button descendent of button error
2023-08-21 15:52:45 +02:00
Matti Nannt
ba68c6d85d Improve loading time of person detail page (#723) 2023-08-21 13:40:40 +02:00
Matti Nannt
683ca1acec Fix old survey data shown in survey overview (#722) 2023-08-21 12:20:38 +02:00
ShubhamPalriwala
4cf7c84abe feat: responsive settings menu for mobile screens 2023-08-21 15:22:54 +05:30
Matti Nannt
4de85eb365 Add jsVersion & sessionCreated event to Telemetry (#720) 2023-08-21 11:30:00 +02:00
Matti Nannt
754bdfbca7 Move Telemetry events to services and limit events to surveyCreated and responseCreated (#719) 2023-08-21 09:47:06 +02:00
joyal007
e7c863d3ae fixed err in mobile view 2023-08-19 19:44:51 +05:30
joyal007
51430b7f5a Merge branch 'main' of https://github.com/joyal007/formbricks into fix/button-desc-error 2023-08-19 19:09:48 +05:30
joyal007
692c56226d fixed button descendent on button error 2023-08-19 19:08:58 +05:30
Thomas Kaul
503afbafb6 Add Ghostfolio
See https://ghostfol.io/en/about/oss-friends
2023-08-19 12:16:04 +02:00
Thomas Kaul
da27af39ec Remove zero width characters 2023-08-19 12:11:13 +02:00
Matti Nannt
0e19044b7f Add Formbricks version number to Setup Checklist (#712) 2023-08-19 09:18:39 +02:00
Matti Nannt
6b462504f6 Fix build errors in formbricks-com (#710)
* Fix build errors in formbricks-com'

* run pnpm format
2023-08-18 16:05:12 +02:00
Johannes
944bdc1e8e Add usagebased attributes to Formbricks
Add usagebased attributes to Formbricks
2023-08-18 15:11:18 +02:00
Johannes
72dcc66811 resolved comments 2023-08-18 15:10:15 +02:00
Johannes
b141a38e03 Merge branch 'main' of github.com:formbricks/formbricks into more-formbricks-in-formbricks 2023-08-18 15:08:19 +02:00
Johannes
0417320eb0 UI: Replace Static Truncate fn with Tailwind truncate class
UI: Replace Static Truncate fn with Tailwind truncate class
2023-08-18 15:06:32 +02:00
Johannes
0c19664bf5 update wording 2023-08-18 15:05:34 +02:00
Johannes
908350aa22 Merge branch 'main' of github.com:formbricks/formbricks into shubham/for-1153-truncate-dynamically-in-logic-editor 2023-08-18 14:31:33 +02:00
Matti Nannt
09b730bc0f Update lock file (#709) 2023-08-18 09:04:09 +02:00
Johannes
d2916c7878 UI fixes in Survey Editor
UI fixes in Survey Editor
2023-08-17 17:50:11 +02:00
Johannes
435eb75714 Log Survey Count & Names on Sync in JS widget
Log Survey Count & Names on Sync in JS widget
2023-08-17 17:45:44 +02:00
Johannes
551459a7c5 Add Strapi as CMS for SEO content
Add Strapi as CMS for SEO content
2023-08-17 17:39:42 +02:00
Johannes
6b79e8a888 fix packages 2023-08-17 17:36:14 +02:00
Johannes
dd43a55e20 remove unfinished template subpage 2023-08-17 16:57:40 +02:00
Johannes
c667b7d949 remove logs 2023-08-17 16:53:58 +02:00
ShubhamPalriwala
70c26af79c feat: use native tailwind dynamic truncate 2023-08-17 14:17:42 +05:30
ShubhamPalriwala
0d5af6b44d feat: responses already recd warning and survey preview padding 2023-08-17 13:08:50 +05:30
ShubhamPalriwala
60d3036ca1 feat: log survey count and names in js widget 2023-08-17 11:13:28 +05:30
Johannes
4362ef9ed4 data model tweaks 2023-08-16 16:37:02 +02:00
Johannes
a0ff35ed86 new data model, faq data, new image host 2023-08-16 13:21:43 +02:00
Johannes
e25d4e9a21 Merge branch 'main' of github.com:formbricks/formbricks into Rewrite-Link-Surveys-to-RSC 2023-08-16 13:20:05 +02:00
Dhruwang Jariwala
15fde11804 Use Server Components for Link Survey to improve loading speed (#676)
* moved link LinkSurvey to RSC

* made some code refactors

* made requested changes

* ran pnpm build and added configured inactive survey

* fixed a build issue

* made some code refactors

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-08-16 10:56:15 +02:00
Johannes
de90e10b91 Add Loading State to Action Delete & Person Delete Buttons
Add Loading State to Action Delete & Person Delete Buttons
2023-08-16 09:24:38 +02:00
Johannes
5453b2fb31 add usage based attributes 2023-08-15 17:13:44 +02:00
Johannes
1764cb5f1e add name as attribute 2023-08-15 16:17:55 +02:00
Matti Nannt
0659343a0b Fix zod types interfer with zapier integration (#697) 2023-08-15 15:49:48 +02:00
Johannes
1b64fd32b3 Add explainer note to demo app env example
Add explainer note to demo app env example
2023-08-15 14:12:56 +02:00
Johannes
52896d490a Add explainer note to demo app env example
Add explainer note to demo app env example
2023-08-15 14:12:03 +02:00
ShubhamPalriwala
fba2d1def9 feat: loader in deleteAction 2023-08-15 14:20:59 +05:30
ShubhamPalriwala
be4f96bb18 feat: loader in deletePerson 2023-08-15 14:12:35 +05:30
Johannes
252a6236dc Fix: Button Alignment in widget and Demo App Responsiveness
Fix: Button Alignment in widget and Demo App Responsiveness
2023-08-15 10:33:08 +02:00
Johannes
7c845202b2 responsiveness demo app 2023-08-15 10:31:07 +02:00
Dhruwang
eb41e4a419 fix: left align issue 2023-08-15 10:41:30 +05:30
github-actions[bot]
8a0f7fde3d Release formbricks-js 1.0.4 (#689)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-14 12:29:23 +02:00
Matti Nannt
01523393db Convert all attributes and userIds to string in formbricks-js (#688)
* convert any attribute input to string in formbricks-js

* add changeset, increase patch version of formbricks-js
2023-08-14 12:26:40 +02:00
Johannes
534dd5050d Make Survey Summary Page and Several Other Pages Responsive
Make Survey Summary Page and Several Other Pages Responsive
2023-08-14 11:12:48 +02:00
Johannes
a3e1e0498d fix restart UI 2023-08-14 11:11:50 +02:00
Johannes
beadbfa4b9 attributes and people page responsiveness 2023-08-14 10:53:35 +02:00
Johannes
a3162150a6 survey list and editor mobile tweaks 2023-08-14 10:43:30 +02:00
Johannes
1c6a5b2685 Add Loader in Product Delete button and tweak Weekly Summary UI
Add Loader in Product Delete button and tweak Weekly Summary UI
2023-08-14 10:33:56 +02:00
Johannes
9c8141abb2 Merge branch 'main' of github.com:formbricks/formbricks into shubham/for-1124-responsiveness-create-a-mobile-friendly-version-of-all-data 2023-08-14 10:23:16 +02:00
Johannes
88c17546b7 add font weight bold to weekly summary 2023-08-14 10:20:53 +02:00
Johannes
ccfc85f4fa Merge branch 'main' of github.com:formbricks/formbricks into shubham/for-1122-tweak-add-loading-state-to-delete-button-in-delete-product 2023-08-14 10:15:29 +02:00
Johannes
d9839aba24 Merge branch 'main' of github.com:formbricks/formbricks into shubham/for-1122-tweak-add-loading-state-to-delete-button-in-delete-product 2023-08-14 10:14:16 +02:00
Johannes
14a6cba3f4 Merge branch 'main' of github.com:formbricks/formbricks into lp/strapi 2023-08-14 10:13:35 +02:00
Matti Nannt
d83c530012 Remove responses limit for link surveys on free plan (#686) 2023-08-14 09:50:58 +02:00
ShubhamPalriwala
8716367ec1 ui: data comps of survey summary are now responsive 2023-08-14 13:09:17 +05:30
ShubhamPalriwala
dcffb8106e feat: loader in product delete button 2023-08-13 09:54:10 +05:30
github-actions[bot]
315467ef3f Version Packages (#682)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-12 12:43:50 +02:00
Matti Nannt
3dde021cd0 Prepare release of Formbricks v1.0.2 (#681) 2023-08-12 12:39:18 +02:00
Matti Nannt
ebbde2b531 Fix WEBAPP_URL cannot be set with prebuilt Docker image (#680)
* Fix WEBAPP_URL cannot be set with prebuilt Docker image

* Extend default docker-compose file and production script

* Update docs
2023-08-12 11:53:23 +02:00
Dhruwang Jariwala
47a8fd6b62 Rewrite Api Key Settings to React Server Components (#654)
* moved apikey settings to server component

* rename ZApiKeyData to ZApiKeyCreateInput

* Make smaller improvements

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-08-11 17:23:59 +02:00
Shubham Palriwala
c6686209be Move Look & Feel Settings to React Server Components (#672)
* feat: migrate look and feel to serverside component with loading screen

* fix: use existing product type instead of creating a custom type

* fix: make improvements as Matti suggested

* change attributes order in updateProduct function

* run pnpm format

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-08-11 17:04:31 +02:00
Shubham Palriwala
09436c78fc Validate for E-Mail Address on Verification Page (#666)
* validate: for email in the user verification modal

* feat: email auth is now a server page, uses server-side zod lib for email input validation, removes validator lib

* Add FormWrapper to Error Message

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-08-11 16:36:26 +02:00
Johannes
004e524002 Merge branch 'main' of github.com:formbricks/formbricks into lp/strapi 2023-08-11 14:17:10 +02:00
Dhruwang Jariwala
98cdf941e6 Improve Preview in Survey Editor with Mobile & Desktop View (#573)
* made modal component responsive

* added tab switch

* added mobile preview mode for surveys

* did some refactors

* did some refactors

* added type defs

* ran pnpm format

* removed an unused comment

* fixed variable name typo

* fixed UI bugs and added mobile mockup to link surveys

* restored changes from fix long description PR

* fixed scroll to top issue and toggle hide bug

* fixed minor animation bug

* fixed placement issue

* re-embed restart button, make phone preview more responsive

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-08-11 10:55:49 +02:00
Johannes
52a09aa3ae Introduce Restart Survey Button on Preview of Survey
Introduce Restart Survey Button on Preview of Survey
2023-08-11 09:13:02 +02:00
Johannes
bf028a5f64 Merge branch 'main' of github.com:formbricks/formbricks into shubham/for-1120-add-restart-button-to-survey-preview-ui-tweak 2023-08-11 09:12:15 +02:00
Johannes
5c60694117 Merge branch 'main' of github.com:formbricks/formbricks into shubham/for-1120-add-restart-button-to-survey-preview-ui-tweak 2023-08-11 08:52:52 +02:00
Johannes
2815ab2175 first article 2023-08-11 08:52:26 +02:00
Matti Nannt
179f92077b Apply prettier formatting (#678) 2023-08-10 17:25:40 +02:00
Matti Nannt
9cdf446f65 Remove lodash dependency from formbricks-js (#677)
* Remove lodash dependency from formbricks-js

* add array utils file
2023-08-10 16:22:10 +02:00
ShubhamPalriwala
f98d4f5c11 fix: make button exactly like mock 2023-08-10 17:21:44 +05:30
Matti Nannt
142c1bd35b Fix saved changes are not visible in Survey Editor (#674) 2023-08-10 13:14:17 +02:00
Johannes
b96fbf06d9 update new blog 2023-08-10 12:56:34 +02:00
ShubhamPalriwala
5e3ec7e4f0 feat: Restart Survey when Previewing a Survey & truncate logic values 2023-08-10 15:09:17 +05:30
Johannes
c261c63f43 Merge branch 'main' of github.com:formbricks/formbricks into lp/strapi 2023-08-10 09:58:04 +02:00
Johannes
3bbb4170e2 Set Response Limit to 50 when an In-App Survey is Created and Fix Doc Feedback survey
Set Response Limit to 50 when an In-App Survey is Created and Fix Doc Feedback survey
2023-08-09 18:14:34 +02:00
Johannes
dc085c41c0 Merge branch 'main' of github.com:formbricks/formbricks into shubham/for-1119-tweak-set-default-for-in-app-surveys-to-limit-to-50 2023-08-09 18:12:38 +02:00
Matti Nannt
33b3887b84 Use .env.docker in advanced docker-compose setup to simplify file structure (#671) 2023-08-09 17:57:35 +02:00
Johannes
6a8805de0b Merge branch 'main' of github.com:formbricks/formbricks into shubham/for-1119-tweak-set-default-for-in-app-surveys-to-limit-to-50 2023-08-09 17:52:29 +02:00
Johannes
10e149bb02 Fix formbricks-js labels not showing correctly with custom label styles, add dark mode to demo app
Fix formbricks-js labels not showing correctly with custom label styles, add dark mode to demo app
2023-08-09 17:51:20 +02:00
Johannes
9f944249fc update formatting 2023-08-09 17:50:40 +02:00
Johannes
b5765fed74 add dark mode to widget 2023-08-09 17:48:20 +02:00
Johannes
eee9b29723 Merge branch 'main' of github.com:formbricks/formbricks into feature/FOR-1081 2023-08-09 17:02:51 +02:00
Johannes
a3aae4ab95 fix: fixes survey link share modal and adds a mobile nav menu
fix: fixes survey link share modal and adds a mobile nav menu
2023-08-09 16:12:07 +02:00
Johannes
5b9db8f353 Merge branch 'main' of github.com:formbricks/formbricks into fix/safari-mobile 2023-08-09 16:08:52 +02:00
Matti Nannt
9b98ca4f64 Fix thank you screen is disabled after completing a survey (#670) 2023-08-09 16:05:15 +02:00
Johannes
6572d5395b Merge branch 'main' of github.com:formbricks/formbricks into fix/safari-mobile 2023-08-09 15:57:21 +02:00
Johannes
cd753f1a67 Merge branch 'main' of github.com:formbricks/formbricks into shubham/for-1119-tweak-set-default-for-in-app-surveys-to-limit-to-50 2023-08-09 15:37:08 +02:00
Johannes
6f0a26904f Fix back button in link surveys with logic jumps
Fix back button in link surveys with logic jumps
2023-08-09 15:35:32 +02:00
Johannes
e1c8a715d1 Add UI to create webhooks on integrations page
Add UI to create webhooks on integrations page
2023-08-09 15:31:14 +02:00
Johannes
96e54dbb46 double check migration 2023-08-09 15:25:55 +02:00
Johannes
b71fdf3205 Merge branch 'main' of github.com:formbricks/formbricks into shubham/for-1035-add-webhooks-ui-on-integrations-page 2023-08-09 15:22:11 +02:00
ShubhamPalriwala
5520edb2c5 feat: set response limit to 50 if the created survey is in-app 2023-08-09 18:43:50 +05:30
Johannes
d824da610d Fix: layout issue on peoples page
Fix: layout issue on peoples page
2023-08-09 14:40:35 +02:00
Dhruwang Jariwala
2bebc9598c Rewrite profile settings page to server component (#642)
* Chore: moved profile settings to server component

* ran pnpm format

* fisxed a build issue

* made requested changes

* made some refactors

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-08-09 13:13:58 +02:00
Dhruwang Jariwala
580e51dcea Fix Logic Jumps issues in in-product survey (#667) 2023-08-09 12:10:07 +02:00
Matthias Nannt
b570f3c79d fix pnpm lock file 2023-08-09 09:36:16 +02:00
Matthias Nannt
cf94c1a6d1 Make next & back button follow logic jumps 2023-08-09 09:27:12 +02:00
Johannes
71832c590f ui/ux tweaks 2023-08-08 22:12:40 +02:00
ShubhamPalriwala
15050525fd fix: make components out of survey and trigger checklists and minor ux factoring 2023-08-08 21:21:15 +05:30
ShubhamPalriwala
dcc198b151 cleanup: addWebhookModal component 2023-08-08 20:29:28 +05:30
ShubhamPalriwala
3793f29d0a fix: correct typo in htmlFor label 2023-08-08 20:06:21 +05:30
ShubhamPalriwala
b6da482e3f feat: webhooks now have a name across the UI 2023-08-08 20:01:48 +05:30
ShubhamPalriwala
cd1d9196fc feat: add name in webhook model db in prisme 2023-08-08 19:41:52 +05:30
ShubhamPalriwala
e3c09ebec3 fix: loader for add webhook, test nedpoint check on webhook creation, survey check, updated webhook logo 2023-08-08 19:22:01 +05:30
Dhruwang
2bda12d4fc Fix: layout issue on peoples page 2023-08-08 17:56:39 +05:30
Matti Nannt
b072d3b549 Update pnpm lock file (#664) 2023-08-08 13:38:22 +02:00
Johannes
758fc9af4d tweaks 2023-08-08 13:29:34 +02:00
ShubhamPalriwala
d4a4b4ec41 fix: dropdown replaced with checkbox list and loader is implemented 2023-08-08 15:55:48 +05:30
Johannes
d065817ba3 fix build error 2023-08-08 11:04:08 +02:00
Johannes
997f85bf32 update formatting 2023-08-08 11:04:08 +02:00
Piyush Gupta
81ee4ade1e fix: added loading states in CTA 2023-08-08 11:04:08 +02:00
Piyush Gupta
a2c07d3be7 added loading in transfer ownership CTA 2023-08-08 11:04:08 +02:00
Piyush Gupta
4a09253234 refactor: used isOwner in delete team 2023-08-08 11:04:08 +02:00
Piyush Gupta
a2f6677b54 fix: independent queries -> Txn 2023-08-08 11:04:08 +02:00
Piyush Gupta
0039647718 feat: added transfer ownership 2023-08-08 11:04:08 +02:00
Piyush Gupta
7e27730447 feat: added leave team 2023-08-08 11:04:08 +02:00
Piyush Gupta
c22158515d feat: added delete team functionality 2023-08-08 11:04:08 +02:00
Piyush Gupta
b8176ce800 feat: added delete card and modal 2023-08-08 11:04:08 +02:00
Johannes
5aa38a6e39 Delete Team, Transfer Ownership and Leave Team functionality
Delete Team, Transfer Ownership and Leave Team functionality
2023-08-08 10:51:44 +02:00
Johannes
0ebef13805 fix build error 2023-08-08 10:46:41 +02:00
Johannes
a81ceff09e update formatting 2023-08-08 10:33:26 +02:00
Piyush Gupta
7ebdf9939e fix: added loading states in CTA 2023-08-08 10:16:48 +05:30
ShubhamPalriwala
7631783e7d fix: all webhook icons now use lucid 2023-08-08 09:46:08 +05:30
ShubhamPalriwala
c92b2b00e0 fix: webhook table wrapping & add webhook modal text and dropdown id 2023-08-08 09:38:15 +05:30
ShubhamPalriwala
e68a7fe763 fix: add webhook logo and card component flexibility 2023-08-08 09:21:03 +05:30
Johannes
f8cd9dbb00 Merge branch 'main' of github.com:formbricks/formbricks into lp/strapi 2023-08-07 21:37:52 +02:00
Piyush Gupta
a3b46ee532 Merge branch 'main' of https://github.com/formbricks/formbricks into feature/delete-team 2023-08-08 00:59:37 +05:30
Matti Nannt
a1a66ef6be Fix close-on-date pipeline not executed properly (#662)
* Fix github action closeOnDate pipeline

* remove prebuild turbo build
2023-08-07 19:54:23 +02:00
Matti Nannt
6a1b8106b7 Add prebuild as a build dependency (#661) 2023-08-07 18:15:28 +02:00
Matti Nannt
8b1a074e2c Update npm packages to latest minor version (#660) 2023-08-07 17:46:58 +02:00
Matti Nannt
57733a75fc Fix build error (#659) 2023-08-07 17:13:50 +02:00
Matti Nannt
e5ef71ae87 Fix product service throwing validation error (#658) 2023-08-07 17:02:20 +02:00
Matti Nannt
89dae8f1d8 Simplify highlightBorderColor in product type (#657) 2023-08-07 16:50:24 +02:00
Anshuman Pandey
370041b0ae A highlight border can now be added to the in-product modal using the product settings (#610)
* feat: added logic for adding highlight border

* feat: adds highlight border color to js widget

* fix: fixes class issue

* fix: removes log

* fix: fixes db fields

* fix: fixes border color edit

* fix: fixes highlight border styles in demo app and preview

* fix migrations

* remove console.log

* fix build issues

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-08-07 16:14:55 +02:00
Johannes
34ff14d43b Fix: In app survey preview container size too high
Fix: In app survey preview container size too high
2023-08-07 16:00:25 +02:00
Pradumn Kumar
b6c0dbf5d3 Close survey after x responses now needs to be set to a higher number than the number of current responses (#606)
* fix: fixes close survey on x response issue

* feat: updates

* chore: don't update _count

* chore: optimizations

* fix: fixes issue with not being able to enter a lower value at all

* update toast message

* add response count to toast

* only count completed responses

---------

Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-08-07 15:22:37 +02:00
Johannes
488e2801f0 Make template library searchable
Make template library searchable
2023-08-07 14:21:43 +02:00
Johannes
ae7d0a4846 Add input field validation to rename product, team and name
Add input field validation to rename product, team and name
2023-08-07 14:17:59 +02:00
Dhruwang
7d3fa70fe2 Fix: broken preview 2023-08-07 17:09:29 +05:30
ShubhamPalriwala
bb4052690e feat: link integrations page to webhook 2023-08-07 16:29:54 +05:30
ShubhamPalriwala
e8a286bd4e feat: webhooks UI 2023-08-07 16:10:34 +05:30
Piyush Gupta
205593d8d3 added loading in transfer ownership CTA 2023-08-06 15:46:11 +05:30
Piyush Gupta
37afd004af refactor: used isOwner in delete team 2023-08-06 15:30:54 +05:30
Piyush Gupta
ad86c4dbf4 fix: independent queries -> Txn 2023-08-06 15:17:08 +05:30
Piyush Gupta
fb64eb50a2 Merge branch 'main' of https://github.com/formbricks/formbricks into feature/delete-team 2023-08-06 14:58:59 +05:30
Piyush Gupta
8d7eeb045b feat: added transfer ownership 2023-08-06 14:58:52 +05:30
Shubham Palriwala
fdb1aa2299 Rewrite Person Detail Page to Server Components (#609)
* feat: migration /[personId] page to server side

* feat: decouple components in person page

* fix: ZDisplaysWithSurveyName now extends the ZDisplay type

* feat: drop custom service and use existing service for survey and response

* run pnpm format

* shift data fetching to component level but still server side

* rename event to action

* move special person services to activity service

* remove activityFeedItem type in ActivityFeed

* simplify TResponseWithSurvey

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-08-06 09:53:37 +02:00
Shubham Khunt
df9ff011f7 fix:removed toast 2023-08-06 11:51:31 +05:30
Shubham Khunt
e85d95a4eb fix:removed toast 2023-08-06 11:51:01 +05:30
Johannes
5c9605f4af Feature : Toggle Multi-Select and Single-Select Question Types
Feature : Toggle Multi-Select and Single-Select Question Types
2023-08-05 16:23:39 +02:00
Johannes
de3d580614 Merge branch 'main' of github.com:formbricks/formbricks into toggle-multi-and-single-select 2023-08-05 15:29:39 +02:00
Johannes
d780ae1e59 strapi setup working 2023-08-05 15:28:55 +02:00
Piyush Gupta
ccb89548f0 feat: added leave team 2023-08-05 17:49:06 +05:30
Anshuman Pandey
ad42f4cc55 Dramatically improve load times when creating a new team(#614)
* 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
2023-08-05 13:59:06 +02:00
Dhruwang
51dda67992 fixed invalid storedResponseValue issue 2023-08-05 15:08:34 +05:30
Dhruwang
0598ad2eaa Feat:Toggle Multi-Select and Single-Select Question Types 2023-08-05 12:39:48 +05:30
Meet Patel
44e48e3c3f Hide the clear button for input type search 2023-08-05 10:56:50 +05:30
Piyush Gupta
1551baeca7 merged with main 2023-08-05 09:33:58 +05:30
Piyush Gupta
c3f26f7ab8 feat: added delete team functionality 2023-08-05 09:32:23 +05:30
Meet Patel
e9e3de2ce8 Added 'type=search' and 'name=search' attributes to SearchBox in TemplateContainer 2023-08-04 22:22:42 +05:30
Meet Patel
34c4e9bc1a lucide search icon 2023-08-04 22:10:39 +05:30
Johannes
c707896eb6 Fix Weekly: Remove N/A completion rate, exclude "completed" survey if has no submission in last 7 days
Fix Weekly: Remove N/A completion rate, exclude "completed" survey if has no submission in last 7 days
2023-08-04 04:19:40 -05:00
Johannes
ee545b7ade remove N/A CR, exclude completed if has no submission 2023-08-04 09:51:49 +02:00
Johannes
7bf0fa450a Add structured data to blog articles, tweaked the SEO score of existing ones
Add structured data to blog articles, tweaked the SEO score of existing ones
2023-08-04 02:19:13 -05:00
Johannes
1a8618692a more metadata for articles 2023-08-03 20:28:38 +02:00
Matti Nannt
e5f371476c Fix formatting of preview components (#646)
* Fix formatting of preview components

* update npm packages
2023-08-03 17:03:53 +02:00
Shubham Palriwala
dba3677633 fix: documentation on create webhook had invalid body key and headers were not being showed as required (#643) 2023-08-03 13:48:31 +02:00
Anshuman Pandey
369c9ed7b2 fix: fixes survey link share modal and moble nav menu 2023-08-03 17:13:51 +05:30
Piyush Gupta
0776138c1c Merge branch 'main' of https://github.com/formbricks/formbricks into feature/delete-team 2023-08-02 23:40:30 +05:30
Matthias Nannt
235c1afe28 Fix formbricks-js labels not showing correctly with custom label styles 2023-08-02 16:59:57 +02:00
Meet Patel
17b9d686bd category button text & gap 2023-08-02 20:04:18 +05:30
github-actions[bot]
73904e11a6 Update formbricks-js to 1.0.2 (#640)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-02 16:12:39 +02:00
Meet Patel
c423e43aee refined search for who completed onboarding 2023-08-02 19:39:38 +05:30
Matti Nannt
a1b447caad Increase formbricks-js z-index to 999999 to increase compatibility with more websites (#639)
* Fix formbricks-js modal covered by other elements

* Fix wrong usage of prefix

* add changeset
2023-08-02 15:59:16 +02:00
Johannes
6b989487b2 Fix SEMRush SEO issues & move OSS friends to static
Fix SEMRush SEO issues & move OSS friends to static
2023-08-02 07:40:45 -05:00
Johannes
d60e0c4e5c fix SEO issues and move OSS friends to static 2023-08-02 14:24:26 +02:00
Shubham Palriwala
2a3ab3280f Fix NEXTAUTH_SECRET not get filled correctly in deployment script (#632)
* 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
2023-08-02 13:33:29 +02:00
Matti Nannt
5b217e5483 Update pnpm-lock to solve build issues (#636) 2023-08-02 13:20:03 +02:00
tyjkerr
ec0d3f2fa2 Add Back Button to Surveys (#501)
* 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>
2023-08-02 13:08:20 +02:00
Johannes
ae702ddd06 Add Twenty.com to OSS friends
Add Twenty.com to OSS friends
2023-08-02 04:34:19 -05:00
Johannes
91f78d875b Add Twenty.com to OSS friends 2023-08-02 04:34:00 -05:00
Johannes
08110b0c34 LP: Add OSS friends via API and update pricing wording
LP: Add OSS friends via API and update pricing wording
2023-08-02 03:59:31 -05:00
Johannes
42e6601f13 update fetch URL 2023-08-02 10:47:26 +02:00
Johannes
a5c33981a0 update pricing wording, add OSS friends API 2023-08-02 10:29:06 +02:00
Johannes
1a90d1b7e8 Merge branch 'main' of github.com:formbricks/formbricks into lp/add-oss-friends 2023-08-02 09:57:03 +02:00
Meet Patel
712431e842 search box improved & default category set 2023-08-01 23:32:00 +05:30
Johannes
3905c2227e Patch: Close survey on date can be set to past
Patch: Close survey on date can be set to past
2023-08-01 03:33:37 -05:00
Meet Patel
86da5ff2f4 search improved & bg white & category disabled on search 2023-07-31 23:03:37 +05:30
github-actions[bot]
fc0feda5e9 Release formbricks-js 1.0.1 (#625)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-31 16:44:56 +02:00
Matti Nannt
3d0d633bc8 Fix new Session event not triggered every time a new session is created (#624)
* Fix new Session event not triggered every time a new session is created

* make syncWithBackend method private
2023-07-31 16:40:21 +02:00
Matti Nannt
d707e2e49e Remove ports from docker compose file in production script (#623) 2023-07-31 15:33:02 +02:00
Matti Nannt
288fc79366 Fix Authentication issues for Webhook API (#622) 2023-07-31 14:10:28 +02:00
Matti Nannt
000fcf8b02 Update npm dependencies (#621) 2023-07-31 12:49:05 +02:00
Matti Nannt
730f0ba1e9 Fix session creation endpoint throw unexpected error (#620)
* fix env variables in weekly summary action

* Fix session creation endpoint throw unexpected error
2023-07-31 11:59:21 +02:00
Meet Patel
eed9b6635d two word case handled 2023-07-31 15:06:12 +05:30
Matti Nannt
38d3de2165 Add sentry error reporting (#619) 2023-07-31 10:26:59 +02:00
Matti Nannt
5d380a4986 Fix smileys in rating questions not showing in Safari Browser (#618) 2023-07-30 21:23:02 +02:00
Meet Patel
892a58c45e Merge branch 'main' into search-template-library 2023-07-30 23:00:33 +05:30
Meet Patel
4fb9851a6d searchbox component 2023-07-30 22:49:48 +05:30
Meet Patel
09c37d78a2 filter logic moved out side return 2023-07-29 11:21:56 +05:30
Meet Patel
6335565bf9 search works 2023-07-29 11:20:14 +05:30
Matti Nannt
e32e47e272 Fix: Disable autoFocus when embedded with iframe (#615) 2023-07-28 21:08:45 +02:00
Moritz Rengert
e864829a79 Fix: Logic Jumps stop working when options get renamed (#540)
* update logic values if multi select options change

* run pnpm format

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-07-28 20:21:26 +02:00
Dhruwang Jariwala
b62a344e54 Update Webhook Documentation (#611)
* added webhook payload docs

* ran pnpm format

* update data.id explanation, reformat

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-07-28 10:41:21 +02:00
Shubham Palriwala
469590c2f6 Add Quickstart for self-hosting using automated Shell Script (#613)
* 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>
2023-07-26 16:12:33 +02:00
Matthias Nannt
5ae7f31d01 update pnpm lock 2023-07-25 16:14:00 +02:00
Matthias Nannt
cb4cd706ad Merge branch 'main' of github.com:formbricks/formbricks into feat/close-date-edge-case 2023-07-25 16:00:05 +02:00
Dhruwang Jariwala
a165143c2a Add Input Validation to the Survey Editor (#588)
* 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>
2023-07-25 11:27:09 +02:00
Meet Patel
6b3f977d83 Store current Url in the responses meta data (#566)
* 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>
2023-07-24 17:05:54 +02:00
Salim B
f743fb18fb Fix Formatting in Docker Readme (#608)
Fix formatting
2023-07-24 10:57:14 +02:00
Piyush Gupta
1e816eb6d9 feat: added delete card and modal 2023-07-23 01:01:51 +05:30
Shubham Khunt
8c31c71251 fix: removed error toast 2023-07-22 19:27:53 +05:30
Shubham Khunt
62a08f304b padding issue fixed in delete dialog 2023-07-22 19:25:15 +05:30
Shubham Khunt
35057322a4 padding issue fixed in alert dialog 2023-07-22 19:25:14 +05:30
Shubham Khunt
b1a93de8db fix: toast error message updated 2023-07-22 19:25:14 +05:30
Shubham Khunt
aca32655cd fix: edit profile page input validation added 2023-07-22 19:25:14 +05:30
Shubham Khunt
8b14559d5f fix: Edit product page input validation completed 2023-07-22 19:25:14 +05:30
Shubham Khunt
43a623a61e fix: edit team page input validation added 2023-07-22 19:25:14 +05:30
Johannes
2f8257ae62 added new members 2023-07-22 13:41:15 +02:00
Johannes
8a5217b39c OSS Api 2023-07-22 13:26:33 +02:00
Piyush Gupta
57e6c86e6a refactor: summary header 2023-07-22 11:02:59 +05:30
Piyush Gupta
4519cb8a2d Merge branch 'main' of https://github.com/gupta-piyush19/formbricks into feat/close-date-edge-case 2023-07-21 20:38:22 +05:30
Moritz Rengert
e5d06de68e Fix multiple NPS questions in one survey not working (#596)
* clear nps question on submit

* fix onboarding color picker

* update onChange to onClick for NPS Questions

* update border color

* remove console.log

---------

Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-07-21 17:00:29 +02:00
Matti Nannt
49f61e2eeb Fix pnpm go bug and format code (#605) 2023-07-21 16:58:48 +02:00
Yash Gupta
4763cf3217 Enhance Github Issue Templates for better usability (#594)
* 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
2023-07-21 16:48:44 +02:00
Matti Nannt
b6a0d0fe5d Add OSS friends api endpoint (#604) 2023-07-21 16:44:41 +02:00
Matti Nannt
9be053d8a6 Fix: Add revalidation to surveys overview page (#601) 2023-07-21 15:19:29 +02:00
Matti Nannt
3a17c6b085 Fix errors in pnpm go script dependencies (#600) 2023-07-21 15:12:12 +02:00
Johannes
16b7e0d82a Improve Weekly Summary Email (#584)
* fix bugs in weekly

* fix CTA

* update bg color of completed badge
2023-07-20 16:33:01 +02:00
Johannes
ae7075c746 Fix 404 when Email exists in GitHub Login
Fix 404 when Email exists in GitHub Login
2023-07-20 09:11:55 -05:00
Johannes
78ed48adeb fix error messages 2023-07-20 15:59:21 +02:00
Matti Nannt
03ba9ecb58 fix build error (#592) 2023-07-20 15:10:18 +02:00
Matti Nannt
d360c1f741 Fix legacy sdk endpoints not working with new services (#591) 2023-07-20 14:44:58 +02:00
Johannes
cf953db18f Refactor Survey Overview Page
Refactor Survey Overview Page
2023-07-20 06:35:36 -05:00
Johannes
7475df147d Move Stripe to a new account (#589) 2023-07-20 11:03:32 +02:00
Matti Nannt
06d620dbc8 Update docs for nextjs setup with app directory (#590) 2023-07-20 10:45:06 +02:00
Matthias Nannt
feadefa90d clean up and move to new action -> service structure 2023-07-19 19:00:04 +02:00
Johannes
754832f097 Add Author Box to Blog articles
Add Author Box to Blog articles
2023-07-19 07:01:08 -05:00
Johannes
dad8ebe8da update blog articles 2023-07-19 13:44:01 +02:00
Johannes
df27b4703f add author box 2023-07-19 13:36:53 +02:00
Matthias Nannt
e385638c14 merge latest changes from main 2023-07-19 13:35:03 +02:00
Johannes
8cacb2ccee Landing Page: Balance cal.com widget with Concierge Div, Update Concierge Offer
Landing Page: Balance cal.com widget with Concierge Div, Update Concierge Offer
2023-07-19 05:56:50 -05:00
Johannes
98a62949d5 update concierge offer 2023-07-19 12:52:43 +02:00
Matti Nannt
dd6ac2e4cd Fix build errors and update contact to Formbricks GmbH (#585) 2023-07-19 12:50:19 +02:00
Matti Nannt
c52df00d39 Fix Email Notifications (#583)
* Fix email notifications not working properly

* Fix response notification not working

* fix response meta schema

* fix typo in docs

* improve error message in webhooks
2023-07-19 12:30:31 +02:00
Ankur Datta
0c7c3c9ad2 [RM] getProductWithEnvironments 2023-07-19 10:10:49 +00:00
Ankur Datta
5612fbfa22 [RM] getSurveysWithResponseCount 2023-07-19 09:41:06 +00:00
Ankur Datta
186a4269a3 [CHANGE] make survey-list as server component 2023-07-19 07:29:18 +00:00
Shubham Palriwala
503e7649e2 Fix formbricks-js unit tests not working properly (#582) 2023-07-19 08:46:39 +02:00
ShubhamPalriwala
e3b4ec4a9e fix: cal widget had an internal predefined margin causing it to be unabalanced with the concierge div 2023-07-19 00:59:52 +05:30
Piyush Gupta
b20cda2d06 fix: removed today's date from closeOnDate date picker 2023-07-19 00:11:01 +05:30
Piyush Gupta
6e8be0c0bd fixed merge conflict 2023-07-18 19:40:01 +05:30
Piyush Gupta
c68a9c8d15 fix: edge case of close on date 2023-07-18 19:38:03 +05:30
Johannes
e23f26f48c Improve Responsiveness of LP
Improve Responsiveness of LP
2023-07-18 07:04:26 -05:00
Johannes
9e9fe5c09d update logos 2023-07-18 13:57:17 +02:00
ShubhamPalriwala
3bb4a34e4c fix: hero component padding for smaller screen & github div conditional horizontal margin 2023-07-18 17:15:18 +05:30
Matti Nannt
9fcc0a360c Fix Posthog environment variables not recognized in Frontend (#578)
* move posthog variable to client in t3env

* remove groups, add revalidation to action/attributes pages
2023-07-18 12:53:40 +02:00
Shubham Palriwala
3824d95151 Move Actions & Attributes pages over to server components (#495)
* feat: server rendering of event actions summary page & server actions

* chore: renaming event to action and minor refactoring

* fix: logging message

* delete: unnecessary file

* feat: migrate attributes overview page

* feat: impl grouped page & layout, logically differentiate attributes and actions

* pnpm format

* fix: logical addressing of dirs and minot bugs

* move: actionsAndAttributes navbar to dedicated dir from components

* fix: use server-only build-time checks and move actionsAttributes navbar

* revert: unnecessary docker compose changes

* resolve merge conflicts dynamically

* fix: address feedback comments

* use sparkles icon from heroicons

* fix updated action not updating in table

* remove async from client function due to warning

* move router.refresh in AddNoActionModal

* small rename

* feat: replace swr w server action in ActionSettingsTab

* replace custom error with ResourceNotFoundError error class

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-07-18 12:40:03 +02:00
Matti Nannt
5bfaad9484 Improve Folder Structure for App-wide Client-imports (#577)
* move posthog to new implementation

* update folder structure
2023-07-18 11:32:58 +02:00
Matti Nannt
a5c8c1aa85 Update formbricks-js version in html docs (#576) 2023-07-18 09:12:33 +02:00
Johannes
c92011b069 Improve UI for delete account functionality (#575) 2023-07-17 19:25:48 +02:00
Anshuman Pandey
856247763c Improve Tags UI/UX (#563)
* fix: fixes tag merging logic

* fix: moves tag merge logic into transactions

* update tags settings icon

---------

Co-authored-by: Johannes <johannes@formbricks.com>
2023-07-17 19:24:08 +02:00
Matti Nannt
2199a4b102 Improve pnpm go command pipeline & remove database tsup setup (#574)
* move docker compose dev

* update all packages; pnpm format

* remove tsup from prisma

* add zod to prisma files

* delete tsup config

* improve pnpm go script, downgrade prettier

* update pnpm lock
2023-07-17 18:12:40 +02:00
Matti Nannt
cd49d687ad fix weekly summary cron workflow (#568) 2023-07-17 09:30:03 +02:00
Johannes
2852bf617a Fix ordering dropdown + Other input field
Fix ordering dropdown + Other input field
2023-07-16 09:04:22 -05:00
Johannes
30623d5fd2 fix order dropdown, other field and UX tweaks 2023-07-16 15:51:46 +02:00
Johannes
b673044890 Add Blog for v1 Release - How we got here
Add Blog for v1 Release - How we got here
2023-07-14 06:05:44 -05:00
Shubham Palriwala
bf9189c1af fix: docker compose url for curl (#557) 2023-07-14 13:00:57 +02:00
Moritz Rengert
e262006f7e Add Demo-Data to newly created teams (#521)
* create people and survey on team create

* create people and responses / displays

* drafting GPT input

* add attributeClass, eventClass and people

* fix link in person detail page

* fix email instead of uid

* added two surveys

* add events, 3 more surveys

---------

Co-authored-by: Johannes <johannes@formbricks.com>
2023-07-14 12:55:41 +02:00
Johannes
d44ea1f32d add v1 blog 2023-07-14 12:51:44 +02:00
Matti Nannt
e24f6cd017 Improve documentation (#552)
* update nextjs app docs

* remove prisma extendedWhereUnique from schema

* change button titles in pricing table

* fix smaller bugs
2023-07-14 12:48:57 +02:00
Matthias Nannt
c6a4b7731f merge latest changes, resolve conflict & build error 2023-07-14 11:05:00 +02:00
Johannes
62d2c1af18 improve filter ux, update summary header (#555) 2023-07-14 10:37:42 +02:00
Ankur Datta
2ea3d42ff6 [RM] logs 2023-07-14 07:43:24 +00:00
Ankur Datta
e275553425 [ADD] loading-state, [HANDLE] imports 2023-07-14 07:24:43 +00:00
Nitesh Seram
1a83373099 Fix random 0 can appear in survey menubar (#553)
Co-authored-by: Seram Nitesh Singh <nitesh.s@auzmor.com>
2023-07-14 09:08:15 +02:00
Matti Nannt
94c11193e5 Fix changesets config (#551) 2023-07-13 20:44:29 +02:00
Matti Nannt
21529da799 Fix billing page not showing current plan (#550)
* update packages, fix error getting current subscription plan

* fix billing page not showing current plan

* add revalidation constant
2023-07-13 20:28:48 +02:00
Ankur Datta
701a7d9786 [REFACTOR] survey-overview-page 2023-07-13 17:54:21 +00:00
Ankur Datta
4410b14d0c [ADD] services 2023-07-13 17:53:48 +00:00
Ankur Datta
cddbbc2be2 [ADD] server-actions 2023-07-13 17:53:09 +00:00
Ankur Datta
4fefa09ee8 [ADD] product-with-environment-type 2023-07-13 17:52:55 +00:00
Ankur Datta
09106188ba [FIX] zod-type 2023-07-13 17:52:18 +00:00
Matti Nannt
62c001cbee Update packages, Fix error getting current subscription plan (#549) 2023-07-13 18:23:31 +02:00
Shubham Palriwala
adef4c8762 Add Public Docker Image and Build Pipeline using Github Actions (#546)
* feat: github action to build and push to dockerhub on release

* feat: docker repo and quickstart readmne

* fix: check for NEXTAUTH_SECRET in dockerfile before running

* fix: check for NEXTAUTH_SECRET as null or not

* add deployment guide

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-07-13 17:33:54 +02:00
Dhruwang Jariwala
5d66a8b8f4 Improve Page Titles (#470)
* added metadata template

* created layout file in [survedId]

* changed Link to  <a> for complete reload of individual survey

* added prop types for generateMetadata

* added page titles for sub pages

* Replaced survey title with Your Surveys

* fix layout metadata not working with latest changes to getAnalysisData()

* run pnpm format

* add new analysis folder for common layout

* fix conflicts

* add metadata to integrations page

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-07-13 16:52:49 +02:00
gitstart-formbricks
ec80543a95 Add Filter-Functionality to Survey Analysis (#474)
* Extensive Filtering of Responses

* Delete .env

* fix scroll

* Delete .env

* add all-time date filter option

* increase filterOption max-width, update csv selection text

* fix consent question filter

* default onlyComplete to false

* move ResponseFilterContext to app dir

* show options when we switch surveys

* Delete empty .env file

---------

Co-authored-by: gitstart-formbricks <gitstart@users.noreply.github.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-07-13 16:28:18 +02:00
Johannes
1d5fab3665 Add Link Source Tracking for Weekly Summary Emails (#547)
* add UTM to links, update CTA button color in mails

* add tracking, update weekly + email layout
2023-07-13 16:22:50 +02:00
Shubhdeep Chhabra
e21c2a45e0 Add option for random ordering of choices in multiple choice questions (#394)
* feat: added a option to set ordering of choices

* changed the parameter for random ordering and used Switch instead of Select

* added logic for shuffle

* added shuffleOption in zod schema and fixed some copy.

* run pnpm format

* make shuffleOption optional in zod to prevent errors in existing data

* made fixes as asked in peer review and ran pnpm format

* minor bug fixes

* Update env.mjs

* fix shuffleArray to not shuffle reference object

* update shuffle method

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-07-13 15:09:26 +02:00
Nitesh Seram
8ae8afec0d Fix long description overflow in questions (#466)
* Fix issue 427

* Address review comment

* jump back to top on long questions

* add to JS widget

---------

Co-authored-by: Seram Nitesh Singh <nitesh.s@auzmor.com>
Co-authored-by: Johannes <johannes@formbricks.com>
2023-07-13 12:03:53 +02:00
Moritz Rengert
dceb8842d3 Fix prevent duplicate team invite (#536)
* check for existing invites

* add success / error toast on invite

* add toast on member / invite removal
2023-07-13 11:58:30 +02:00
Moritz Rengert
dc6ae088bf Fix allow invited users to signin/signup with Github (#534)
* pass inviteToken through github / google redirect url

* keep invite token when switching between signup and login
2023-07-13 11:54:47 +02:00
Johannes
257287cefc Fix owners should not be deleted from the team (#543) 2023-07-13 11:24:23 +02:00
Matti Nannt
a4a771ba70 Fix multiple client-side errors in formbricks-js 2023-07-13 11:17:04 +02:00
Matti Nannt
8ea6016cf5 Sync surveys and events with formbricks-js automatically (#537)
* add first part of sync service

* add actionClasses to js sync

* fix errors, add product to sync

* rewrite formbricks-js for new states and types

* fix tests

* fix build errors

* add cors

* fix cors errors and other bugs

* comment test in checks until working again
2023-07-13 00:49:58 +02:00
Dhruwang Jariwala
cfedd0f4b8 Add 'pnpm go' command for better DX (#538)
* added go script

* let turbo manage go command

* delete unused READMEs and update contribution docs

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-07-12 21:19:03 +02:00
Johannes
dc25856b46 Add Integrations Page UI
Add Integrations Page UI
2023-07-12 12:25:37 -05:00
Johannes
d4fe92ab07 Merge branch 'main' of github.com:formbricks/formbricks into feature/integrations 2023-07-12 19:14:49 +02:00
Johannes
194809758b Fix Permissions for Team Actions
Fix Permissions for Team Actions
2023-07-12 12:08:52 -05:00
moritzrengert
a1a4972db3 allow admins to delete members 2023-07-12 18:36:41 +02:00
moritzrengert
5084fb6063 allow admins to change team name and delete team members 2023-07-12 17:58:23 +02:00
Johannes
8821fa2167 Fix Roadmap Template productName
Fix Roadmap Template productName
2023-07-12 08:21:44 -05:00
Johannes
64bbff56f7 add } to productName 2023-07-12 15:18:40 +02:00
Ankur Datta
ec3a20b183 Move Templates Page to server components and new services (#488)
* [ADD] types

* [ADD] methods

* [Rearrange] with-server-component

* [FIX]server-methods,[ADD]preview-survey-server

* [FIX] zod-types-normalized

* pnpm format

* [FIX] build-error-due-to-cascade

* [RM] PreviewSurveyServer

* [TMP]

* [CHANGE] file-name-hack

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-07-12 12:44:19 +02:00
Matti Nannt
170ed85712 fix error while saving in-app surveys (#532) 2023-07-12 09:17:11 +02:00
Matti Nannt
1c58474dc2 Fix email notification not working (#531) 2023-07-11 22:52:17 +02:00
Dhruwang Jariwala
3f2ef3e776 Fix Logic Jumps are not updated properly when questions are updated or deleted (#530)
* modified updateQuestion functio

* added type defs

* pnpm format

* fix LogicEditor fields not updating properly

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-07-11 18:45:54 +02:00
Johannes
83b94de977 Add Zapier Tutorial to Docs
Add Zapier Tutorial to Docs
2023-07-11 11:20:58 -05:00
Johannes
3a1a385b41 update API key page + changes 2023-07-11 18:18:31 +02:00
Johannes
c99da3165b Improve UI/UX of Response Settings (#529) 2023-07-11 17:49:32 +02:00
Johannes
b1f7e03995 remove subpages, add Zapier link 2023-07-11 16:46:26 +02:00
Johannes
69809bafa4 Merge branch 'main' of github.com:formbricks/formbricks into feature/integrations 2023-07-11 16:02:04 +02:00
Matthias Nannt
c1b1fa61b6 add link & fix typos 2023-07-11 15:18:42 +02:00
Johannes
f1a297f5e8 Merge branch 'docs/add-zapier' of github.com:formbricks/formbricks into docs/add-zapier 2023-07-11 14:13:48 +02:00
Johannes
bcf11a37fa Merge branch 'main' of github.com:formbricks/formbricks into docs/add-zapier 2023-07-11 14:13:24 +02:00
Johannes
7333bb604d add zapier, add docs links opening in new tab 2023-07-11 14:09:23 +02:00
Johannes
1101d1f268 add zapier, add docs links opening in new tab 2023-07-11 14:06:48 +02:00
Matti Nannt
7dd67e4633 Fix duplicated closeOnDate in survey service (#525)
* Remove duplicated closeOnDate

* regenerate pnpm-lock
2023-07-11 13:21:14 +02:00
Pradumn Kumar
57a64d7940 Survey Completed message shown to the enduser can now be customized (#464)
* feat: added surveyClosedMessage field to database and also added it's types

* feat: added the custom closed message to the frontend

* fix: fixes build issue

* fix: refactored the code to toggle surveyClosedMessage and redirectUrl

* pnpm format

* recreate prisma migration

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-07-11 13:12:45 +02:00
gitstart-formbricks
269a504780 Fix typo in product name replace in template (#520)
* fix product name typo in template

* revert unwanted change.

---------

Co-authored-by: gitstart-formbricks <gitstart@users.noreply.github.com>
2023-07-11 12:49:58 +02:00
Piyush Gupta
c8c84d0148 Add close on date functionality for surveys (#463)
* added date-picker

* added state and handlers for closeOnDate

* closeDate -> closeOnDate

* added endpoint for CRON to close surveys

* resolved migrations

* fixed datetime format

* removed warnings

* PR review changes

* resolved merge conflicts and package update

* add github workflow for cron

* change migration order

* change migration order

* add zod types for closeOnDate

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-07-11 12:47:35 +02:00
Johannes
af1b29f8bc Improve QuestionID UX by updating onBlur (#523)
* change questionId on blur, fix placeholder

* fix build error

* fix UX issues
2023-07-11 12:29:50 +02:00
Johannes
4908bc77bd New Hero Graphic for Landing Page
New Hero Graphic for Landing Page
2023-07-11 03:37:11 -05:00
Johannes
20ec66481b update graphic and copy 2023-07-11 10:32:33 +02:00
Moritz Rengert
c912ebd42a Fix expired member invites are not displayed properly (#475)
* add expiresAt prop to members call

* add expired badge in addition to pending in members list

* check for expired on invite link

* fix type error

* update invite expired message

* remove console.log

---------

Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-07-11 10:14:58 +02:00
Moritz Rengert
1b0327edd4 Allow questionId to be changed for newly added questions (#476)
* add isDraft=true to all new questions and remove it on save

* update button to show on draft questions

* re-add input validation

---------

Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-07-11 10:07:19 +02:00
tyjkerr
ce8a8df091 Fix summary showing NaN values when adding new Consent or CTA question (#518) 2023-07-11 09:54:59 +02:00
Matti Nannt
7be6879afb add SurveyId filter option to responses endpoint (#517) 2023-07-10 17:03:36 +02:00
Matti Nannt
04ec0a6827 Extend Webhook with surveyIds filter (#512)
* add surveyIds filter to webhooks. Use triggers array instead of single trigger

* include webhook id in webhook payload

* run pnpm format
2023-07-10 16:24:03 +02:00
Johannes
62ed0a7945 Update suffix of next.config in Dockerfile
fix next config suffix
2023-07-10 05:07:41 -05:00
Johannes
fc0dfec151 fix next config suffix 2023-07-10 12:06:27 +02:00
Matti Nannt
fe55a152ea add .env file to checks workflow (#508)
* add .env file to checks workflow

* update .env.example comment
2023-07-10 10:59:17 +02:00
Matti Nannt
31ccb9d43f Add new Surveys endpoint to list all surveys of an account (#500) 2023-07-10 10:44:37 +02:00
Johannes
f4237e3121 Merge pull request #493 from Dhruwang/Validation-for-Reset-Password
Add validation to password reset page, improve UX
2023-07-10 03:09:53 -05:00
Johannes
bd9b77cd9d add loading states, clarify naming 2023-07-10 10:02:35 +02:00
Johannes
70c809586c Merge branch 'main' of github.com:formbricks/formbricks into Validation-for-Reset-Password 2023-07-10 09:45:29 +02:00
Johannes
60f723d3cc Merge pull request #489 from Meetcpatel/questionid-space
Looks great, thanks for your contribution! :) 🙌
2023-07-10 02:38:27 -05:00
Matti Nannt
95eeaecafc Add empty string dataproxy env (#506)
'
2023-07-09 18:33:06 +02:00
Matti Nannt
484da80e4c Fix Zod Schema for PRISMA_GENERATE_DATAPROXY env variable (#505) 2023-07-09 18:19:49 +02:00
Moritz Rengert
25f6ccc0a0 Fix other field not working properly in multiple choice question (#502) 2023-07-09 17:30:27 +02:00
Matti Nannt
4017a5c4f9 Add t3 env for env validation (#498)
* add t3 env for env validation

* fix env variables that should be optional

* update gitignore

* add vercel ignore
2023-07-07 15:58:15 +02:00
Johannes
ffb9fd659f Merge pull request #497 from formbricks/lp/fix-landing
fix lp & update blog
2023-07-07 07:04:11 -05:00
Johannes
40dfea070c fix lp & update blog 2023-07-07 13:54:16 +02:00
Johannes
ec1f940d48 Merge pull request #496 from formbricks/lp/add-github-blog
Add GitHub Acc blog post, update lp
2023-07-07 06:18:29 -05:00
Johannes
749fdd684a fix build error 2023-07-07 13:07:43 +02:00
Subhodip Roy
60c96fe3f9 Build Display service and rebuild display endpoint in app directory (#432)
* created new create-display and updated display endpoints with zod, db service-layer, and next.js route handlers

* changed the api URL and changed few type definations

* new getTeamDetails service is created which will be further used by display and response endpoints

* changed the prisma call with getTeamDetails service

* created display services and zod validation schema

* removed envId from func parameter

* fix build error by adding a type annotation

* Moved the return inside try block

* Removed comments

* changed the update display service name to markDisplayResponded

* Update route.ts

* reference person type in display, check response code first then transform to json

* add createdAt & updatedAt to person when query display

* pnpm format

* small optimizations

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-07-07 12:28:47 +02:00
Johannes
81ea563dbc update lp, add blog post 2023-07-07 12:14:57 +02:00
Meet Patel
4cc085cecf questionid can not be empty 2023-07-06 21:46:31 +05:30
Johannes
561afcc8fb Merge pull request #478 from gupta-piyush19/feature/consent-prefill-added
feat: Added prefill for consent question type and fixed the loader bug
2023-07-06 10:11:52 -05:00
Bhaskar Singh
9e9db7103e Add Weekly Summary Feature (Beta) (#431)
* Added Notification API

* Added Email functionality to the weekly
notification

* Added no live survey email notification

* Activating weeklySummary notification alertSwitch

* Adding check to include only surveys which
have weeklySummary enabled

* Updated the condition for weekSummary
notification check

* update UI

* Update to reduce number of database calls

* Updated the email subject when no survey in weeklysummary

* applied pnpm format

* update notification settings with new types and fix functionality

* loop through all products to send weekly summary email, colocate files

* fix build errors

* add more types

* add vercel.json for cron configuration

* remove console.logs, limit responses to 5 per survey

* update email subject

* improve how responses are displayed in summary email

* update email layout

* add cron to github action instead of vercel

* add github action

* add beta flag

---------

Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-07-06 15:47:33 +02:00
Matti Nannt
896e91a38b add product information to api/v1/me endpoint (#494) 2023-07-06 14:36:39 +02:00
Dhruwang
8283a7d2ed restored a css class 2023-07-06 17:08:40 +05:30
Dhruwang
08fe6b0ad8 changed id name to previous one 2023-07-06 16:23:08 +05:30
Dhruwang
8eae9fc846 resolved empty password field issue 2023-07-06 16:18:40 +05:30
Dhruwang
5ae6130e89 added password validation in reset password form 2023-07-06 16:17:30 +05:30
Matti Nannt
47b9867f28 Fix autoComplete survey schema validation (#491) 2023-07-06 11:58:16 +02:00
Shubham Palriwala
8585cb8c7c Add Timestamps to person model (#490) 2023-07-06 10:26:53 +02:00
Meet Patel
82bcc0ae7e space not allowed in questionid input 2023-07-05 20:41:48 +05:30
Matti Nannt
33811f9349 Improve Authorization Checks in Layout (#487) 2023-07-05 16:01:45 +02:00
Matti Nannt
4e1d905c9e Fix people service loading time (#485)
* Fix people service loading time

* run pnpm format
2023-07-05 15:19:54 +02:00
Johannes
e840816567 Merge pull request #484 from joe-shajan/fix_user_email
too easy for you ;) Thanks!! 🙌 🙌 🙌
2023-07-05 06:47:10 -05:00
Shubham Palriwala
dbec5426b2 Move people page to server components (#479)
* feat: person overview is now a server rendered page

* feat: loader component & fix: minor changes as suggested

* hide: session count

* getAttributeValue always returns string

* fix: remove createdAt & updatedAt fields from user for now

* fix: use select instead of include to specify retreival fields

* feat: suspense streaming

* feat: skeleton table for streaming and loading

* fix: use integrated loading and cleanup components

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-07-05 13:06:37 +02:00
joe-shajan
5162a84246 fix: display user email in responses 2023-07-05 16:24:34 +05:30
Johannes
419b9d0b90 Add Link Prefilling, UserId Prefilling and Nextjs App Dir Setup to Docs (#480)
* fix EventClassesList table

* doc update

* update docs

* update nextjs docs

* update prefilling docs with url encoding

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-07-05 12:45:28 +02:00
Moritz Rengert
183ce34cad Fix Consent Question Summary not displayed (#482)
* enable consent summary

* fix type error

* fix Consent Summary to use dismissed instead of skipped and move to Server Component

* change Skipped to Dismissed in UI

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-07-05 09:43:11 +02:00
Matti Nannt
a9f4d4e28b Dev Experience Performance Improvements (#481)
* only add packages once to their main package and remove them from other packages to avoid version conflicts

* update package versions

* update package versions, clean packages

* remove old vscode settings

* exclude formbricks-com from pnpm dev

* narrow down tsconfig includes, pnpm-lock update

* add pnpm test to github action
2023-07-04 20:54:41 +02:00
Piyush Gupta
751d729242 feat: Added prefill for consent question type and fixed the loader bug 2023-07-04 13:54:40 +05:30
Johannes
c8c6d922c3 zapier subpage 2023-07-03 16:14:31 +02:00
Johannes
dbe9a9aa02 Merge branch 'main' of github.com:formbricks/formbricks into feature/integrations 2023-07-03 15:55:39 +02:00
Johannes
175736bb4b Merge pull request #472 from formbricks/lp/remove-github
remove GitHub Deal
2023-07-03 07:58:25 -05:00
Johannes
d3724fa9fc remove GitHub Deal 2023-07-03 14:52:32 +02:00
Matti Nannt
db0b673965 Fix formatting issues (#471) 2023-07-03 11:37:08 +02:00
Johannes
fadd56102b Merge pull request #469 from formbricks/jobenjada-patch-1
fix images
2023-07-03 04:08:21 -05:00
Johannes
f38c897e2a fix images 2023-07-03 04:08:09 -05:00
Johannes
70ac575fcf Merge pull request #468 from formbricks/jobenjada-patch-1
Add dark mode images
2023-07-03 04:03:08 -05:00
Johannes
c1815007d1 Add dark mode images 2023-07-03 04:02:59 -05:00
Johannes
8188b85335 Merge pull request #467 from formbricks/jobenjada-patch-1
Update images in ReadMe
2023-07-03 03:57:22 -05:00
Johannes
00a4919b5a Update images in ReadMe 2023-07-03 03:56:32 -05:00
Johannes
81b4624649 Add Feedback Box to Formbricks Cloud (#461)
* add feedback box

* only show product feedback on cloud

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-07-03 10:15:13 +02:00
Johannes
69c332a435 Merge pull request #462 from formbricks/fix/fix-readme-for-dev-setup
fix README.md for dev setup
2023-07-03 02:18:31 -05:00
Matti Nannt
73a2b077e5 add response poll endpoint for zapier (#465)
* add response poll endpoint for zapier

* fix internal server error with incorrect api key
2023-07-02 22:32:20 +02:00
Timothy Krechel
f4349d348a fix README.md for dev setup 2023-07-02 12:29:48 +02:00
Johannes
95f588d5d1 update link and ui 2023-06-30 18:47:01 +02:00
Johannes
fb909938f9 Merge pull request #460 from formbricks/fix/response-options
Fix/response options
2023-06-30 10:57:57 -05:00
Anshuman Pandey
46b7183161 Improve Tag feature with better error handling and animations (#449)
* fix: adds animation on duplicate tag

* fix: fixes error data flow

* fix: fixes tag getting animated on all errors

* fix: changes icon to heroicons

* fix: fixes error being thrown when adding duplicate tag

* fix: fixes responses not getting refetched
2023-06-30 17:40:25 +02:00
Johannes
4610a46b5b Merge branch 'main' of github.com:formbricks/formbricks into fix/response-options 2023-06-30 17:24:50 +02:00
Matti Nannt
f7aea59f80 fix error during onboarding when environment not fully loaded (#459) 2023-06-30 17:22:19 +02:00
Johannes
31e4965355 Merge branch 'main' of github.com:formbricks/formbricks into fix/response-options 2023-06-30 17:16:30 +02:00
Johannes
b86f837e78 fix response card not visible 2023-06-30 17:12:59 +02:00
tyjkerr
1d76365f04 Add Option to Display Invite Link in Team Settings (#452)
* add share link feature

* add grid-cols-20 in tailwind.config

* update edit members section styles

* Check for valid inviteId when sharing invite
2023-06-30 17:05:05 +02:00
Matti Nannt
aa80eb5d96 Fix Widget Position not working in Preview (#458)
* update tailwindconfig to fix widget in preview

* remove prisma studio from database package scripts
2023-06-30 16:46:53 +02:00
Shubham Palriwala
d67858e2ea Add tests to formbricks-js (#399)
* init: jest for formbricks/js

* test: formbricks init

* test: formbricks set attributes

* test: formbricks updated attributes

* test: formbricks track, refresh, route change

* test: formbricks logout

* chore: use strict checking & replace let w const

* chore: destructure variables

* feat: test coverage visibility

* updated: pnpm lock file

* feat: tests now use a mock API

* fix: mock actual formbricks survey response and not empty placeholders

* rename: unit test for clarity

* chore: destructure setting attributes into individual tests

* feat: mock console logger for cleaner cli during tests

* add top level test script for turbo

* update babel config to fix errors in formbricks-js build

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-06-30 16:29:38 +02:00
Moritz Rengert
888d10434a Add option ask for short answers in Open Text questions (#435)
* feat: add shortAnswer: boolean to OpenTextQuestion interface

* feat: add longAnswer switch to OpenTextForm

* toggle textare lines depending on question.shortAnswer

* fix type build error

* move long answer switch to baseline

* adjust spacing between switches

* rename shortAnswer -> longAnswer, change textarea to input field

---------

Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-06-30 12:10:48 +02:00
Johannes
5dc9dfdb3d Update feature_request.md (#450)
added "How we code"
2023-06-29 16:33:06 +02:00
Johannes
06817aa8bc Update PULL_REQUEST_TEMPLATE.md (#451)
added two bullets to PR template
2023-06-29 16:31:47 +02:00
Moritz Rengert
2205d98aeb Add new Consent Question Type (#342)
* feat: add consent to questionTypes and types

* feat: add default values to consent question

* feat: add consent question form

* feat: add consent question to preview / link survey

* fix: clean consent question html

* feat: add consent question to js package

* feat: add consent to summary list

* fix build errors

* fix: remove skip button, add button label input

* feat: add checked logic option

* fix: add accepted option

* update consent form to match new advanced settings layout

* remove console.log

* hide accepted condition if consent is required

* fix build errors

* update consent question return values

* remove console.log

* renamed submitted to clicked in CTA logic, removed submitted condition for consent questions

* remove logs display from demo;

* remove logs display from demo;

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-06-29 16:31:05 +02:00
Johannes
fa785fcafb Merge pull request #448 from PeerRich/patch-2
added contact link to readme
2023-06-29 09:04:53 -05:00
Peer Richelsen
1892b6df40 added contact link to readme 2023-06-28 20:14:04 +02:00
Matti Nannt
ef0c621e5e fix necessary hard reload on responses summary and list (#447) 2023-06-28 16:45:30 +02:00
Matti Nannt
4f12886bfc Fix userId prefilling not working properly (#446) 2023-06-28 15:35:41 +02:00
Moritz Rengert
8c838bc25c feature/position in app modal (#440)
* add placement enum and prop to db scheme

* enable placement toggle in setttings

* enable in-app survey placement demo

* add position helper function

* add placement to in-app-modal preview

* add placement prop to api endpoint

* add placement to widget

* remove coming soon

* add styling

* add apply tailwind styles instead of a ts function

* add clickoutside and darkoverlay prop

* add darkOverlay and clickOutside form

* update js package tailwind apply classes

* add background to widget and close on click outside

* only show backdrop and clickOutside if is center

* only display background when modal is centered

* responsive changes in js widget

* add updated migration, move styles from global.css to function

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-06-28 15:25:58 +02:00
Johannes
5bb1a0678a Merge pull request #445 from formbricks/lp/forward-deal
forward /deal
2023-06-28 07:56:15 -05:00
Johannes
e1f81636a3 forward /deal 2023-06-28 14:49:13 +02:00
Matti Nannt
9cc836a775 Clean up + Bugfixes (#443)
* format code

* fix building issue in database package

* update turbo config and package jsons

* update error package with more information and license

* fix typescript issues in ui package

* update package-lock

* update packages

* clean dependencies in web

* clean up dependencies in demo & formbricks-com

* remove unsused template file

* remove legacy capture endpoint

* remove unfinished client endpoints

* clean up unused functions

* fix formbricks not loading on invalid session

* update readme
2023-06-28 13:07:51 +02:00
Johannes
9d1d0576a2 Merge pull request #444 from formbricks/lp/fix-booking
Lp/fix booking
2023-06-28 06:05:36 -05:00
Johannes
454cc01629 fix build errors 2023-06-28 12:54:34 +02:00
Johannes
a296caa3c0 fix cal, update github icon 2023-06-28 12:51:45 +02:00
Johannes
f0eb8289c1 Merge pull request #442 from formbricks/lp/concierge
Add Concierge Page to Landing Page
2023-06-28 05:36:12 -05:00
Johannes
f93e2b9ace Merge branch 'main' of github.com:formbricks/formbricks into lp/concierge 2023-06-28 12:28:07 +02:00
Johannes
0187b0e61e update concierge page 2023-06-27 11:57:35 +02:00
Johannes
252859298b add concierge page 2023-06-27 11:24:35 +02:00
Zorig
daf030b183 Add option to connect a Linksurvey with a userId (#430)
* feat: identify users in link surveys #384

* fix: identify users in link surveys formbricks#384 PR feedback

* relocate endpoint, add check for preview=true

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-06-27 10:01:47 +02:00
Johannes
87a0eb0a04 Merge pull request #441 from formbricks/lp-remove-early-bird
remove early bird deal
2023-06-26 11:22:11 -05:00
Johannes
a2a47f433c remove early bird 2023-06-26 18:15:19 +02:00
Matthias Nannt
59481a7f5b add js integration 2023-06-26 16:55:32 +02:00
Matti Nannt
ff001e7ea1 Update formbricks-js to 0.1.22 (#438) 2023-06-26 16:07:44 +02:00
Dhruwang Jariwala
38021d2026 Add password requirements and password validation (#412)
* resolved

* made changes

* made submit button disabled on failing password checks

* removed submitted state and fixed typos

* redactored IsPasswordValid Component

* removed cursor-pointer from XCircleIcon

* added PasswordInput component

* made some refactors in PasswordInput component

* made eye icon lighter

* removed unsed code

* fix infinite state updates

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-06-26 14:43:50 +02:00
Matti Nannt
f1cc434e49 add missing migration (#437) 2023-06-26 13:36:16 +02:00
Dhruwang Jariwala
8a7b16effc Add option to redirect after completed link survey (#408)
* completed

* resolved migration error

* added redirect timer and url check

* rename redirectLink to redirectUrl

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-06-26 13:30:02 +02:00
Nafees Nazik
55c1e354fc Add user agent as meta data to responses (#398)
* chore: add ua parser

* feat: add user agent to meta

* feat: parse ua

* feat: add tooltip

* fix: type

* fix: empty tooltip

* fix: typo

* add simple formatting to tooltip text

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-06-26 11:42:42 +02:00
Matti Nannt
c853f8db2c fix deleted responses still shown in frontend (#436) 2023-06-26 09:25:36 +02:00
Matti Nannt
8486e516b6 Move Summary & responses page over to serverside data-retrieval (#433)
* use new services for server-side data retrieval in survey responses & summary

* fix build errors

* add notes to response schema

* add response notes

* fix type conflicts

* add tag functionality

* run pnpm format

* fix tag state not updating correctly
2023-06-25 17:26:17 +02:00
Anshuman Pandey
2e662f98b9 Add tagging functionality to responses (#426)
* fat: added prisma model for Tag

* feat: adds api route for tags

* fat: added prisma model for Tag

* feat: adds mutation hook for creating a tag

* feat: adds apis for creating and retrieving tags

* feat: adds sample UI for creating and retrieving tags

* feat: adds UI components for Combobox

* feat: adds api router for fetching all tags for a product

* feat: adds combobox and api for appending tag to a response

* feat: adds api call for removing a tag from a response

* fix: relaced normal post with swr mutations

* fix: mutations for adding and deleting tags

* feat: integrated the create and delete tags apis and combobox

* fix: fixes api routes and db queries for tags apis

* fix: fixes api routes and headers

* feat: adds tag delete functionality

* feat: adds update tag api and UI

* feat: adds tags count api and integration

* feat: inital UI for tags table

* fix: UI for autosave name component

* fix: fixes api response

* fix: fixes errors on merge tags

* fat: added prisma model for Tag

* fix: replaces lodash.debounce with lodash

* fix: fixes capital letter tags not getting added

* fix: changed tag table to relate to environment

* fix: migrated tag apis from product to environment

* fix: formatting with prettier

* fix: fixes tags interface in single response

* fix: fixes UI bugs

* fix: fixes text on no tags

* fix: deleted local migrations

* fix: synced migrations with main

* fix: fixes combobox bugs

* fix: fixes placeholder

* update migrations

* fix build issues

* fix tag adding functionality

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-06-25 15:43:54 +02:00
Ashutosh Bhadauriya
7ed24c9f49 Add 50% Scroll & Exit Attempt Automatic events to trigger surveys (#393)
* Add exit intent and scroll depth automatic actions

* Remove lorem ipsum text

* Modified event listeners to not get called if survey is already running

* Add trackEvent inside event listeners

* Remove lorem ipsum

* Move event listeners to init

* Fix exit intent listener

* Modify event listeners to get called everytime and change exit intent text

* Add missed files

* Move events to separate file and add name check

* Add name check

* Fix build error
2023-06-23 12:17:37 +02:00
Ankur Datta
c224e7995d Add option to copy surveys to other environments (#392)
* Add option to copy surveys to other environments

---------

Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-06-23 11:48:28 +02:00
Johannes
a1bbe5c5fb Merge pull request #428 from formbricks/remove-career
remove careers page, update remaining CTAs
2023-06-22 09:40:27 -05:00
Johannes
5b34304cfc fix build error 2023-06-22 16:30:36 +02:00
Johannes
e15309a080 remove careers page, update remaining CTAs 2023-06-22 16:04:07 +02:00
Joe
25b84102a7 Check for unsaved changes in Survey Editor before changing pages (#409)
* fix: remove environmentsNavbar on survey editor

* objects deep comparision utility function

* feat: confirm on window reload or close

* feat: confirm save on back

* feat: custom alert dialog

* remove radixui alert dialog

* replaced shadcn alert with new custom alert dialog

* fix: save button varient to darkCTA

* fix: moved beforeunload logic to surveymenubar

* fix: remove deepequal function

* installed lodash

* fix: survey not comparing on change

* fix: isqual import
2023-06-22 08:44:04 +02:00
Pradumn Kumar
6922b3ed3f Add snapshot of user attributes to a response (#403)
* feat: added current person attributes to the user response

* feat: added tooltip showing user attributes in response view

* fix: switched to using the service layer and added annotations for json field

* rename PersonAttributesData to ResponsePersonAttributes to fit current naming scheme

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-06-21 13:02:55 +02:00
Nitesh Seram
08717cd396 Add NEXT_PUBLIC_INVITE_DISABLED env variable to disable invite functionality (#373)
* Add env variable to check for team invite

* Check for only public invite env for invite

* Disable Add Member and block the invite API

* Change the invite disabled condition

* Update the condition for env variable

---------

Co-authored-by: Seram Nitesh Singh <nitesh.s@auzmor.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-06-21 11:53:37 +02:00
Ankur Datta
8cfc1878fb Add iFrame Embed Option for Link Surveys (#414)
* add-embed-share-survey

* rm-use-client

* [FIX] responsive-iframe-embed
2023-06-21 10:56:35 +02:00
Matti Nannt
7ef7c39c31 Fix Zod Survey Types to represent current logic jumps (#424)
* fix survey zod types to represent question based logic jumps
2023-06-20 23:30:51 +02:00
Matti Nannt
db697a485e Make prisma call in survey service specific to avoid model conflicts (#423)
* make prisma call in survey service specific to avoid model conflicts

* make zod survey schema more readable by using enums
2023-06-20 22:31:47 +02:00
Matti Nannt
455e0779a5 fix compatibility issue with new pnpm version (#421) 2023-06-20 17:09:19 +02:00
Piyush Gupta
51e4221f33 Add QuestionType enum in place of strings (#420) 2023-06-20 16:32:03 +02:00
Francois Disubi
8f1b7ae83a Add Delete Account functionality (#363)
* feat: add deletes account button on profile section.

* feat: add delete account action when user click on delete account button

* feat:logout user when his account is deleted

* feat: added warning message before user deletes account

* feat: add description to Delete account
 section

* fix: fix: build issue.

* fix: avoid giving the ownership of a team to a member who is not an admin

* fix: merge conflict

* fix: use !== in delete button disabled prop

* fix: typo semething -> Something

* refactor: simplified user deletion logic

* refactor: explain user deletion logic

* refactor: remove unecessary delete membership queries

* feat: add deletes account button on profile section.

* feat: add delete account action when user click on delete account button

* feat:logout user when his account is deleted

* feat: added warning message before user deletes account

* fix merge conlicts

* update to  delete info text

* feat: delete the team if the owner deletes his account and the team has no admins

* add await
2023-06-20 14:33:14 +02:00
Neil Chauhan
27023eacf8 Add roles to users you invite to your team (#404)
* Add method to check if user is admin or owner

* Add method to enable role based member invites

* Add Select Control element to UI to handle role based invite

* Add flag to allow add member feature for owner or admin level users only

* Fix error with role select element

* Add UI view to modify membership

* Add RoleElement component to handle the Role display

* Integrate api for Updating Accepted Member Role

* Integrate api for Updating Invitee's Role

* Resolve PR comments and merge conflicts
2023-06-20 12:21:25 +02:00
Matti Nannt
4348c905f0 improve delete product dialog, send error toast on failed request (#419) 2023-06-20 11:33:27 +02:00
Johannes
aa52808bd2 Merge pull request #417 from formbricks/fix-demo-responsiveness
fix responsiveness of demo app
2023-06-20 03:23:08 -05:00
Johannes
033d4cb54a fix responsiveness 2023-06-20 10:08:03 +02:00
Matti Nannt
8f55b73c08 Format code according to prettier rules in all files (#406) 2023-06-19 13:01:20 +02:00
Surendhar
495b53e98f Add ability to mark survey as completed after x responses (#395)
* mark survey as completed after x responses
2023-06-19 12:56:07 +02:00
Joe
e64d2b9ac1 Add active & inactive surveys to attribute details view (#400) 2023-06-19 09:26:40 +02:00
Matti Nannt
ce5410a3f9 Update pnpm lock file to fix Docker build issues (#405) 2023-06-18 20:12:26 +02:00
Piyush Gupta
51c39116d0 Add URL prefilling option for the first question (#376)
Add URL prefilling option for the first question using URL search parameters
2023-06-18 13:36:31 +02:00
Johannes
117823a6f7 Merge pull request #380 from joe-shajan/preserve_nav_scroll
Fix: Preserve docs nav scroll position
2023-06-16 13:40:51 -05:00
Matti Nannt
e6f6e2296f fix email notifications display empty responses, fix webhook data format (#383) 2023-06-16 11:49:09 +02:00
Matti Nannt
2f65c8d011 Close Icon not showing on mobile in formbricks-js (#382)
* fix close icon not showing on mobile
* remove whitespaces in preview
2023-06-16 10:53:55 +02:00
Matti Nannt
9393cab76f add megaprompt (#381) 2023-06-16 10:39:36 +02:00
joe-shajan
b1fa0fefe9 fix: preserve docs nav scroll position 2023-06-16 01:00:11 +05:30
Johannes
cfacd1a63e Merge pull request #377 from Ashutosh-Bhadauriya/enhancement/add-save-button
Enhance: Add save button in deleteDialogue when creating survey
2023-06-15 11:18:21 -05:00
Ashutosh-Bhadauriya
306bf622c6 Merge branch 'main' of https://github.com/Ashutosh-Bhadauriya/formbricks into enhancement/add-save-button 2023-06-15 20:12:57 +05:30
Matti Nannt
fc66e16653 fix build errors (#379) 2023-06-15 16:35:25 +02:00
Ashutosh-Bhadauriya
6ff3371ed1 Merge branch 'main' of https://github.com/Ashutosh-Bhadauriya/formbricks into enhancement/add-save-button 2023-06-15 19:56:59 +05:30
Ashutosh-Bhadauriya
427406e9eb Enhance: add save button in delete dialog and let the user go back after saving 2023-06-15 19:15:28 +05:30
Johannes
00acdf58f1 Merge pull request #375 from formbricks/feature/FOR-772
Add Data Service for Responses, Webhooks, Surveys & Api Keys
2023-06-15 08:39:02 -05:00
Johannes
f4bb54c79c Merge branch 'main' of github.com:formbricks/formbricks into feature/FOR-772 2023-06-15 14:01:14 +02:00
Anshuman Pandey
66891318a1 Add CSV Export (#371)
* add CSV export feature to responses page
2023-06-15 13:58:03 +02:00
Johannes
478a981996 Improve Dev-Experience with a new Demo-App to test the SDK (#372)
* update demo app with new UI

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-06-15 09:53:56 +02:00
Johannes
f713591083 Merge pull request #374 from Ashutosh-Bhadauriya/feat/add-user-roles
Feat: Add a column to add user roles and added useMemo in attributeclassesList
2023-06-14 11:25:23 -05:00
Matthias Nannt
1334e7a3f9 fix bug creating responses, improve error handling in survey service 2023-06-14 17:55:04 +02:00
Matthias Nannt
a5e426109b Merge branch 'main' of github.com:formbricks/formbricks into feature/FOR-772 2023-06-14 17:23:53 +02:00
Ashutosh-Bhadauriya
7554ab4d97 Feat: Add a column to add user roles 2023-06-14 20:52:47 +05:30
Matthias Nannt
1ef49f6fae rewrite single response client endpoint with new error classes to minimize prisma calls 2023-06-14 17:19:31 +02:00
Matthias Nannt
b7f72fe111 update services with new error classes, update responses endpoint with new error classes and the right response codes 2023-06-14 17:08:02 +02:00
Matti Nannt
bbec1c9066 fix build errors in docker container (#370) 2023-06-14 14:49:50 +02:00
Matthias Nannt
0feaadcbc9 add new error classes, add types and services for api keys, use new error classes in webhook api 2023-06-13 15:07:15 +02:00
Johannes
a6f3bb8f87 Merge pull request #367 from formbricks/patch/note-height
update note height and fix multiple choice zod
2023-06-13 06:28:45 -05:00
Johannes
a4274da003 update note height and fix multiple choice zod 2023-06-13 13:25:24 +02:00
Johannes
eb1f4b0f0d Merge pull request #365 from Ashutosh-Bhadauriya/feat/add-attribute-archive
Feature: Add ability to archive attributes
2023-06-13 06:05:28 -05:00
Ashutosh-Bhadauriya
c5be453563 Increase badge margin and change button variant 2023-06-13 16:29:02 +05:30
Matti Nannt
c16708d12a Update webhook overview doc with more usage information (#366) 2023-06-13 12:16:26 +02:00
Ashutosh-Bhadauriya
46fadf9df0 Feat: Add ability to archive attributes 2023-06-13 15:16:57 +05:30
Johannes
7c53fa34f4 Merge pull request #344 from formbricks/FBRICKS-332
[FEATURE] Add a note to responses
2023-06-13 04:35:12 -05:00
Johannes
52a8d7beef increase width 2023-06-13 11:26:01 +02:00
Matti Nannt
842cb34942 Add Webhooks (#364) 2023-06-13 11:22:46 +02:00
Johannes
08038f292b Merge branch 'main' of github.com:formbricks/formbricks into FBRICKS-332 2023-06-13 11:20:46 +02:00
Johannes
424a2f1a69 tweak UI 2023-06-13 11:14:01 +02:00
Johannes
c1b1f6cacb Merge branch 'main' of github.com:formbricks/formbricks into FBRICKS-332 2023-06-13 09:42:18 +02:00
Matti Nannt
97263a66cc Add new client endpoints & webhook functionality (#355)
* add new zod schema for responses
* add new client endpoints for responses
* add services for responses and surveys
* add new responses model to webhooks & email

---------

Co-authored-by: Johannes <johannes@formbricks.com>
2023-06-12 19:51:13 +02:00
Johannes
85c3069155 Merge pull request #353 from formbricks/patch/add-overflow-to-survey
[ENHANCEMENT] Add scrolling to select question when too man options are added
2023-06-12 11:23:11 -05:00
Johannes
b6e99274fe Merge branch 'patch/add-overflow-to-survey' of github.com:formbricks/formbricks into patch/add-overflow-to-survey 2023-06-12 18:16:35 +02:00
Johannes
2278fc1477 fix survey layout 2023-06-12 18:15:26 +02:00
Johannes
26e2be43bc fix survey layout 2023-06-12 18:12:11 +02:00
Johannes
583dc7af2b remove chevron 2023-06-12 17:35:36 +02:00
Johannes
c6702cecb8 fix standalone links 2023-06-12 17:22:32 +02:00
Matthias Nannt
995de207fb update responseNotes lib to plural wording 2023-06-12 14:37:37 +02:00
Johannes
d970c121a5 fix single question 2023-06-12 13:59:37 +02:00
Johannes
369379e539 Merge branch 'main' of github.com:formbricks/formbricks into patch/add-overflow-to-survey 2023-06-12 13:57:47 +02:00
gitstart-formbricks
62e47507cd show response note by default 2023-06-12 11:54:07 +00:00
gitstart-formbricks
8c87957911 Merge commit '03e83caeb7bedbf38f1c01d404a9772a73f2187e' into FBRICKS-332 2023-06-12 11:53:59 +00:00
Johannes
51621dcaff add scroll indicator on iPhone 2023-06-12 13:50:59 +02:00
Johannes
03e83caeb7 Merge pull request #351 from Ashutosh-Bhadauriya/enhance/question-card-ui
Great work @Ashutosh-Bhadauriya - thanks! 🥳
2023-06-12 03:54:48 -05:00
AshutoshBhadauriya
f312783670 Remove logiceditor import 2023-06-12 14:23:28 +05:30
Matti Nannt
ef70e7363f Fix responsiveness issue for long questions FOR-760 (#358) 2023-06-12 09:41:05 +02:00
AshutoshBhadauriya
b3ab0ad12e Minor fixes 2023-06-10 13:54:46 +05:30
gitstart-formbricks
1e3204e063 align icons 2023-06-09 18:26:23 +00:00
gitstart-formbricks
855fd87dba Update styles 2023-06-09 16:55:41 +00:00
gitstart-formbricks
7b6b1b9edb update styles 2023-06-09 16:46:01 +00:00
gitstart-formbricks
a53e67ac7d Merge commit 'ba1a17578f91bae58a938936d120883a38ed34e3' into FBRICKS-332 2023-06-09 16:45:53 +00:00
AshutoshBhadauriya
e54d8f42fb Fix description 2023-06-09 21:34:21 +05:30
Johannes
ba1a17578f fix autoFocus in FreeText standalone (#354) 2023-06-09 17:08:32 +02:00
AshutoshBhadauriya
ac83286b27 Fix: all the changes suggested in the issue 2023-06-09 20:31:21 +05:30
Matti Nannt
1243017718 Include formbricks-api into formbricks-js (#352)
* remove debug loglevel from formbricks usage;

* remove license fields from internal packages

* improve package descriptions, add logger message for survey delay

* include formbricks api into formbricks js

* make formbricks errors package private

* update formbricks-js dependencies to include formbricks-api

* update formbricks-js to 0.1.20
2023-06-09 15:10:01 +02:00
Johannes
93c66c0caf Update Notification Email Subject (#350)
* update email noti subject

* add improvement to PR template
2023-06-09 15:02:57 +02:00
Johannes
5180fa8608 add scroll to js package 2023-06-09 14:44:46 +02:00
Johannes
92787722f0 add scroll to select 2023-06-09 14:22:01 +02:00
AshutoshBhadauriya
9d3117b9c1 Merge branch 'main' of https://github.com/Ashutosh-Bhadauriya/formbricks into enhance/question-card-ui 2023-06-09 15:07:24 +05:30
AshutoshBhadauriya
3218bbdf6a Enhancement: Revamp question card ui 2023-06-09 14:36:29 +05:30
Johannes
4bfaf68de2 Smoothen Progressbar animations and minor survey editor improvements (#339)
* auto focus on sign up

* update PR template

* add updatedAt date to survey summary

* add animation to Progress, make timer smoother

* change button size in question card, auto focus

* add transition to js widget, fix auto focus in editor

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-06-09 10:31:22 +02:00
Moritz Rengert
d2aa9b5f04 fix rating question button alignment (#341)
* fix: input in Link Survey / Preview alignment

* fix: input alignment in js package
2023-06-09 10:17:31 +02:00
Johannes
91d4b09453 Feature/template update (#343)
* improve layout and information design of templates view

---------

Co-authored-by: moritzrengert <moritz@rengert.de>
2023-06-09 10:14:02 +02:00
Moritz Rengert
fc6534fa19 feature/delay survey (#345)
* add delay option to survey trigger
2023-06-09 10:08:23 +02:00
Johannes
b7e6ef5bd6 Merge pull request #346 from formbricks/lp/add-careers
add careers page, update OSS friends
2023-06-08 15:45:19 +02:00
Johannes
f0d321b073 add careers page, update OSS friends 2023-06-08 15:41:12 +02:00
gitstart-formbricks
ab8e42f018 fix response note header 2023-06-07 22:29:30 +00:00
gitstart-formbricks
ddbcf77e59 Add a note to responses 2023-06-07 16:10:23 +00:00
Matti Nannt
944c861b18 Fix Formbricks Usage Bug leading to unidentified users (#340)
* move formbricks client to useEffect only

* add formbricks client to onboarding
2023-06-07 11:30:31 +02:00
Moritz Rengert
8a2beab5d1 Add Other Option to Multiple Choice Questions (#314)
* add other options to multiple choice question types

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
Co-authored-by: Johannes <johannes@formbricks.com>
2023-06-06 20:10:47 +02:00
Matti Nannt
d7fb29607a bugfix: mark onboarding responses as finished in formbricks (#338) 2023-06-06 15:00:32 +02:00
Matti Nannt
e2ebad0735 add current page url to formbricks-js logging (#337) 2023-06-06 09:19:18 +02:00
Matti Nannt
bd31d87046 Multiple fixes for Formbricks usage within Formbricks (#336)
* use label instead of id in onboarding analysis, add logout to formbricks usage

* add await option for all sdk commands, fix logout bug in formbricks usage
2023-06-05 17:22:52 +02:00
Matti Nannt
7040755b40 send onboarding results to formbricks (#335) 2023-06-05 11:41:47 +02:00
Matti Nannt
c4e70fbfaa update package dependencies (#333) 2023-06-01 19:16:54 +02:00
Midka
7fa2a260e8 create: api wrapper & errors package (#262)
* add @formbricks/api (api abstraction layer) and @formbricks/errors package to monorepo
* use @formbricks/api in @formbricks/js to expose an api endpoint

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-06-01 14:02:53 +02:00
Johannes
dbe7f138b6 Merge pull request #331 from formbricks/lp/reorder-friends
Reorder OSS Friends (alphabetically)
2023-06-01 13:43:07 +02:00
Johannes
35fc7b2d25 reorder friends 2023-06-01 13:36:44 +02:00
Johannes
37a0914c5a Merge pull request #323 from kof/patch-1
Added Webstudio to oss-friends.tsx
2023-06-01 10:51:43 +02:00
Moritz Rengert
8e43939206 fix: extract activeQuestionId from submit data not the expanded form (#326) 2023-06-01 08:51:32 +02:00
Matti Nannt
c4dd7ae4a2 fix security issue in link (#330) 2023-05-31 18:22:12 +02:00
Matti Nannt
0f6210c559 fix prisma commands with new json plugin (#328)
* add prisma migration, change prisma commands

* remove userAttributes from type definitions
2023-05-31 17:45:47 +02:00
Matti Nannt
965ae44344 Create SECURITY.md (#329) 2023-05-31 17:45:23 +02:00
Matti Nannt
0e94900e2c enhance prisma json types (#327) 2023-05-31 15:57:10 +02:00
Matti Nannt
99bb6932c9 update vercel migration script to fix preview deployment (#325) 2023-05-31 10:31:10 +02:00
Matti Nannt
a2e428f3c9 update readme (#324) 2023-05-31 09:55:52 +02:00
Johannes
78f7b4d03e Duplicate Questions, Add Survey Name to Summary, Update Login Screen (#322)
* Duplicate Questions, Add Survey Name to Summary, Update Login Screen

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-05-31 09:52:58 +02:00
Oleg Isonen
38f1803188 Update oss-friends.tsx
Added Webstudio
2023-05-30 21:13:16 +02:00
Johannes
66c747d1ca Merge pull request #321 from formbricks/fix/logic-in-last-question
fix/logic in last question
2023-05-30 10:53:44 +02:00
Johannes
0b24f1fe09 add "Preview" text to survey preview 2023-05-30 10:52:19 +02:00
moritzrengert
9631776552 fix: remove comments and console.log 2023-05-30 09:51:59 +02:00
moritzrengert
726b734b1a fix: update js package to make last question work with logic. fix build errors 2023-05-30 09:45:27 +02:00
moritzrengert
7ba1cc5055 fix: upade link survey to have logic working on last question 2023-05-30 09:38:59 +02:00
moritzrengert
94a10b2870 fix: thank you card not opening on skip logic, simplify check 2023-05-30 09:32:12 +02:00
moritzrengert
f71cc87b3d fix: update goToNextQuestion logic to work in last question 2023-05-30 08:50:39 +02:00
Johannes
b70b0008c1 Merge pull request #320 from formbricks/lp/add-boxy
Add BoxyHQ to OSS Friends
2023-05-29 17:44:08 +02:00
Johannes
5601f046d7 Add BoxyHQ to OSS Friends 2023-05-29 10:40:56 -05:00
Matti Nannt
a6c703620c update prisma version (#318) 2023-05-29 14:44:58 +02:00
Matti Nannt
8b56225b6e update formbricks js to 0.1.19 (#317) 2023-05-29 14:36:46 +02:00
Matti Nannt
e07a30c12d Add new client Endpoints for App-Router (WIP) (#316) 2023-05-29 14:33:02 +02:00
Moritz Rengert
92ee5529d8 Add option to auto-close (#310)
* add option to aut-close a in-app survey

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-05-29 12:47:10 +02:00
Johannes
cda8513410 Formbricks Branding Signature (#305)
* Add Formbricks Signature Branding (can be deactivated in Look & Feel Settings)

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-05-29 11:46:07 +02:00
Johannes
2912b8bd8d Merge pull request #307 from formbricks/feature/extend-link-context-menu
Extend Menu for Link Surveys
2023-05-29 11:04:04 +02:00
Matti Nannt
1db79ffa6b update package version to 0.1.18 (#315) 2023-05-28 19:14:56 +02:00
Johannes
fe4d6a8ce8 Enable users to create a new team (#299)
* Add option to create a new team

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-05-28 19:11:23 +02:00
Moritz Rengert
7238b28fb5 Add Logic Jumps (#283)
* Add the ability to add Logic Jumps to all Question Types

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-05-28 19:05:01 +02:00
Johannes
ed0135733a Merge branch 'main' of github.com:formbricks/formbricks into feature/extend-link-context-menu 2023-05-28 13:07:08 +02:00
Johannes
e7e772e155 Merge pull request #313 from DidierRLopes/patch-1
Update oss-friends.tsx w OpenBB text
2023-05-28 12:33:02 +02:00
DidierRLopes
2fbaeae9c0 Update oss-friends.tsx w OpenBB text 2023-05-27 14:30:47 -07:00
moritzrengert
37f26fa7c6 fix: show link options only on published surveys 2023-05-27 00:58:37 +02:00
Moritz Rengert
fec3741ef4 Fix Progress Bar in in-App Survey Preview 2023-05-26 12:44:54 +02:00
Matti Nannt
3618310116 update wording in PR checklist (#312) 2023-05-26 12:35:28 +02:00
Konrad Kalemba
0a1680229d Exclude updatedAt field in survey update (#297) 2023-05-26 12:14:38 +02:00
Moritz Rengert
d0f8f8d57d fix: do not create a display if the survey is in preview mode (#304) 2023-05-26 10:29:30 +02:00
Matti Nannt
e7a0821901 fix typo in PR template (#309) 2023-05-26 09:55:24 +02:00
Matti Nannt
8e98003ea2 add hanko to oss friends (#308) 2023-05-26 09:15:08 +02:00
moritzrengert
6ea6bddc5e feat: copy link to clipboard and toast success, open preview in new tab 2023-05-25 21:46:19 +02:00
Johannes
59cb636b6e Merge pull request #306 from formbricks/lp/oss-friends
add oss-friends page
2023-05-25 17:36:25 +02:00
Johannes
5469ffb8d2 add oss-friends page 2023-05-25 17:33:18 +02:00
moritzrengert
852cfacf4b feat: add preview and copy to link survey context menu 2023-05-25 09:20:56 +02:00
Matti Nannt
ba871726a5 Fix Notification emails not sending on vercel (#303) 2023-05-24 18:40:05 +02:00
Matti Nannt
33cbbd07de fix build errors and add types to dropdown menu (#302) 2023-05-24 18:09:56 +02:00
Matti Nannt
1edd69408a fix build errors on link survey (#301) 2023-05-24 17:31:34 +02:00
Johannes
b553080443 update preview UI (#300) 2023-05-24 17:14:56 +02:00
Johannes
4636ac9806 Add email notification settings (#295)
* add email notifications settings with notification options on finished responses

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-05-24 17:07:05 +02:00
Moritz Rengert
9b187a4975 Add Preview-Mode to Link-Survey (#298)
* feat: add ?=preview to preview button url

* feat: add live survey banner and restart button
2023-05-24 16:00:15 +02:00
Moritz Rengert
96344d6123 Add new Pause/Not Found screens for surveys (#285)
* Add new screens for surveys with different status (not found, paused, completed)

---------

Co-authored-by: Johannes <johannes@formbricks.com>
2023-05-23 13:35:13 +02:00
Johannes
69c05a3133 Improvements to Auth Screen based on Design Feedback (#292) 2023-05-23 09:26:10 +02:00
Konrad Kalemba
79a86050c3 fix typo in ErrorComponent (#293) 2023-05-23 09:22:04 +02:00
Thomas Kaul
d07616d4a0 Fix typo in Pricing.tsx (#294) 2023-05-23 09:21:23 +02:00
Matthias Nannt
8ce705e08c update pr template 2023-05-22 13:59:21 +02:00
Matthias Nannt
41c61cd94a add pull request template 2023-05-22 09:38:14 +02:00
Matthias Nannt
204837b844 add google oauth migration 2023-05-22 08:58:21 +02:00
Matthias Nannt
d8f4ee598d add google provider to nextauth 2023-05-19 14:28:46 +02:00
Johannes
c6aabc77b4 Revamp sign up page (#288)
* New cleaner signup/login screen
2023-05-19 12:08:24 +02:00
Johannes
b9cdf329e3 fix checkmark color on disabled 2023-05-19 10:55:10 +02:00
Moritz Rengert
953f04b42a Fix Preview on Delete in Survey Builder & Fix Button Text on light brand color (#284)
* Fix Preview on Delete in Survey Builder
* Fix Button Text on light brand color

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-05-19 08:46:46 +02:00
Johannes
41443267c9 Revamp survey settings (#287)
* improve survey settings flow

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-05-19 08:33:52 +02:00
Matthias Nannt
b76289c9d8 remove console.log, add loading state to response delete button 2023-05-16 14:31:12 +02:00
Shubhdeep Chhabra
c352c9ff5d Add ability to delete products and responses (#276)
* #263 long strings edge cases fixed

* Add ability to delete products and responses

---------

Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-05-16 14:23:14 +02:00
Matthias Nannt
eea8500501 format & update README 2023-05-16 13:28:35 +02:00
Shubhdeep Chhabra
48f53a2120 localhost urls fixed in documentation (#286) 2023-05-16 09:48:51 +02:00
Matti Nannt
26b4fd9b3e Add Attribute Filtering to Surveys (#282)
* add attribute filtering to surveys

---------

Co-authored-by: Johannes <johannes@formbricks.com>
2023-05-15 17:28:37 +02:00
Johannes
80ae43646f Update README.md 2023-05-15 01:22:43 -05:00
Johannes
14ae404b0e fix best practices 2023-05-15 07:55:19 +02:00
Johannes
a652f0df9a fix onboarding in menu 2023-05-12 14:35:56 +02:00
Johannes
b5928e71e5 Add Best Practices to Landingpage (#281)
* Update landingpage
2023-05-12 14:25:17 +02:00
Matthias Nannt
9b38f9bf9a add clean command to all packages 2023-05-12 13:13:19 +02:00
Matthias Nannt
e3f5bba755 allow survey type to be changed after publishing 2023-05-11 19:43:08 +02:00
Johannes
fbfc80dd4e ux tweaks, add skip to product in onboarding 2023-05-11 13:54:33 +02:00
Matthias Nannt
e95407ca44 revert dockerfile to fix deployment issue 2023-05-11 07:15:15 +02:00
Matthias Nannt
0617157ccf Merge branch 'main' of github.com:formbricks/formbricks 2023-05-11 06:33:56 +02:00
Midka
1fdfdb585a Add types for common response types in the API (#270)
* add: WIP stuff for structured API responses

* revert: files with modified api responses

* fix: vscode not using @lib/ import
2023-05-10 20:48:46 +02:00
Johannes
423541e5d5 Merge branch 'main' of github.com:formbricks/formbricks 2023-05-10 16:57:38 +02:00
Matthias Nannt
59930ecac5 Merge branch 'main' of github.com:formbricks/formbricks 2023-05-10 13:35:19 +02:00
Matthias Nannt
68500de8bf update js package to 0.1.17 2023-05-10 13:35:03 +02:00
Matthias Nannt
c4ba0fe5d2 update js package to 0.1.17 2023-05-10 13:32:54 +02:00
Matti Nannt
3206637e22 Add Rating Question (Numbers, Stars & Smileys) (#271)
Add new Star Rating Question Type with different ranges and variations.

---------

Co-authored-by: moritzrengert <moritz@rengert.de>
2023-05-10 13:31:49 +02:00
Matthias Nannt
106afd12c3 update context-menu buttons in question card 2023-05-10 10:22:50 +02:00
Moritz Rengert
56e500397a feature/move question cards (#278)
* add moveQuestion function to handle index changes

* add dropdown arrows to context menu, disable on first / last element and call moveQuestion function

* fix: build error StartIcon typing

* fix: endIcon type for button
2023-05-10 10:08:00 +02:00
Matthias Nannt
58e5dc6e7b fix demo throws error when environment variables not set 2023-05-10 08:58:51 +02:00
Matti Nannt
60f7103198 Revert & gradually use updated files (#280)
* revert to last working version

* add updated ui components

* update formbricks-com components

* apply prettier formatting

* update apps/web files
2023-05-10 00:20:43 +02:00
Matti Nannt
ef4e5ed17a Fix Dev Environment Errors & Docker Deployment (#279)
* fix prisma errors
* add new database build process
* fix js widget needing @prisma/client
2023-05-09 20:12:48 +02:00
Matthias Nannt
520f282384 update type imports in @formbricks/js` 2023-05-09 15:33:39 +02:00
Matthias Nannt
bc4e2379cf update package-lock 2023-05-09 13:19:29 +02:00
Matti Nannt
650b674e24 update all packages, fix typescript errors (#277)
* simplify ui package, update all packages

* fix typescript errors that occur during build
2023-05-09 13:18:07 +02:00
Johannes
bfcc62e8ff issue toast after question id upate 2023-05-08 17:07:22 +02:00
Matthias Nannt
9b42808d6d update dependencies 2023-05-08 13:52:52 +02:00
Matthias Nannt
957a5b3e8c change webhook endpoint to only accept one trigger 2023-05-05 15:50:09 +02:00
Matti Nannt
325eda064e Add Webhooks for Zapier Integration (#273)
* add simple webhooks

* add pipelines endpoint to handle internal events
2023-05-05 10:53:54 +02:00
Matthias Nannt
eecb10e255 Merge branch 'main' of github.com:formbricks/formbricks 2023-05-05 09:57:53 +02:00
Matthias Nannt
8d38031b11 fix docker build errors, simplify docker file to fix startup issue, update nextjs 2023-05-05 09:53:25 +02:00
Johannes
d2c837b54f fix "other" option, add Ids for posthog 2023-05-04 08:54:38 +02:00
Matthias Nannt
ea084c3075 update packages in apps/web 2023-05-03 22:31:51 +02:00
Matthias Nannt
bac12eb552 add posthog to onboarding 2023-05-03 22:25:59 +02:00
Matthias Nannt
035652556d Merge branch 'main' of github.com:formbricks/formbricks 2023-05-03 16:59:23 +02:00
Matthias Nannt
f0aeed763a add simple me endpoint to api 2023-05-03 16:51:07 +02:00
Johannes
b84e54c63c fix "skip" in onboarding 2023-05-03 16:20:13 +02:00
Matthias Nannt
730296055b improve error resistence in environmentNavbar, fix memberships endpoint 2023-05-03 16:09:31 +02:00
Matthias Nannt
7b1edfe654 set previous brand color in onboarding if productname not already changed 2023-05-03 15:36:30 +02:00
Matthias Nannt
fe1314634a rename onboarding flag to fix onboarding not shown 2023-05-03 15:28:20 +02:00
Matti Nannt
04f536b7c6 Add support for Next.js Server-Components (#272)
* Add new env variable NEXT_PUBLIC_WEBAPP_URL that is used server-side for the current address

* Move Next-Auth to App-Directory

* Move Membership-API & User-API to App-Directory

* Update env-examples with new structure
2023-05-03 15:17:23 +02:00
Timothy
056ddff709 #586: Add new Onboarding for new & existing users (#266)
* add new onboarding for new and existing Formbricks users
* Add new personalized template view

---------

Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-05-03 14:00:11 +02:00
Johannes
d66c417bab fix double toast 2023-05-03 13:42:40 +02:00
Johannes
12bf20fe1f fix double toast on survey creation 2023-05-03 12:12:36 +02:00
Johannes
510231296e update survey created toast + link survey modal UI 2023-05-03 11:12:49 +02:00
Matthias Nannt
0509ac0e51 fix posthog pageview not firing with next-router 2023-05-02 16:22:13 +02:00
Matthias Nannt
63ce05d35e add surveyType to posthog response tracking 2023-05-02 15:36:54 +02:00
Johannes
478d4e16f8 Feature/duplicate surveys (#268)
* add duplicate to menu

* add duplicate survey API endpoint

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-05-02 15:33:45 +02:00
Matti Nannt
a0acc945b2 update docs pages for deployment and contribution with more detailed setup instructions (#269) 2023-05-01 18:17:05 +02:00
CJ
3426232b70 Fix responsiveness on summary page (#257)
* fix responsiveness on summary page
2023-05-01 15:39:00 +02:00
Shubhdeep Chhabra
ae0bf3e90d #263 long strings edge cases fixed (#267)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-05-01 15:24:48 +02:00
Johannes
13508f42be Add Team switch (#259)
* add team switch when user has multiple teams

* fix hydration error by changing the way env variables load

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-05-01 15:11:53 +02:00
Johannes
c20ca5e789 update variable names 2023-04-29 16:25:34 +02:00
Johannes
3de164623b add templates + objective 2023-04-29 16:20:04 +02:00
Johannes
efce2c106a ux tweaks 2023-04-28 16:27:47 +02:00
Moritz Rengert
bcd4f953ee Add Rating Question Type (numbers) (#256)
Add Rating Question Type (with numbers)

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-04-28 12:05:29 +02:00
Johannes
7e9b336954 Improve UX with multiple tweaks (#258) 2023-04-27 20:11:44 +02:00
Johannes
b01d2409de add Best Practices to Docs(#255)
* add Docs Feedback to Docs
2023-04-27 09:53:20 +02:00
Matthias Nannt
8a7f8eb94c update formbricks/js 2023-04-26 14:46:15 +02:00
Johannes
ddec12740d update docs template, adjust link survey width 2023-04-26 11:05:45 +02:00
Midka
09356bbded add: error handling to SDK (#240)
* improve error handling and add new `errorHandler` to sdk init function.

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-04-25 20:24:42 +02:00
Johannes
ad17ea957d added docs feedback (#251)
* add feedback button on every docs page

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-04-25 20:08:16 +02:00
Johannes
6ec3878c77 Merge branch 'main' of github.com:formbricks/formbricks 2023-04-25 19:21:53 +02:00
Johannes
6fd11fb54c replace ID with email if available 2023-04-25 19:21:22 +02:00
Matthias Nannt
47605493e9 update next features in README 2023-04-25 17:42:14 +02:00
Matthias Nannt
5b273cc194 add error message when action with same name already exists 2023-04-25 17:04:46 +02:00
Matthias Nannt
c81bfadb66 fix width in link surveys 2023-04-25 16:48:12 +02:00
Matthias Nannt
96ac6a2a6f add delete action functionality 2023-04-25 16:26:15 +02:00
Vishwash Bajpai
97e5398adf add functionality to make events editable after creating them (#245) 2023-04-25 15:42:42 +02:00
Matthias Nannt
29064b3bde fix build errors, fix z-index in sdk 2023-04-24 21:12:11 +02:00
Matthias Nannt
7abe1d877a Merge branch 'main' of github.com:formbricks/formbricks 2023-04-24 20:14:32 +02:00
Matti Nannt
7eefdd336c Add CTA Question Type (#246)
* add CTA question type together with new Text Editor based on Lexical and CTA summary

---------

Co-authored-by: moritzrengert <moritz@rengert.de>
2023-04-24 20:13:39 +02:00
Matthias Nannt
1a9400139c fix sdk bug on initialization 2023-04-24 12:06:52 +02:00
Matthias Nannt
501ce56de6 show different placeholder in link summary empty page filler 2023-04-20 15:43:52 +02:00
Matthias Nannt
9eb3f2e605 update GDPR page 2023-04-20 15:32:13 +02:00
Matthias Nannt
1b251b8ad0 reduce information posthog can receive 2023-04-20 15:18:48 +02:00
Matthias Nannt
e7e4406e91 fix formating issues in wording in privacy policy 2023-04-20 15:08:51 +02:00
Matthias Nannt
f6ea9f6375 improve wording in survey delete dialog 2023-04-20 15:02:43 +02:00
Matthias Nannt
90eaab9c9e remove posthog client on survey frontend 2023-04-20 15:00:15 +02:00
Matthias Nannt
9a494a3f8a fix link survey pausable when sdk not initialized 2023-04-20 12:56:16 +02:00
Matthias Nannt
5e6ac0a141 fix display event name 2023-04-20 12:50:52 +02:00
Matthias Nannt
d889775c56 add display track event to posthog 2023-04-20 09:54:45 +02:00
Matthias Nannt
ce0179a2c7 add legal footer to link survey 2023-04-19 16:39:48 +02:00
Matthias Nannt
d835e78d92 remove duplicated question types, update js sdk to 0.1.11 2023-04-19 16:03:26 +02:00
Matthias Nannt
8352d05d04 fix nps summary NaN bug, fix add question not working for some question types 2023-04-19 14:55:06 +02:00
Matthias Nannt
fbc1c74046 fix migrations 2023-04-19 14:36:54 +02:00
Moritz Rengert
48bac2128e Add NPS Question Type (#243)
Add NPS Question Type
---------

Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-04-19 14:28:58 +02:00
Moritz Rengert
d15d062581 Add MultipleChoice Multi-Select Question Type (#238)
Add MultipleChoice Multi-Select Question Type

---------

Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-04-19 13:38:23 +02:00
Johannes
72c6ea6f39 Updated Landingpage (#242)
* add /demo to LP

* add best practices

* add clovyr logo to lp

* new animation, best pracitces, CTA tracking, etc.

* update animation
2023-04-18 17:52:55 +02:00
Matthias Nannt
3b5ab29669 remove snoopForms from README 2023-04-18 13:36:47 +02:00
Matthias Nannt
793aff4585 update README 2023-04-18 13:34:33 +02:00
Matthias Nannt
8734127143 update surveyList template to make room for more infos 2023-04-18 12:04:19 +02:00
Matti Nannt
d2ee0d6a9a Add Link Survey Functionality (#239)
Users can now create & send link surveys to their customers.
2023-04-18 11:40:30 +02:00
Johannes
c9f5f8cd16 Update Pricing tables 2023-04-17 13:49:50 +02:00
Johannes
392bbfd911 landing page pricing 2023-04-17 13:23:32 +02:00
Matthias Nannt
a7fd1fc754 question id can now be changed in advanced settings 2023-04-17 12:21:17 +02:00
Matthias Nannt
c118fbb0bd add contributing guide to docs, update readme with simple roadmap 2023-04-17 10:40:41 +02:00
Matthias Nannt
d6868c3d40 fix add margins for survey modal FOR-596 2023-04-17 10:01:13 +02:00
Matthias Nannt
8ef8c93f3d fix response questions in wrong order FOR-558 2023-04-17 09:49:10 +02:00
Matthias Nannt
324a150a90 fix typo in module import 2023-04-16 15:39:56 +02:00
Matthias Nannt
1ec4dcb02d build free limit into formbricks cloud 2023-04-16 13:47:51 +02:00
Johannes
d470b6576f "events" -> "actions" 2023-04-14 20:54:57 +02:00
Matthias Nannt
3778ed80d4 add formbricks client to app 2023-04-14 17:51:28 +02:00
Matthias Nannt
87ee687d51 release formbricks-js version 0.1.10 2023-04-14 17:01:03 +02:00
Matthias Nannt
a917668b3a Merge branch 'main' of github.com:formbricks/formbricks 2023-04-14 16:56:14 +02:00
Matthias Nannt
e6d091d35e fix widget styling, add z-index, remove env to fix vercel error 2023-04-14 16:56:07 +02:00
Johannes
7ee8cb98e1 Merge branch 'main' of github.com:formbricks/formbricks 2023-04-14 16:11:19 +02:00
Johannes
3a2c697736 fix people list, display email instead of ID 2023-04-14 16:11:07 +02:00
Matthias Nannt
b28fad2ffa fix edit product name not showing in navbar 2023-04-14 16:08:40 +02:00
Matthias Nannt
6024cad566 fix "edit brand color" not showing FOR-581 2023-04-14 16:04:38 +02:00
Matthias Nannt
9e1a17a3ef fix build errors in formbricks-com 2023-04-14 15:53:00 +02:00
Matthias Nannt
da998d9820 fix logout not working FOR-562 2023-04-14 14:48:56 +02:00
Matthias Nannt
1bcdcee799 fix client error when survey builder contains no questions FOR-564 2023-04-14 14:26:36 +02:00
Matthias Nannt
1c58b0c95c update web dependencies 2023-04-14 14:22:12 +02:00
Matthias Nannt
0bbb9ad3d7 fix warnings on events overview 2023-04-14 14:00:14 +02:00
Matthias Nannt
5163f36e53 format files according to prettier config 2023-04-14 12:52:13 +02:00
Matthias Nannt
529bf4611c add z-index to js modal 2023-04-14 12:49:34 +02:00
Ramsay Sewell
29cf117fda #230: add required attr to multiple choice inputs (#232)
* add required attr to multiple choice inputs

* add required field to multiple choice preview components

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-04-14 09:29:48 +02:00
Johannes
50435413c3 github sponsorship + blog 2023-04-13 18:04:13 +02:00
Matthias Nannt
e614e4bd00 fix invite email in serveless functions 2023-04-13 12:47:58 +02:00
Johannes
3c31e5fe84 SEO listicle, all blog links in new tab 2023-04-12 23:48:03 +02:00
Midka
6cce82d9bf Update issue templates (#1) (#233) 2023-04-12 21:28:03 +02:00
Johannes
1bb5fcfcb2 update SEO descriptions 2023-04-12 15:27:17 +02:00
Johannes
4ddb09cd39 Merge branch 'main' of github.com:formbricks/formbricks 2023-04-12 14:34:23 +02:00
Johannes
0a6a12cacb SEO Health + descriptions 2023-04-12 14:34:19 +02:00
Matthias Nannt
76a4d49c2d update package json of js widget 2023-04-12 13:21:28 +02:00
Matthias Nannt
08229c1761 update JS Readme, release js 0.1.7, fix quickstart instructions 2023-04-12 13:08:27 +02:00
Moritz Rengert
a0baa25864 Feature Thank You Card (#222)
add thankyou card to surveys.

---------

Co-authored-by: Johannes <johannes@formbricks.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-04-12 12:35:04 +02:00
Johannes
bc771bc188 Merge branch 'main' of github.com:formbricks/formbricks 2023-04-12 12:15:28 +02:00
Johannes
957a7b4b69 update price and docs 2023-04-12 12:15:13 +02:00
Johannes
64afd6ed00 Fixes radio to overwrite waiting time (#225)
* Fixes radio to overwrite waiting time

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-04-12 11:04:35 +02:00
Matthias Nannt
4f7fb96e3f add description to posthog attribute import 2023-04-11 17:58:12 +02:00
Matthias Nannt
065c0d352c only import attributes for existing users with posthog 2023-04-11 17:46:11 +02:00
Matthias Nannt
418bd956eb log users in posthog endpoint 2023-04-11 14:04:45 +02:00
Matthias Nannt
c510da3879 update posthog eventnames in export integration 2023-04-11 13:33:03 +02:00
Matthias Nannt
68cd7a9a81 add loading spinner to logout process 2023-04-11 10:52:16 +02:00
Johannes
357628b0d6 Feature create new products (#220)
* feat: add modal to add new product to current team

* feat: add create product endpoint and helper function

* feat: display available products in dropdown and include environmentId in request

* new icon

---------

Co-authored-by: moritzrengert <moritz@rengert.de>
2023-04-11 10:42:33 +02:00
Matthias Nannt
edc149417a update payment link for cloud 2023-04-11 10:19:04 +02:00
Johannes
028d1631bd remove console logs, tweak auth UI (#224) 2023-04-11 09:51:00 +02:00
Matthias Nannt
b62eaa7bb2 fix docker compose file 2023-04-10 09:24:28 +02:00
Matthias Nannt
a934fa3897 add stripe payment to cloud 2023-04-08 16:53:42 +02:00
Matthias Nannt
01a637d0f6 update information about cloud offering in Readme 2023-04-08 08:08:33 +02:00
Matthias Nannt
0560526b53 fix response summary / list not working without personId 2023-04-07 16:39:46 +02:00
Matthias Nannt
d12bb98f8c update html js link in docs and setup instructions 2023-04-06 17:32:18 +02:00
Matthias Nannt
1cb1687958 publish js widget v0.1.6 2023-04-06 17:29:20 +02:00
Moritz Rengert
fb404a8452 Add innerHtml and cssSelector No-Code Event Creation (#219)
* feat: make cssSelector and innerHtml available as noCode Events
2023-04-06 17:12:04 +02:00
Matthias Nannt
6e761b0a91 add migration 2023-04-06 14:51:23 +02:00
Matthias Nannt
5111efdfdf make personId optional in response 2023-04-06 14:47:53 +02:00
Johannes
764e16a1d8 update posthog auth 2023-04-05 17:49:59 +02:00
Johannes
3bbc4b7742 Merge branch 'api-keys' 2023-04-05 17:40:52 +02:00
Johannes
76276a7938 change auth of API 2023-04-05 17:37:07 +02:00
Matthias Nannt
8436e3d826 update github action release 2023-04-05 13:44:58 +02:00
Matthias Nannt
4e18b3f4e0 update checks github action 2023-04-05 13:43:24 +02:00
Matthias Nannt
3f4e53c5e3 update pnpm version in package.json 2023-04-05 13:39:21 +02:00
Matthias Nannt
55cf24a1c8 update github action 2023-04-05 13:35:24 +02:00
Matti Nannt
46e6a32a3a Add Posthog sync endpoints (#217)
* Add new API endpoints to sync events and persons with Posthog
2023-04-05 13:20:55 +02:00
Matthias Nannt
7802e1fbca update js dependencies 2023-04-05 13:08:49 +02:00
Matthias Nannt
a328e7902e update packages 2023-04-05 11:41:47 +02:00
Johannes
072a5947cf UI tweaks (#216)
* preview hint, warnings, survey status indicator

* add event in survey builder, add surveystatusdropdown

* update wording, add survey status toasts, update LP

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-04-05 11:28:46 +02:00
Matthias Nannt
5b1c4f7208 fix widget error not showing widget twice, fix bug in get client settings, update demo with feedback button 2023-04-04 15:39:55 +02:00
Matthias Nannt
070d69f094 small bugfixes, add simple posthog out endpoint 2023-04-04 15:10:08 +02:00
Matthias Nannt
1d39373117 add posthog app 2023-04-04 09:27:04 +02:00
Matthias Nannt
06233dd1bd update github linting action 2023-04-03 16:16:57 +02:00
Matthias Nannt
ca981ff7c2 remove console.log from posthog-app 2023-04-03 15:38:51 +02:00
Matthias Nannt
d11456b9b0 add posthog-siteapp, update widget logging 2023-04-03 15:25:19 +02:00
Matthias Nannt
54a6061748 fix build errors 2023-04-03 14:00:37 +02:00
Matthias Nannt
951b4e8d99 fix pricing desc in billing, add plan to user session, add permissions check to Invite API 2023-04-03 12:38:07 +02:00
Matthias Nannt
2d8fbbabfb Merge branch 'main' of github.com:formbricks/formbricks 2023-04-03 12:08:11 +02:00
Johannes
fdacc73c0c fix responsiveness logos 2023-04-03 12:08:01 +02:00
Matthias Nannt
ebc53e4bc8 bugfix widget init error, fix widget dark mode colors 2023-04-03 12:07:14 +02:00
Johannes
3780225a42 add social proof 2023-04-03 11:45:56 +02:00
Johannes
6d768913e3 add default light mode to app 2023-04-03 09:28:46 +02:00
Johannes
295b300654 update hero piece 2023-04-01 14:40:13 +02:00
Johannes
71f29406d8 add pricing to lp 2023-04-01 14:18:23 +02:00
Matthias Nannt
afb985b233 Merge branch 'main' of github.com:formbricks/formbricks 2023-03-31 18:02:01 +02:00
Matthias Nannt
d2f8c1ebd8 make personId optional in capture api call 2023-03-31 18:01:51 +02:00
Matthias Nannt
48e2026ef0 fix font in widget not showing in darkmode 2023-03-31 17:38:00 +02:00
Johannes
db4c50d834 broken teams link 2023-03-31 17:37:02 +02:00
Matthias Nannt
ce977aa927 Merge branch 'main' of github.com:formbricks/formbricks 2023-03-31 17:23:47 +02:00
Matthias Nannt
1051c9f779 update javascript snippet in setup instructions and docs 2023-03-31 17:23:38 +02:00
Matthias Nannt
26a4e2f710 fix widget window not found error 2023-03-31 16:56:03 +02:00
Johannes
afa055f004 fix typo 2023-03-31 16:43:11 +02:00
Johannes
5968d764ca fix /demo 404, update docs 2023-03-31 12:02:11 +02:00
Matthias Nannt
40fb28f5e1 switch telemetry identifier to random id on startup 2023-03-30 23:00:02 +02:00
Matthias Nannt
a8377c9b24 add Dockerfile, fixes in README 2023-03-30 22:21:00 +02:00
Johannes
fbcc9d5628 Update Docs, add Walkthrough Video to App & LP (#212)
* update LP with walk through

* update docs with attributes and events

* update team UI + form validation

* add walk through to app

* small fixes

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-03-30 17:24:04 +02:00
Matthias Nannt
a01b01d065 allow github profile images in next image 2023-03-30 13:51:43 +02:00
Matthias Nannt
b73939d9d0 fix home page not working with invalid session 2023-03-30 13:44:13 +02:00
Matthias Nannt
e2d76a6ba3 add legacy endpoint 2023-03-30 13:20:33 +02:00
Matthias Nannt
22d4120a2d update tailwind config to include @formbricks/ui 2023-03-30 12:02:17 +02:00
Matthias Nannt
3dcdc3a45b fix build error on vercel, fix types in invite api 2023-03-30 10:59:48 +02:00
Matthias Nannt
6e0cb443b6 fix github actions error in new packages 2023-03-30 10:15:30 +02:00
Matthias Nannt
1237749464 fix website github icon color 2023-03-29 23:55:13 +02:00
Matthias Nannt
d5ff4710d2 add docs redirect to first page 2023-03-29 23:52:32 +02:00
Matthias Nannt
c80154bb7d update cta on website 2023-03-29 23:50:10 +02:00
Matti Nannt
27d63c01e1 Introducing the new Formbricks (#210)
### New Formbricks Release: Complete Rewrite, New Features & Enhanced UI 🚀

We're thrilled to announce the release of the new Formbricks, a complete overhaul of our codebase, packed with powerful features and an improved user experience.

#### What's New:

1. **Survey Builder**: Design and customize your in-product micro-surveys with our intuitive survey builder.
2. **Trigger Micro-Surveys**: Set up micro-surveys to appear at specific points within your app, allowing you to gather feedback when it matters most.
3. **JavaScript SDK**: Our new JavaScript SDK makes integration a breeze - just embed it once and you're ready to go.
4. **No-Code Events**: Set up events and triggers without writing a single line of code, making it accessible for everyone on your team.
5. **Revamped UI**: Enjoy an entirely new user interface that enhances usability and provides a smooth, delightful experience.

This release marks a major step forward for Formbricks, enabling you to better understand your users and build an outstanding product experience.

Please update your Formbricks integration to take advantage of these exciting new features, and let us know in the Discord if you have any questions or feedback!

Happy surveying! 🎉
2023-03-29 23:34:29 +02:00
Matthias Nannt
bf45973ccf fix typo in blog 2023-03-25 16:21:36 +01:00
Matti Nannt
84d209fe4c Weekly update (#209)
* add new blog post
* remove old weeklys

---------

Co-authored-by: Johannes <johannes@formbricks.com>
2023-03-25 16:02:38 +01:00
knugget
462fa0c871 weekly-100323 🚢 2023-03-10 13:31:31 +01:00
knugget
ca35d4c734 change wording in email 2023-03-10 10:19:03 +01:00
knugget
ef13db666d fix label on Add API Modal 2023-03-06 09:24:12 +01:00
knugget
04e3d647d5 Merge branch 'main' of https://github.com/formbricks/formbricks into main 2023-03-03 16:21:37 +01:00
knugget
778d25c164 typo 2023-03-03 16:21:34 +01:00
Matthias Nannt
a47b20da2d fix feedback modal tab bug 2023-03-03 16:15:51 +01:00
knugget
f1c5fee91b update teaser 2023-03-03 14:58:48 +01:00
knugget
b584d3f9e4 weekly 030323 2023-03-03 14:19:18 +01:00
Matti Nannt
c13547af1a Cleanup 2023-03-03 13:57:44 +01:00
Matthias Nannt
4922c29fd2 fix filter navigation build error 2023-02-25 11:15:40 +01:00
Matthias Nannt
349868be40 Merge branch 'main' of github.com:formbricks/formbricks 2023-02-25 11:13:52 +01:00
Matthias Nannt
94487cf524 persist filters when tags are added/removed 2023-02-25 11:11:37 +01:00
knugget
a0271057ad Merge branch 'main' of https://github.com/formbricks/formbricks into main 2023-02-24 17:25:40 +01:00
knugget
ba5d7bffbe weekly-240223 2023-02-24 17:25:37 +01:00
Matthias Nannt
a62f5a7cbd fix build errors 2023-02-24 11:27:30 +01:00
Matthias Nannt
ce172c3b9e update packages to latest version 2023-02-24 08:52:22 +01:00
Johannes
318f14c4b2 Add tags (#208)
* add tag functionality to responses

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-02-23 19:26:24 +01:00
knugget
6cebf594b8 remove comment 2023-02-22 11:16:01 +01:00
knugget
f6f0d53435 relative time 2023-02-22 11:15:23 +01:00
Matthias Nannt
f1a2a6aadc add more pipelines to demo, pull demo data using function instead of object to be able to implement logic 2023-02-21 15:44:22 +01:00
Matthias Nannt
ea074425ef update custom survey docs 2023-02-21 14:43:15 +01:00
Matthias Nannt
b3007249df fix delete customer on demo page 2023-02-21 14:14:21 +01:00
Johannes
97dcccd6fc add deleteCustomer, fix view link in customer overview (#206)
* add deleteCustomer functionality

* add migration for cascade delete

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-02-21 14:07:02 +01:00
Sandra Dylus
54196faf46 Use auto-enumeration in README (#207)
Indent code blocks and texts in enumeration appropriately to make auto-enumeration work.
Use auto-enumeration (aka 1. for every enum item) to be more robust with respect to changes.
2023-02-21 13:00:02 +01:00
knugget
c56388c54b update custom survey docs 2023-02-21 12:36:54 +01:00
knugget
0ba85592ee custom survey docs 2023-02-21 12:27:23 +01:00
knugget
63f165c11f update submission counter, replace "results" 2023-02-21 12:04:19 +01:00
knugget
59e16f2550 update PMF setup manual 2023-02-21 11:46:29 +01:00
knugget
cbef066730 add loading spinner to auth buttons 2023-02-21 11:31:50 +01:00
knugget
44ac65f076 fix typo in PMF widget styling 2023-02-20 15:17:11 +01:00
knugget
43ddd8fd35 typo onboarding survey 2023-02-20 09:59:20 +01:00
Matthias Nannt
e57316f4c8 update weekly update 2023-02-17 23:35:56 +01:00
Matthias Nannt
04e259b07f fix typo in weekly update 2023-02-17 19:08:15 +01:00
Matthias Nannt
2408ba4588 update posthog user attributes 2023-02-17 19:04:59 +01:00
Matthias Nannt
564753af77 update posthog tracking to identify users by id 2023-02-17 18:46:03 +01:00
Matthias Nannt
88ad834ef9 fix build issues 2023-02-17 18:36:42 +01:00
Matthias Nannt
36933ad68a Merge branch 'main' of github.com:formbricks/formbricks 2023-02-17 18:29:51 +01:00
Matthias Nannt
25549f4064 update posthog tracking method 2023-02-17 18:29:40 +01:00
knugget
60a1407e0f weekly-170223 2023-02-17 17:49:29 +01:00
knugget
2449c66c22 typo and removed filter on superhuman page 2023-02-17 17:33:30 +01:00
knugget
4f9f7dbf39 add scrolling to submission overview table 2023-02-16 15:11:46 +01:00
knugget
d93a58ba18 fix responsive 2023-02-16 09:50:18 +01:00
Matthias Nannt
485d7cd47d update wording 2023-02-15 22:30:22 +01:00
Matthias Nannt
21c79c9efb update Pmf Superhuman view 2023-02-15 21:26:54 +01:00
knugget
81da4ea5c8 AI Summaries + first Step Superhuman 2023-02-15 17:27:45 +01:00
knugget
ea15e662bf Merge branch 'main' of https://github.com/formbricks/formbricks into main 2023-02-15 16:40:18 +01:00
knugget
84ed5e7f35 superhuman report 2023-02-15 16:40:15 +01:00
Matthias Nannt
7d1e73dfa8 edit main benefits in demo data 2023-02-15 16:34:02 +01:00
Matthias Nannt
ad46f14235 add more demo submissions and sample sentences 2023-02-15 15:19:28 +01:00
Matthias Nannt
04c6462f41 fix build errors 2023-02-15 13:17:40 +01:00
knugget
f01b7f688c Merge branch 'main' of https://github.com/formbricks/formbricks into main 2023-02-15 12:39:49 +01:00
knugget
d310ff7f80 update customer view, responses link to user 2023-02-15 12:39:46 +01:00
Matthias Nannt
2b64ab7139 bugfix filter navigation in superhuman dashboard 2023-02-15 12:15:28 +01:00
Matthias Nannt
4f5e023c52 Merge branch 'main' of github.com:formbricks/formbricks 2023-02-15 12:09:04 +01:00
Matthias Nannt
b3f060c77e fix filter navigation bug, fix to prevent archived show in SubmissionCounter 2023-02-15 12:09:00 +01:00
knugget
10df0a811d update email template 2023-02-15 11:00:49 +01:00
Matthias Nannt
8e887f5714 Merge branch 'main' of github.com:formbricks/formbricks 2023-02-14 14:54:22 +01:00
Matthias Nannt
98a1e8ac08 update github issue templates 2023-02-14 14:54:18 +01:00
Johannes
5c25980d82 Email templates (#203)
* add basic html template

* update email content

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-02-14 14:47:15 +01:00
Matti Nannt
5dc5f968d1 Update custom form layout (#204)
* add new layout for custom survey view

* make filterNavigation work without schema
2023-02-14 14:30:34 +01:00
knugget
0d82a21b8f Merge branch 'main' of https://github.com/formbricks/formbricks into main 2023-02-14 11:21:03 +01:00
knugget
9bc8148fd5 add scrollbar to submission overview 2023-02-14 11:19:25 +01:00
Midka
eb931720a8 add: support for custom error handling (#201)
* add: devcontaier (codespaces)

* add: custom errors & other stuff lmao

* fixes #199
2023-02-14 11:17:46 +01:00
Johannes
8f24f21b87 Prevent smartphone view + responsiveness settings for dashboards (#202)
* responsiveness PMF & FB dashboards

* prevent smartphone view

---------

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2023-02-14 11:14:34 +01:00
Matthias Nannt
afdc4f1ee9 update pmf survey dashboard with quick optimizations 2023-02-14 10:53:57 +01:00
Matthias Nannt
8a02ebc9db fix build error 2023-02-13 15:25:08 +01:00
Matthias Nannt
efdd2bd257 fix filter navigation by removing duplicates 2023-02-13 15:22:21 +01:00
Matthias Nannt
8e277e030a update posthog events to also submit form type 2023-02-13 15:13:08 +01:00
Matthias Nannt
52d5bb7c44 Merge branch 'main' of github.com:formbricks/formbricks 2023-02-13 14:52:18 +01:00
Matthias Nannt
261e3a59c9 add pins to filter navigation 2023-02-13 14:52:14 +01:00
knugget
709591ec33 pmf page btn tracking 2023-02-13 14:49:04 +01:00
Matthias Nannt
35da57d06d Merge branch 'main' of github.com:formbricks/formbricks 2023-02-13 14:01:48 +01:00
Matthias Nannt
1884655c85 rename pmf demo to product market fit demo 2023-02-13 14:01:32 +01:00
knugget
14a8ea9b2c Merge branch 'main' of https://github.com/formbricks/formbricks into main 2023-02-13 12:20:39 +01:00
knugget
6779cac4c4 update quick manual 2023-02-13 12:18:01 +01:00
Matthias Nannt
7e2b76216c Merge branch 'main' of github.com:formbricks/formbricks 2023-02-13 12:09:53 +01:00
Matthias Nannt
c2a272a072 update docs 2023-02-13 12:09:39 +01:00
Matthias Nannt
1f143dab22 fix pmf widget colors, add error alert 2023-02-13 11:57:09 +01:00
Matthias Nannt
35df900d70 update feedback docs 2023-02-13 11:48:38 +01:00
knugget
8ae1353114 404 page formbricks.com 2023-02-13 11:43:05 +01:00
Matthias Nannt
b43fbba9aa merge 2023-02-13 11:40:42 +01:00
Matthias Nannt
dc984ac7ba fix feedback widget render & alert on error 2023-02-13 11:39:38 +01:00
knugget
508508869a forward /demo to PMF Demo 2023-02-13 11:35:13 +01:00
knugget
db55f29231 updated feedback box docs, pmf page, typos in blog 2023-02-13 11:13:02 +01:00
Matthias Nannt
113a573573 update feedback widget package information 2023-02-13 09:58:01 +01:00
Matthias Nannt
fb82e92471 formbricks-app: change divId to containerId in feedback widget embeds 2023-02-12 19:03:46 +01:00
Matthias Nannt
ddc33d309b change divId to containerId in feedback widget embeds 2023-02-12 18:49:54 +01:00
Matthias Nannt
10b92b368c add new weekly report 2023-02-12 18:16:50 +01:00
Matthias Nannt
ff067d63f1 Merge branch 'main' of github.com:formbricks/formbricks 2023-02-10 15:29:43 +01:00
Matti Nannt
5ee5af3e8b Docs revamp (#197)
* add new docs for user research approach

---------

Co-authored-by: knugget <johannes@knugget.de>
2023-02-10 15:29:21 +01:00
Matthias Nannt
b4753c34b4 feedback-widget: rename divId -> containerId, add closeOnOutsideClick config option 2023-02-10 11:35:34 +01:00
Matthias Nannt
7c7119380f remove console log from onboarding survey 2023-02-10 10:46:14 +01:00
Matthias Nannt
6b473b7a4b update target in pmf page 2023-02-09 17:04:46 +01:00
Matthias Nannt
c83beffeae fix feedback-button interfering with forms 2023-02-09 16:57:23 +01:00
knugget
cec677eaae revamped instructions 2023-02-09 15:53:25 +01:00
knugget
3701487534 updating instructions 2023-02-09 13:16:55 +01:00
Matthias Nannt
187bf3ca49 remove session from formbricks-app feedback button 2023-02-09 12:08:43 +01:00
Matthias Nannt
a94a35c89d update feedback button to solve build issues 2023-02-09 12:00:51 +01:00
Matthias Nannt
3d3ced5f4b Merge branch 'main' of github.com:formbricks/formbricks 2023-02-09 11:54:45 +01:00
Matthias Nannt
97a20c4f7f update feedback button to solve build issues 2023-02-09 11:54:29 +01:00
knugget
d8f40a44fa Merge branch 'main' of https://github.com/formbricks/formbricks into main 2023-02-09 11:44:10 +01:00
knugget
afe94f9266 fix pmf page layout 2023-02-09 11:44:04 +01:00
Matthias Nannt
d7547fb594 update robots.txt 2023-02-09 11:41:33 +01:00
Matthias Nannt
b8f272ceb9 Merge branch 'main' of github.com:formbricks/formbricks 2023-02-09 11:37:24 +01:00
knugget
16c9e5beb3 old docs forwards 2023-02-09 11:36:24 +01:00
knugget
5d00e87d1e replace "Superhuman" with PMF 2023-02-09 11:27:44 +01:00
knugget
6d7d77087c open CTA in new tab 2023-02-09 11:21:18 +01:00
Matthias Nannt
838ac1d6b7 update engine-react version to 0.1.1 2023-02-09 11:20:52 +01:00
knugget
bfca2b7385 Merge branch 'main' of https://github.com/formbricks/formbricks into main 2023-02-09 11:17:16 +01:00
Matthias Nannt
797a8e69bb update package-lock 2023-02-09 11:10:08 +01:00
Matthias Nannt
a67312fa97 Merge branch 'main' of github.com:formbricks/formbricks 2023-02-09 11:07:39 +01:00
Matthias Nannt
28245cf604 update feedback button 2023-02-09 11:07:10 +01:00
knugget
fa04bae030 Merge branch 'pmf-page' into main 2023-02-09 10:56:11 +01:00
knugget
ad703df3b6 pmf page v1 2023-02-09 10:53:03 +01:00
Matti Nannt
9f2487cabf Add a PMF demo dashboard at /demo (#195)
* add pmf demo page with sample submissions

* add customer demo view
2023-02-08 19:29:30 +01:00
Matthias Nannt
ad8d906429 add label to integration survey elements 2023-02-08 15:46:29 +01:00
Matthias Nannt
0af31fdc9d send schema along with onboarding survey 2023-02-08 15:43:09 +01:00
Matthias Nannt
5f58c50865 add finished flag to onboarding survey submission 2023-02-08 14:19:38 +01:00
Matthias Nannt
24c350829c fix layout to allow page layout to be full width 2023-02-08 14:14:42 +01:00
Matthias Nannt
3af58e80d2 update <a> with <Link> 2023-02-08 14:11:58 +01:00
Matthias Nannt
9c4b2e99ae formbricks-app: use feedback widget from packages 2023-02-08 14:02:12 +01:00
Matti Nannt
edacd3507a Integration survey (#194)
* add integrations tab with surveys

* add new horizontal navbar

---------

Co-authored-by: knugget <johannes@knugget.de>
2023-02-08 13:55:02 +01:00
Matthias Nannt
29db5394f7 fix filterNavigation warning, add database_urls to db:migrate:vercel in turbo.json 2023-02-08 13:11:21 +01:00
Matthias Nannt
f8759aa2f2 update lock file 2023-02-08 12:46:28 +01:00
Matthias Nannt
31d751b89c Merge branch 'main' of github.com:formbricks/formbricks 2023-02-08 12:05:31 +01:00
Matthias Nannt
51c80cb9d5 fix reply-to header in email 2023-02-08 12:04:45 +01:00
knugget
efb52bdab4 Merge branch 'main' of https://github.com/formbricks/formbricks into main 2023-02-08 11:54:42 +01:00
knugget
00ba12a511 fix logo on FF 2023-02-08 11:54:32 +01:00
Matthias Nannt
623d54d6e5 fix submission capture typo, fix feedback demo 2023-02-08 11:48:50 +01:00
Matthias Nannt
264c931624 clean up & fix build issues 2023-02-08 11:20:08 +01:00
Matti Nannt
6bfc46042b Add Onboarding Survey after User-Signup (#193)
* add onboarding survey after user signup

* add user flag finishedOnboarding to database and session

* fix submission capture endpoint to allow customer property update

---------

Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
Co-authored-by: knugget <johannes@knugget.de>
2023-02-08 11:12:12 +01:00
Matthias Nannt
1fec6e34a9 add superhuman view to pmf survey 2023-02-07 09:25:57 +01:00
Matthias Nannt
750f05420a Fix FilterNavigation to work with Checkboxes 2023-02-06 16:11:35 +01:00
Matthias Nannt
1d2834fabc update pnpm lockfile 2023-02-06 15:43:49 +01:00
Matthias Nannt
92b750c87e show percentage in pie chart instead of total number, add total number of submissions to pmf overview 2023-02-06 15:42:23 +01:00
Matthias Nannt
c898af0390 outsource form-engine in own package 2023-02-06 14:53:48 +01:00
Matthias Nannt
a9b9f022b5 refactor demos to include a demo-overview, change demos to use env variables, fix react lib to work with new schema 2023-02-06 10:46:42 +01:00
Matthias Nannt
b833e21b10 use only organisationId for posthog tracking 2023-02-06 09:47:53 +01:00
Matthias Nannt
1758bef978 make ee package privat to fix deployment pipeline issues 2023-02-05 21:44:46 +01:00
Matthias Nannt
6f5e43f0e5 add confetti to waitlist survey 2023-02-05 21:37:05 +01:00
Matthias Nannt
5b9a829f3f Merge branch 'main' of github.com:formbricks/formbricks 2023-02-04 11:40:18 +01:00
Matthias Nannt
ee7b74cd5d fix survey fields are saved only in customer 2023-02-04 11:39:58 +01:00
knugget
bc06197126 update blog 2023-02-03 17:54:36 +01:00
knugget
60166c1292 Merge branch 'main' of https://github.com/formbricks/formbricks into main 2023-02-03 17:45:38 +01:00
knugget
bc663bd104 weekly 3rd of Feb 2023-02-03 17:45:35 +01:00
Matthias Nannt
892bb9d65a bugfix build errors 2023-02-03 17:14:52 +01:00
Matthias Nannt
e63d57667c add api functionality to add fields to customer with submission update, update waitlist to create customer once he submits email field 2023-02-03 17:06:48 +01:00
Matthias Nannt
a809110b13 add db:migrate:vercel to turbo json 2023-02-03 15:32:23 +01:00
Matthias Nannt
524f35aba1 update database packages and prisma version, add db:migrate:vercel command to use MIGRATE_DATABASE_URL 2023-02-03 15:29:00 +01:00
Matthias Nannt
6c7b1a9540 update pmf widget version number 2023-02-03 14:13:27 +01:00
Matti Nannt
a2cbf87a20 Add Payment to Formbricks Cloud (#192)
* add enterprise license, add ee package

* migrate database from workspaces to organisations

* add payment api endpoints and billing pages

* add stripe env variables to .env.example
2023-02-03 11:42:40 +01:00
Johannes
97a0accca0 session type 2023-01-31 16:11:54 +00:00
Johannes
55a6d57921 update wording survey 2023-01-31 16:00:36 +00:00
Matthias Nannt
79f420e45d update demo & web dependencies 2023-01-31 09:56:48 +01:00
Matthias Nannt
26f5d39baf formbricks-com make waitlist submission synchronous again, add warmup request 2023-01-30 16:34:28 +01:00
Matthias Nannt
53749d191b update telemetry endpoint 2023-01-30 15:05:23 +01:00
Matthias Nannt
d2b10d6502 update tslint config with noUnusedLocals and clean up code accordingly 2023-01-30 14:40:12 +01:00
knugget
94f0cf490f PMFPage 2023-01-30 14:07:29 +01:00
Matthias Nannt
bfe4ad0f87 app: underline privacy policy and terms link in signup 2023-01-30 14:04:00 +01:00
Matthias Nannt
2e6c7eabdc update privacy policy with new cloud url 2023-01-30 13:53:49 +01:00
Matthias Nannt
067022e69c FOR-201 fix hqUrl in feedback and pmf widget to work with trailing slash 2023-01-30 13:42:59 +01:00
Matthias Nannt
b8fd9ee624 add target to ui button link 2023-01-30 13:34:14 +01:00
Matthias Nannt
1392bc9ad2 updated feedback widget version in formbricks-com & formbricks-app 2023-01-30 12:21:51 +01:00
Matthias Nannt
86be8d7c4b fix pnpm lock, move formbricks feedback widget to app.formbricks.com 2023-01-30 12:14:34 +01:00
Matthias Nannt
6c85188d4d pmf widget: add focus trap, make radio buttons accesible via keyboard 2023-01-30 11:58:46 +01:00
knugget
825a6e8c39 update imports 2023-01-30 11:23:47 +01:00
knugget
7f9111472e pmf page pt 1 2023-01-30 11:23:47 +01:00
Matthias Nannt
58e643bac5 update css classes in pmf widget to avoid conflicts with feedback widget 2023-01-30 10:10:50 +01:00
knugget
f06b9b1de9 fix deploy 2023-01-27 21:44:43 +01:00
knugget
3446814efe redeploy 2023-01-27 21:01:55 +01:00
Johannes
9a7bf766db weekly-270123 (#190) 2023-01-27 20:27:04 +01:00
Matthias Nannt
4e1386978c fix customer view in formbricks app, rename pmf overview 2023-01-27 17:16:42 +01:00
Matthias Nannt
0d832b65b3 add warmup call to pmfwidget; 2023-01-27 14:59:10 +01:00
Matthias Nannt
50a9c2bc8a update pmf widget to 0.0.6 2023-01-27 12:17:37 +01:00
Matthias Nannt
c99b4a8754 pmf widget change window.formbricks to window.formbricksPmf 2023-01-27 12:12:59 +01:00
Matthias Nannt
2c111bdcb2 merged change 2023-01-27 11:33:07 +01:00
Matthias Nannt
ea0383dc2b update pmf widget version 2023-01-27 11:32:12 +01:00
knugget
bfa24987cc Merge branch 'main' of https://github.com/formbricks/formbricks into main 2023-01-27 11:31:58 +01:00
knugget
d8d6480876 update PMF Widget, delete old LP subpages 2023-01-27 11:31:43 +01:00
Matthias Nannt
26f200e4c4 add onFinished method to pmf widget 2023-01-27 11:31:06 +01:00
knugget
6cbd58bc2d update feedback button, snappy waitlist 2023-01-26 14:23:26 +01:00
knugget
bbe573ec6f responsivenes scale 2023-01-26 13:18:56 +01:00
Matthias Nannt
28b004e2fe formbricks-com async waitlist form submissions 2023-01-26 11:47:39 +01:00
Matthias Nannt
0ca3a6f876 fix github sso 404 error 2023-01-26 11:12:10 +01:00
Matti Nannt
0e2e57a837 Add PMF dashboard to Formbricks App (#189)
* add PMF results dashboard
* add PMF Segmentation View
* add PMF setup instructions
* Built new Filter Navigation that is also used in Feedback

Co-authored-by: knugget <johannes@knugget.de>
2023-01-25 20:50:54 +01:00
knugget
090ac903e8 fix slider button blocking UI 2023-01-25 13:51:50 +01:00
knugget
c444d500a4 Merge branch 'main' of https://github.com/formbricks/formbricks into main 2023-01-25 12:10:35 +01:00
knugget
a3ef84ba30 PMF Widget UI tweaking 2023-01-25 12:09:37 +01:00
Matthias Nannt
4b49dfa6a4 pmf widget: reset-method, add finished flag, make textareas required 2023-01-25 10:26:46 +01:00
Matti Nannt
70346cf1f6 Add pmf frontend widget (#188)
* add pmf widget code

* update widget, add pmf demo page
2023-01-24 16:58:08 +01:00
knugget
e64df610d9 Merge branch 'main' of https://github.com/formbricks/formbricks into main 2023-01-23 14:45:15 +01:00
knugget
8fbce22474 waitlist update + fix blog link 2023-01-23 14:45:12 +01:00
Matthias Nannt
7d0c548477 fix emailNotification input field label 2023-01-23 13:27:36 +01:00
Matthias Nannt
427cf17a8d Merge branch 'main' of github.com:formbricks/formbricks 2023-01-23 13:17:11 +01:00
Matthias Nannt
5bfb3a1864 update feedback widget to overwrite config with open(), fix customer view in feedback timeline in app 2023-01-23 13:16:56 +01:00
Matthias Nannt
7b72ffb82e update feedback widget to add finished flag after sending 2023-01-21 18:26:17 +01:00
Johannes
16ad208f8e remove free plan from waitlist thank-you page 2023-01-21 18:18:01 +01:00
Matthias Nannt
14be6ce407 fix ui icons to use jsx notation for properties 2023-01-21 11:23:24 +01:00
Matthias Nannt
7bf0a76f29 use nextjs built-in cors approach for formbricks app 2023-01-21 11:19:57 +01:00
Matthias Nannt
81f26e3eb6 Merge branch 'main' of github.com:formbricks/formbricks 2023-01-21 10:33:12 +01:00
Matthias Nannt
3275f60e10 fix import error in demo, fix jsx style in core-api & email icon, add finished flag to capture endpoint 2023-01-21 10:25:38 +01:00
knugget
d0bf119f9d fix typo on screenshot 2023-01-20 18:33:18 +01:00
knugget
47a81aff19 weekly + animation update 2023-01-20 18:15:57 +01:00
knugget
e5aaf4bcb6 update wording lp 2023-01-20 16:21:54 +01:00
knugget
0186103c01 Merge branch 'main' of https://github.com/formbricks/formbricks into main 2023-01-20 16:21:46 +01:00
knugget
7b0b479e88 update wording 2023-01-20 16:21:38 +01:00
Matthias Nannt
e02df9683e update waitlist questions, add skip button 2023-01-20 16:18:45 +01:00
Matthias Nannt
8339bb9d65 add plausible events to waitlist form 2023-01-20 15:35:47 +01:00
Matthias Nannt
fb2cd315e5 Merge branch 'main' of github.com:formbricks/formbricks 2023-01-20 12:25:49 +01:00
Matthias Nannt
dbc68c810f add new pipeline events submissionUpdated & submissionFinished 2023-01-20 12:25:45 +01:00
Matthias Nannt
e5ce84b03d add finished flag to submission 2023-01-20 11:01:33 +01:00
knugget
7dc9c61122 update beta question 2023-01-20 09:50:40 +01:00
knugget
944235ef00 fix discord btn + waitlist dark 2023-01-19 16:19:26 +01:00
Johannes
75d0f51df4 fix waitlist dark (#186) 2023-01-19 16:02:20 +01:00
Matthias Nannt
5bb3bd2031 update waitlist formId in formbricks-com 2023-01-19 15:52:01 +01:00
Matthias Nannt
2e881c0914 add github auth env variables to example files 2023-01-19 15:47:05 +01:00
Matti Nannt
80617811c2 Add new landingpage with waitlist, update Formbricks App to handle custom waitlist survey (#185)
* add new landingpage for user research surveys
* update Formbricks App to support custom surveys

Co-authored-by: knugget <johannes@knugget.de>
2023-01-19 15:34:22 +01:00
Matthias Nannt
09c822c52e update dockerfile to work with new folder structure 2023-01-15 14:10:20 +01:00
Matthias Nannt
a86b9c6e19 rebuild formbricks app folder structure, rename team -> workspace 2023-01-15 12:57:34 +01:00
Matti Nannt
99c1d155e3 Update HQ with experience management approach and feedback widget (#184)
* create basis for feedback form creation

* add icons to ui package

* add prototype feedback results view

* add react feedback widget to demo, add connection between widget and hq, update capture submission api, update results view

* update single customer view to new design, update feedback modal interface, fix smaller bugs

* add feedback widget

* fix signup route, fix persistForm functionality

* feedback box widget pre animation

* fix intro text in widget

* feedback-widget: clean old switch-button

* tweaks

* feedback widget: fix click listener

* formbricks feedback package setup

* finish styling

* Change "Compliments" to "Love"

* form card width

* update demo page with feedback widget

* update feedback widget

* load from NPM

* add highlightcolor styles

* add style to feedback widget config

* fix send email in hq feedback, fix error when styling not present in feedback widget config

* feedback widget: fix header subtitle color by adding opacity, re-add focus

* with rgba variables

* updated with HEX and examples

* hq: add pipelines to form

* feedback widget: outside click closes widget

* update sentry config

* update recommended nodejs version to 18 in hq readme

* switch css update

* update feedback widget demo

* feedback widget: hide cta by default

* fix config contact in widget not checked correctly

* feedbackwidget: init on open if init failed previously

* fix margin bottom

* fix margins feedback box

* release feedback widget v0.1.5

* hq: add replyTo field in submission mail if customer present

* fix contact subtitle css

* add setup instructions in XM

* add divId support for feedback widget

* add feedback-box to hq

* add slackNotification (#181)

* update slack pipeline wording

* fix formbricks url in email and slack notifications

* lotus config + borderRadius

* rebase xm branch to current main

* remove formbricks-com cloud offering links

* update Readme for xm approach

Co-authored-by: knugget <johannes@knugget.de>
2023-01-14 11:41:35 +01:00
Matthias Nannt
8794de78fb update blog post 2023-01-13 21:03:43 +01:00
Johannes
be5a333d7a weekly update (#183) 2023-01-13 20:59:41 +01:00
Johannes
51f0bdfbe9 Weekly 130123 (#182)
* weekly-130123

* weekly-130123
2023-01-13 20:00:13 +01:00
knugget
a653775c5f new size mobile 2023-01-11 16:45:05 +01:00
knugget
1b67b8469a shorten feedback box 2023-01-11 16:29:17 +01:00
Matthias Nannt
29f5b7a95c formbricks-com update xs breakpoint 2023-01-11 12:34:38 +01:00
Matti Nannt
5b174b0e8e Feedback Box on formbricks.com (#180)
* build and integrate feedback widget on formbricks-com

Co-authored-by: knugget <johannes@knugget.de>
2023-01-11 12:23:03 +01:00
Matthias Nannt
3f8811f5f3 update feedback box in formbricks.com 2023-01-09 09:54:41 +01:00
Matthias Nannt
76d9587b26 fix typos in blog 2023-01-06 23:16:19 +01:00
Matti Nannt
91cf027f16 Weekly 060123 (#179)
* weekly 060123 draft

* add calcom screenshot

Co-authored-by: knugget <johannes@knugget.de>
2023-01-06 23:00:47 +01:00
Matthias Nannt
1d739f75f1 formbricks.com hide feedback widget 2023-01-05 16:34:39 +01:00
Matthias Nannt
104edbd214 use jsdeliver for loading feedback widget on formbricks.com 2023-01-04 17:56:49 +01:00
Matthias Nannt
fc0b730652 move feedback widget on formbricks.com to own component, add plausible tracking on feedback click 2023-01-04 17:31:54 +01:00
Matthias Nannt
b4b0b89df3 add feedback widget to formbricks.com 2023-01-04 17:16:39 +01:00
knugget
2576447d85 fix responsive iframe 2022-12-30 16:28:36 +01:00
Matti Nannt
3faf6661d5 weekly 301222 (#178)
Co-authored-by: knugget <johannes@knugget.de>
2022-12-30 14:37:42 +01:00
Matthias Nannt
81fa18053d update dockerfile from alpine to slim to fix openssl errors 2022-12-19 09:13:07 +01:00
Matti Nannt
c256bab985 weekly-161222 + nav bar adapt (#177)
Co-authored-by: knugget <johannes@knugget.de>
2022-12-16 16:42:38 +01:00
Matthias Nannt
a4d21222a6 react: throw error on sendToHq failing 2022-12-14 13:38:54 +01:00
Matthias Nannt
fbfc1acd61 update feedback demo 2022-12-13 15:57:57 +01:00
Matthias Nannt
9b16d182d4 fix react lib missing in demo dependencies 2022-12-13 15:32:08 +01:00
Matthias Nannt
237febf512 update react example 2022-12-13 15:21:00 +01:00
Matthias Nannt
19bb1565f6 add sentry error tracking to hq 2022-12-12 12:51:38 +01:00
Matthias Nannt
270754521e fix posthog tracking new user, use next link in form tabs to improve speed 2022-12-12 11:14:55 +01:00
Matthias Nannt
0cff6e799f Merge branch 'main' of github.com:snoopForms/snoopforms 2022-12-12 11:01:41 +01:00
Matti Nannt
3383d1e896 fix broken settings + UX improvements (#176)
Co-authored-by: knugget <johannes@knugget.de>
2022-12-12 09:11:19 +01:00
Matthias Nannt
49a273c7c4 update hq demo with pmf modal 2022-12-11 10:57:17 +01:00
Johannes
aa5f4654a5 updated launch hq (#174) 2022-12-09 18:37:44 +01:00
Johannes
3daf96c2bb weekly-09122022 (#175) 2022-12-09 18:37:04 +01:00
Matthias Nannt
37bd6c054d fix charts and react package 2022-12-09 09:08:38 +01:00
Matthias Nannt
846f0fe7bf clean up code, fix typo in blog 2022-12-08 18:53:37 +01:00
Matthias Nannt
a56fddbb37 update launch blog post 2022-12-08 18:43:27 +01:00
Matthias Nannt
8cba54aa86 fix add react lib to formbricks-com 2022-12-08 18:34:22 +01:00
Matti Nannt
0f1e5e5fb0 Launch hq blog (#173)
* draft-1

* update

Co-authored-by: knugget <johannes@knugget.de>
2022-12-08 18:25:06 +01:00
Matthias Nannt
aec2a922d4 update cors headers in hq 2022-12-08 17:46:33 +01:00
Matthias Nannt
65a157e6ea fix hq pipeline prisma not found, remove cors in api route files 2022-12-08 17:43:50 +01:00
Matthias Nannt
ae3780880c add demo app, update cors on hq 2022-12-08 17:19:54 +01:00
Matthias Nannt
2463fb8d17 update Readme 2022-12-08 15:56:48 +01:00
Matthias Nannt
7e7f27d232 add self-hosting doc for hq 2022-12-08 15:49:08 +01:00
Matthias Nannt
ea1b0c9c70 Merge branch 'main' of github.com:snoopForms/snoopforms 2022-12-08 15:41:15 +01:00
Matthias Nannt
43da64b2f1 update docs link in hq 2022-12-08 15:41:08 +01:00
Johannes
59db0d357e update privacy policy (#171) 2022-12-08 15:33:24 +01:00
github-actions[bot]
64ad948039 Version Packages (#172)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-12-08 15:29:26 +01:00
Matthias Nannt
bcecdc0f3d hq - update forms overview, add Nps Type, update charts lib, update react lib 2022-12-08 15:26:17 +01:00
Matthias Nannt
273aad391e improve posthog events in hq 2022-12-07 16:47:57 +01:00
Matthias Nannt
b0554757df move hq from app folder to pages folder, update react lib classNames 2022-12-07 16:38:09 +01:00
Matthias Nannt
3a5e297302 hq - add more posthog events 2022-12-07 14:06:17 +01:00
Matthias Nannt
f6d7a023cd update postgres version in docker compose, reset migrations in hq 2022-12-05 16:07:12 +01:00
Matthias Nannt
cbd74936ca fix pnpm lock, update hq dockerfile 2022-12-05 15:45:19 +01:00
Matthias Nannt
9f902354bb hq add telemetry, add posthog tracking, add single customer page 2022-12-05 13:41:54 +01:00
Matthias Nannt
5954a22ff3 enable search in docs 2022-12-02 16:36:01 +01:00
Matthias Nannt
69320e8119 fix link in blog 2022-12-02 16:22:28 +01:00
Matthias Nannt
a51c884e7f update code in weekly update 2022-12-02 15:44:56 +01:00
Matthias Nannt
4a87ebbec3 clean up charts lib - 0.0.1 release 2022-12-02 15:28:36 +01:00
Johannes
03bd1107cf Weekyl 2nd dec 2022 (#170) 2022-12-02 14:27:00 +01:00
Matthias Nannt
b45a32343e make ui package private 2022-12-02 12:48:45 +01:00
Matthias Nannt
334d95fe2a hq - move auth to client side searchparams to avoid problems with vercel 2022-12-02 12:47:07 +01:00
Matthias Nannt
7e24c065f0 sort submissions in hq, add number of submissions to summary 2022-12-02 12:41:25 +01:00
Matthias Nannt
83f3df4e81 render auth page client-side to avoid vercel bug on searchParams 2022-12-01 16:22:35 +01:00
Johannes
2335c72234 hq favicon (#169)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2022-12-01 16:02:37 +01:00
Matthias Nannt
6d2b26b391 Merge branch 'main' of github.com:snoopForms/snoopforms 2022-12-01 15:59:51 +01:00
Matthias Nannt
23fd92f85c add sendToHq helper to formbricks react, update class merge in react lib, update capture endpoints in hq to support cors 2022-12-01 15:59:33 +01:00
Johannes
17b8bb1324 added docs, fix doc header (#168) 2022-12-01 15:57:15 +01:00
Johannes
515b23859a Api & schema docs (#167)
* api docs images v1

* schema & api docs

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2022-12-01 10:53:52 +01:00
Matthias Nannt
cabe59dcea update gitignore 2022-12-01 10:49:46 +01:00
Matthias Nannt
ed5b1cc263 add simple table graph (placeholder), fix build errors in hq 2022-12-01 10:08:45 +01:00
Matthias Nannt
d8a7d1a72e add simple charts library, add simple summary to hq 2022-11-30 21:03:19 +01:00
Matthias Nannt
013fec0fe0 hq - fix toasts 2022-11-30 16:21:12 +01:00
Matthias Nannt
5bd09c13b6 add schema to submission display if available 2022-11-30 16:15:40 +01:00
Matthias Nannt
47dd1d04de hq - add full pipeline functionality 2022-11-30 15:46:21 +01:00
Matthias Nannt
69985f5f39 add basic pipeline view to hq 2022-11-29 21:02:13 +01:00
Matthias Nannt
e0d0458d7f add submissions table 2022-11-29 18:12:37 +01:00
Matthias Nannt
a977cc403b update hq db schema, add form overview page 2022-11-29 15:34:55 +01:00
Matthias Nannt
ec695df017 fix redirect to login not working - formbricks hq 2022-11-28 18:51:11 +01:00
Matthias Nannt
99dd6478d2 change db:push command 2022-11-28 18:41:46 +01:00
Matthias Nannt
0070f9c69d formhq: add simple layout, add forms overview, add customers overview, add api endpoints 2022-11-28 18:31:19 +01:00
Matthias Nannt
c834cbf8ce add dashboard infobox to formbricks hq 2022-11-26 12:37:45 +01:00
Matthias Nannt
8535986ae8 Merge branch 'main' of github.com:snoopForms/snoopforms 2022-11-26 11:56:05 +01:00
Matthias Nannt
8cf06c6ea5 add api key functionality to formbricks HQ 2022-11-26 11:55:57 +01:00
Johannes
43e6e4ad91 Update Image Names (#166)
* updated names
2022-11-25 17:50:40 +01:00
Tomas Valenta
3fe3ca7ee4 Fix typo (#163) 2022-11-25 17:44:48 +01:00
Tomas Valenta
d215371ec4 Make the GitHub link in docs point to the formbricks repo (#164) 2022-11-25 17:42:15 +01:00
Johannes
7e63da2977 Img names (#165)
* weekly-update

* updated names
2022-11-25 17:41:10 +01:00
Johannes
fc58e9badf weekly-update (#162) 2022-11-25 16:53:48 +01:00
Matti Nannt
7c77a36ca1 weekly-251122 (#161)
Co-authored-by: knugget <johannes@knugget.de>
2022-11-25 15:01:33 +01:00
Johannes
3550a51cea Update react intro (#159)
* updated react intro

* docs: icon page

* add name attr to Submit
2022-11-25 11:21:57 +01:00
Matthias Nannt
0f638c3f6b fix get started link on mobile formbricks-com 2022-11-24 13:25:37 +01:00
Matthias Nannt
4a8e1c563d fix typo in docs 2022-11-24 13:07:04 +01:00
Matthias Nannt
32afef77ea add VERCEL_URL to turbo.json 2022-11-24 13:02:19 +01:00
Matthias Nannt
a3db36fef5 update docs intro page 2022-11-24 13:00:09 +01:00
Matthias Nannt
0a17676981 move development of formbricks HQ to monorepo 2022-11-24 12:30:08 +01:00
Matthias Nannt
74b1cb0687 Merge branch 'main' of github.com:snoopForms/snoopforms 2022-11-23 14:59:09 +01:00
Matthias Nannt
3444f5b828 update docs 2022-11-23 14:50:09 +01:00
Matti Nannt
e2f625cd02 Fix Markdown issue 2022-11-23 14:45:42 +01:00
Johannes
af5c9c8785 Update README.md 2022-11-23 07:44:23 -06:00
Johannes
1c962433f3 Update Readme for npm 2022-11-23 07:43:12 -06:00
Matthias Nannt
d8d2ac115d Merge branch 'main' of github.com:snoopForms/snoopforms 2022-11-23 14:13:46 +01:00
Matti Nannt
104a3d22ff React Lib HTML Input Docs (#158)
Co-authored-by: knugget <johannes@knugget.de>
2022-11-23 14:13:20 +01:00
Matthias Nannt
0eadbfce9d update react package version to 0.2.1 2022-11-23 14:09:16 +01:00
github-actions[bot]
542caf80d9 Version Packages (#157)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-23 14:02:12 +01:00
Matthias Nannt
898ad44c51 Merge branch 'main' of github.com:snoopForms/snoopforms 2022-11-23 13:59:51 +01:00
Matthias Nannt
493bc3c3af Add Input Types: Checkbox, Email, Number, Password, Phone, Radio, Search, Url | Add validations: accepted, email, url 2022-11-23 13:59:31 +01:00
Matti Nannt
b2da7306d2 terms, privacy policy update, gdpr, gdpr guide (#155)
Co-authored-by: knugget <johannes@knugget.de>
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com>
2022-11-23 11:11:33 +01:00
Matti Nannt
e2fa13031f radio docs v1 (#156)
Co-authored-by: knugget <johannes@knugget.de>
2022-11-23 11:08:26 +01:00
Johannes
d20fc9512a Formbricks hq (#154)
* radio docs v1

* update Form HQ to Formbricks HQ

* added redirect

* correct typo
2022-11-23 11:05:58 +01:00
Matthias Nannt
2a23326dad refactor radio buttons, add checkbox input type to react lib 2022-11-23 10:10:52 +01:00
Matthias Nannt
0982506d1c Merge branch 'main' of github.com:snoopForms/snoopforms 2022-11-23 09:20:43 +01:00
Matthias Nannt
d8d48f14f8 add radio buttons to react lib 2022-11-22 17:45:27 +01:00
Matti Nannt
65c57398e0 Launch blog (#153)
* react lib docs v0.1

* react lib launch blog article

* add code example

* add wrapper docs

Co-authored-by: knugget <johannes@knugget.de>
2022-11-22 13:38:00 +01:00
Matthias Nannt
9311dc0f6f update react lib 2022-11-22 12:27:46 +01:00
Matthias Nannt
a0ee1b424a Merge branch 'main' of github.com:snoopForms/snoopforms 2022-11-22 11:41:51 +01:00
Matthias Nannt
bafd98ef14 fix image issues; 2022-11-22 11:41:41 +01:00
github-actions[bot]
7ba9704af2 Version Packages (#151)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-22 11:23:41 +01:00
Matthias Nannt
16254951ba update docs, react lib 0.1 2022-11-22 11:13:38 +01:00
Matthias Nannt
86f6811271 update lockfile 2022-11-22 09:20:49 +01:00
Matti Nannt
f8b90505c3 react lib docs v0.1 (#150)
Co-authored-by: knugget <johannes@knugget.de>
2022-11-22 09:18:07 +01:00
Matthias Nannt
f649cdb674 add more validations to react lib 2022-11-21 20:37:58 +01:00
Matthias Nannt
d4f0478a77 add error messages to react lib, multiple bugfixes, minify styles.css for react lib 2022-11-21 19:17:32 +01:00
Matthias Nannt
b890570a7d remove merge markers from blog post 2022-11-18 15:50:15 +01:00
Matthias Nannt
f69626a5c7 add newsletter signup form to blogpost 2022-11-18 15:36:45 +01:00
Matthias Nannt
b775d458c4 Merge branch 'main' of github.com:snoopForms/snoopforms 2022-11-18 15:22:31 +01:00
Matti Nannt
0a02b1a184 Vs google weekly (#149)
* vs OhMyForm page

* vs Google Forms, weekly, tweaks

Co-authored-by: knugget <johannes@knugget.de>
2022-11-18 15:22:23 +01:00
Matthias Nannt
3b4d5f1446 add tailwind forms to formbricks-com 2022-11-18 15:18:16 +01:00
Matthias Nannt
820fcc2c29 update favicon path formbricks-com 2022-11-18 14:37:46 +01:00
Matthias Nannt
d435f6ff72 add storybook gitignore 2022-11-18 11:59:11 +01:00
Matthias Nannt
ce6269fa6f add storybook 2022-11-18 11:58:20 +01:00
Matthias Nannt
212fa99ab4 fix typo on website 2022-11-18 09:18:08 +01:00
Matthias Nannt
126700870f Merge branch 'main' of github.com:snoopForms/snoopforms 2022-11-18 09:14:37 +01:00
Johannes
c4328b8709 vs OhMyForm page (#148) 2022-11-18 09:06:36 +01:00
Matthias Nannt
d687158c0c reorganize react package, add option to change classes of inputs 2022-11-17 17:11:31 +01:00
Matthias Nannt
497654bdcd update react package json 2022-11-17 10:04:57 +01:00
Matthias Nannt
b631ee9c11 update entrypoint in react package 2022-11-17 09:27:39 +01:00
Johannes
f575e41063 react comparison page + tweaks (#146)
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2022-11-16 11:38:42 +01:00
github-actions[bot]
1abd4352ce Version Packages (#147)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-16 11:01:40 +01:00
Matthias Nannt
98a79127d9 update lock file 2022-11-16 11:00:25 +01:00
Matthias Nannt
933be017df add simple validation and minLength & maxLength to react lib 2022-11-16 10:57:57 +01:00
Matti Nannt
329ea10de8 Update content (#145)
* part 1

* updated colors & darkmode pt2

* update SEO pages & animation

Co-authored-by: knugget <johannes@knugget.de>
2022-11-15 20:25:29 +01:00
Matthias Nannt
b124fc01e0 merge changes 2022-11-15 20:22:44 +01:00
Matthias Nannt
1e4b69d7f9 add simple validation to react lib, minLength, maxLength 2022-11-15 20:17:17 +01:00
Matthias Nannt
48575afd4c add new react package version 2022-11-15 16:38:37 +01:00
github-actions[bot]
46bf6810c4 Version Packages (#143)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-15 16:15:46 +01:00
Matthias Nannt
c132b5532e Merge branch 'main' of github.com:snoopForms/snoopforms 2022-11-15 16:13:40 +01:00
Matthias Nannt
0e946c7692 publish npm package via changeset 2022-11-15 16:13:31 +01:00
Matti Nannt
28c2bdedf3 Logo color revamp (#142)
* update formbricks logo
* update colors

Co-authored-by: knugget <johannes@knugget.de>
2022-11-15 16:08:57 +01:00
github-actions[bot]
2a05dcbde2 Version Packages (#141)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-11-15 16:04:46 +01:00
Matthias Nannt
dce1f49c78 add basic react lib 2022-11-15 16:02:51 +01:00
Matthias Nannt
5a34b05bdf fix sitemap formbricks-com 2022-11-15 11:51:31 +01:00
Matthias Nannt
05a34df068 fix routes in formbricks-com 2022-11-15 11:48:49 +01:00
Matthias Nannt
abf459eb6d add sitemap & robots.txt 2022-11-14 11:11:41 +01:00
Johannes
a4d4ff3b1a React Hook Form & Formspree comparison pages (#140)
* update blog article

* vs react hook form subpage

* vs formspree

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2022-11-14 09:39:46 +01:00
Johannes
d0868523ed Responsiveness tweaks (#138)
* responsiveness tweaks

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2022-11-10 11:48:06 +01:00
Johannes
fe04fe5c7f Seo tweaks (#137)
* responsiveness tweaks

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2022-11-10 11:36:45 +01:00
Johannes
b7123d6fbd update blog article (#139) 2022-11-10 11:22:52 +01:00
Johannes
beea4f6c9d Update README.md 2022-11-10 03:38:08 -06:00
Matthias Nannt
551932b478 add missing packages 2022-11-10 09:43:45 +01:00
Matthias Nannt
beb00d6dbd remove old snoopForms code, change license to MIT, remove unused code configs 2022-11-10 09:40:15 +01:00
Matthias Nannt
8ae2ec5b62 use youtube nocookie, fix fullscreen in videos - formbricks-com 2022-11-08 14:57:57 +01:00
Matthias Nannt
c00fa8c5f9 fix responsiveness bug - formbricks-com 2022-11-08 14:40:23 +01:00
Matthias Nannt
7dfe5b6203 fix responsiveness bugs formbricks-com 2022-11-08 13:54:31 +01:00
yujin Jeong
a30d2b7969 Fix Typo in Email Notification Pipeline Settings (#134) 2022-11-08 09:28:02 +01:00
Johannes
e2426af9df Snoopforms becomes Formbricks article (#133)
* 3rd blog article
2022-11-08 09:20:14 +01:00
Matthias Nannt
2e996b7158 add privacy policy and imprint formbricks-com 2022-11-07 14:37:19 +01:00
Matthias Nannt
ab13707090 update meta information 2022-11-04 16:34:15 +01:00
Matthias Nannt
61d469c25c fix dead-links in formbricks-com 2022-11-04 16:17:55 +01:00
knugget
ef38602a94 visual builder link update 2022-11-04 16:33:34 +02:00
knugget
3b4adbc498 visual builder page pt 2 2022-11-04 16:30:14 +02:00
knugget
dd48abffa1 visual builder page 2022-11-04 16:30:04 +02:00
Matti Nannt
f6806dd953 Add Formbricks Website (#130)
* add formbricks website with blog and docs

Co-authored-by: knugget <johannes@knugget.de>
2022-11-04 14:49:38 +01:00
Matthias Nannt
e19c7d9c3f bugfix #128 2022-11-02 11:36:15 +01:00
Matthias Nannt
bd4019539f Merge branch 'main' of github.com:snoopForms/snoopforms 2022-10-31 11:34:43 +01:00
Matthias Nannt
0f4a84b7e5 update Readme with formbricks rebuild disclaimer 2022-10-31 11:34:35 +01:00
Matti Nannt
7844447718 Feature/debug notification mails (#124)
* fix email and posthog issues by outsourcing event handling in own api function
2022-10-28 16:44:24 +02:00
Matthias Nannt
5937a70084 remove .env symlink to fix build issues 2022-10-28 16:06:39 +02:00
Matthias Nannt
9099cc8c04 resolve merge conflict 2022-10-28 15:31:23 +02:00
Matti Nannt
a850c1ec26 Feature/nextjs 13 (#122)
* upgrade nextjs to 13

* update docker compose, fix env bug

* update github actions check workflow to lint on ubuntu image
2022-10-28 14:50:45 +02:00
Matthias Nannt
d18f2c16c4 support vercel audience analytics 2022-10-25 21:18:18 +02:00
Midka
2238a3e225 fix: name in flake.nix 2022-10-25 17:18:55 +03:00
Midka
d45f446963 fix: onChange event on PhoneQuestionComponent 2022-10-25 17:10:08 +03:00
Francois Disubi
eee3ea5ed3 Feat/email notification after submission (#89)
* feat: Email notifications for each submission

* feat: add email notification pipeline

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2022-10-25 15:44:59 +02:00
Kiran K
4590654ace Refactor TextQuestion Component (#119) 2022-10-25 13:32:04 +02:00
Midka
9f50027d53 fix: make * show only when required 2022-10-20 15:00:27 +03:00
Midka
ef70561e22 refactor: phone question 2022-10-20 15:00:13 +03:00
Midka
b627bcb138 refactor: WebsiteQuestion 2022-10-20 14:45:52 +03:00
Midka
7ecbc5da88 fix: remove commented out code 2022-10-20 14:37:55 +03:00
Midka
adc248a922 refactor: NumberQuestion 2022-10-20 14:33:42 +03:00
Midka
5f31ceb087 add: nixos development stuff 2022-10-20 14:33:13 +03:00
Matthias Nannt
7681f02d1f update react lib path in readme 2022-10-19 10:00:51 +02:00
Kiran K
d45e01ca41 Fix conflict leftover (#118)
* Refactor EmailQuestion Component

* Fix the README and .env
2022-10-18 16:29:13 +02:00
Matthias Nannt
f282f3d081 limit matrix check to ubuntu 2022-10-18 14:19:13 +02:00
Matthias Nannt
3e63e536e0 apply prettier in react lib, make packages private 2022-10-18 13:41:48 +02:00
Matthias Nannt
d5b5fd8dd9 make config packages public 2022-10-18 13:31:22 +02:00
Matthias Nannt
3dafcb6d32 update package names, update config imports 2022-10-18 13:26:05 +02:00
Matthias Nannt
eea8f678bd ignore web package in changeset 2022-10-18 12:34:41 +02:00
github-actions[bot]
4e5b03e62d Version Packages (#116)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-10-18 12:33:50 +02:00
Matti Nannt
28b6410dbb Feature/add react lib to monorepo #107 (#115)
* add changesets

* add react-app to monorepo
2022-10-18 12:24:17 +02:00
Kiran K
5a7492536a Refactor EmailQuestion Component (#109) 2022-10-18 10:57:53 +02:00
Matti Nannt
8b0347ab8a Create .dockerignore 2022-10-18 10:51:10 +02:00
Matthias Nannt
baf57883b0 add NEXTAUTH_URL_INTERNAL to .env.docker 2022-10-18 10:24:13 +02:00
Matthias Nannt
d6775a5cda fix user signup disabled env could be set to anything to disable signup 2022-10-18 10:23:41 +02:00
Chetan Sarva
38366c5336 build: add NEXTAUTH_URL_INTERNAL to example env (#108)
Co-authored-by: Matti Nannt <mail@matthiasnannt.com>
2022-10-18 10:21:15 +02:00
Matti Nannt
a4c571ffd3 add NEXT_PUBLIC_SIGNUP_DISABLED env variable (#114) 2022-10-18 10:11:21 +02:00
Matthias Nannt
35bda9d1de update .env.example file 2022-10-16 17:17:38 +02:00
Matthias Nannt
619bcb3a1f use config redirect for /forms/:id to avoid serverless function 2022-10-16 11:30:22 +02:00
Matti Nannt
6cd3878700 make all env variables required at build time #110 (#111)
* make all env variables required at build time

* update env files

* add .env.docker file with basic docker configuration

* update Readme with new instructions
2022-10-16 11:10:20 +02:00
Matthias Nannt
e910a97d32 update dockerfile to env file 2022-10-15 16:53:23 +02:00
Matthias Nannt
a0ba4ef9d3 add docker env example 2022-10-15 12:41:02 +02:00
Matthias Nannt
b6e24c207a Merge branch 'main' of github.com:snoopForms/snoopforms 2022-10-14 09:58:18 +02:00
Matthias Nannt
35ba2a1936 update dev instructions in README 2022-10-14 09:57:54 +02:00
Matti Nannt
56e9c04659 fix Github Workflow for Dockerfile (#106)
* fix location of Dockerfile
2022-10-13 12:02:07 +02:00
Matti Nannt
5c378bc8ce Feature/monorepo #95 (#105)
Move repository into a monorepo with turborepo and pnpm.
This is a big change in the way the code is organized, used and deployed.
2022-10-13 09:46:43 +02:00
Matthias Nannt
2d63249f63 bugfix links in nocode paragraph not working in app (#94) 2022-10-10 10:57:51 +02:00
Matthias Nannt
0a8eefbd63 Create CONTRIBUTING.md 2022-09-30 13:43:01 +02:00
Matthias Nannt
b48dc100f4 Rename LICENCE to LICENSE 2022-09-29 14:40:57 +02:00
Matthias Nannt
f67365f6dd Add product hunt & discord online users to Readme 2022-09-23 16:20:28 +02:00
Matthias Nannt
6ae4566baf fix Multi choice question: Option labels cut off #84 2022-09-23 12:59:10 +02:00
Matthias Nannt
0345247e9d add formType to posthog pageSubmission 2022-09-21 17:38:25 +02:00
Matthias Nannt
dbdfdedf20 update links in readme 2022-09-21 14:33:20 +02:00
Matthias Nannt
13cc2af59a fix error while loading responses #81 2022-09-20 22:37:29 +02:00
Matthias Nannt
c5450bd6ee Merge branch 'main' of github.com:snoopForms/snoopforms 2022-09-20 10:09:08 +02:00
Matthias Nannt
de8173bc84 update react library version with fixed radio buttons #85 2022-09-20 10:08:38 +02:00
npaulsen
67638bb70a Feature/devcontainer (#79)
* fixes committed conflict in README

* adds a devcontainer based on compose

includes mailhog and postgres containers

* adds launch.json for nextjs vscode quick actions

* mentions devcontainer in the readme

* auto prisma migration after creating devcontainer

* remote containers as recommended vscode extension

* adds nextauth url env to dev container

- to show correct links in mails when testing locally

Co-authored-by: Niklas Paulsen <npau@informatik.uni-kiel.de>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2022-09-20 09:20:59 +02:00
Matthias Nannt
36bf9cc997 Merge branch 'main' of github.com:snoopForms/snoopforms 2022-09-19 19:39:48 +02:00
Matthias Nannt
349fe3cb6c add long text question type 2022-09-19 19:39:38 +02:00
Manuel
9c6d08e762 Remove Merge conflict remainder in Readme.md (#83)
* Remove Merge conflict remainder in Readme.md

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2022-09-19 13:12:03 +02:00
Matthias Nannt
08278c8b0f remove truncation in summary display 2022-09-15 13:37:09 +02:00
Matthias Nannt
3148d91fc9 fix: error hashing ownerId in posthog capture method 2022-09-15 13:29:57 +02:00
Timothy
64d84b69db #21: Add helperText to all question types (#61)
* #21: Add help texts to all question types

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2022-09-02 16:19:24 +02:00
Matthias Nannt
db01eafb24 remove user fingerprinting 2022-09-02 16:18:26 +02:00
Matthias Nannt
68ee24189c add formType to posthog form created event 2022-09-02 14:25:21 +02:00
Matthias Nannt
5be849b553 add imports to react quickstart #70 2022-08-31 09:07:33 +02:00
Matthias Nannt
3311cc4ab6 fix posthog capture spelling issue, rename pageSubmission events 2022-08-31 08:33:14 +02:00
Matthias Nannt
e2bbb6e5a9 Feature/webhook (#75)
* Add webhook functionality #24
2022-08-31 08:22:31 +02:00
Matthias Nannt
c674d58c69 Fix Posthog Tracking (#71)
* Use simple API calls for Posthog Tracking to increase compatibility
2022-08-25 18:59:41 +02:00
Matthias Nannt
f26e14df12 clean up unused code 2022-08-25 16:09:28 +02:00
Tim Lange
8a875922b3 Added forgot password ability (#63)
* NEW: Added forgot password ability

* FIX: Added password reset disabled flag & jwt verify

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2022-08-25 16:01:36 +02:00
Matthias Nannt
a0ed5b7c0c bugfix smtp secure variable, simplify telemetry 2022-08-24 21:31:27 +02:00
Matthias Nannt
246698ca02 fix posthog issue, introduce telemetry for self-hosted version 2022-08-24 20:46:25 +02:00
Matthias Nannt
ce02d2906a fix scrolling not working in nocode editor 2022-08-22 16:40:15 +02:00
Matthias Nannt
9c85190e7c add imprint & privacy policy to public form frontend 2022-08-22 16:20:53 +02:00
Matthias Nannt
cede0a83bf Merge changes 2022-08-18 08:13:37 +02:00
Matthias Nannt
1a64baf83e bugfix not showing loading indicator when loading form frontend 2022-08-17 23:13:35 +02:00
Matthias Nannt
f4f248860b disable posthog autotracking, send specific events via backend (#62) 2022-08-17 22:57:53 +02:00
Matthias Nannt
b48018b2f8 bugfix delete submission, let prisma only print warning and errors 2022-08-17 20:24:05 +02:00
Timothy
844c590d7c Feature/#41 unpublish forms (#59)
* #41: Display message for unpublished forms

* #41: Add publish/unpublish GUI

* #41: Revamp UI and add 'closed' parameter

* change indigo color of access-switch to red

* update live-form on republish, show error message to user in frontend  when form unpublished

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2022-08-17 16:41:22 +02:00
Matthias Nannt
2b41caaf1e add issue template 2022-08-17 14:43:49 +02:00
Matthias Nannt
f807ccf6cc update readme and setup instructions 2022-08-17 09:20:54 +02:00
Matthias Nannt
6bf178fd85 update version number 2022-08-16 14:17:04 +02:00
Matthias Nannt
c2d4a48fe3 update github actions to add tags to docker images, only support node 16 2022-08-16 14:01:22 +02:00
Matthias Nannt
973f999756 fix responsiveness in responses 2022-08-16 13:46:07 +02:00
Matthias Nannt
aa6c254872 Truncate formname fixes #56 (#60)
* truncate in formlist

* truncate in breadcrumbs
2022-08-16 12:01:36 +02:00
Timothy
5bb739f547 Implement single submission deletion (#57)
* implement single submission deletion

* modify delete submission button and add confirm

Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2022-08-14 12:32:26 +02:00
Timothy
10e3db34a9 Add default flow if SMTP data not provided (#54)
* Add default flow if SMTP data not provided

* use explicit env var for disabling email verification

* #26: Check for strict equality
2022-08-14 11:11:23 +02:00
Timothy
f1bede5816 #49: Update 404 page (#58)
* #49: Update 404 page

* #49: Fix typos
2022-08-14 11:01:43 +02:00
Matthias Nannt
419e12777a update date-fns package to fix pipeline issues 2022-08-11 12:01:22 +02:00
Matthias Nannt
954adfa815 bugfix error in submissions on altered form #55 2022-08-11 11:47:54 +02:00
Johannes
19b29188dd fix:fix z-index on form list, unify context menus (#16) 2022-08-10 22:57:41 +09:00
Matthias Nannt
803007e0e2 Feature/fix authentication issues (#15)
* fix errors when not authenticated
* update syntax highlighting and react code sample
2022-08-09 06:36:39 +09:00
Johannes
28452e3c89 fix for empty tooltip & code example update (#10)
* fix tooltip bug, add highlightJs for code examples
2022-08-08 21:42:55 +09:00
Matthias Nannt
758474ec25 fix telemetry-disable env variable 2022-08-08 09:21:57 +02:00
Matthias Nannt
98fadfd476 fix client-side exception on analytics page #14 2022-08-05 15:38:49 +02:00
Timothy
37d284ebaa Clarifying README.md (#13) 2022-08-05 04:53:27 +09:00
Matthias Nannt
c49aad505b update readme 2022-08-03 09:38:47 +02:00
Matthias Nannt
16650ff076 add github worklow to check lint and build errors on push 2022-08-03 09:09:12 +02:00
Matthias Nannt
146a8f6608 add getInitialProps to _app to enable next/config everywhere 2022-08-03 08:59:36 +02:00
Matthias Nannt
75d7700d25 remove superjson and custom babel config, bugfix lastSubmission bug when no values present 2022-08-03 08:53:04 +02:00
Benjamin Paul
6bddc87021 Fixed missing required environment variables (#12)
Co-authored-by: Ben Paul <ben.paul@justeattakeaway.com>
2022-08-02 23:51:27 +09:00
Matthias Nannt
e4129b23fa simplify env var names for terms and privacy 2022-08-02 08:52:05 +02:00
Matthias Nannt
3190f6556a move privacy and term envs into next config 2022-08-01 22:16:57 +02:00
Matthias Nannt
8391dceed1 add signup footer with terms and privacy if env variables for these documents are set 2022-08-01 21:44:14 +02:00
Matthias Nannt
602e8d3672 simplify posthog integration 2022-08-01 09:02:37 +02:00
Matthias Nannt
fcdeabb170 update snoop-react version, bugfix submit button label not saved 2022-07-30 20:11:56 +02:00
Matthias Nannt
6cc4ecadef update snoop-react version, fix pipeline layout 2022-07-29 11:32:10 +02:00
Matthias Nannt
085a5aeed7 add loading state to results analytics 2022-07-29 09:49:16 +02:00
knugget
7ba0c66645 Merge branch 'main' of https://github.com/snoopForms/snoopforms into main 2022-07-29 09:35:46 +02:00
Matthias Nannt
f3c9c4a99f bugfix chartjs error 2022-07-29 00:54:20 +02:00
Matthias Nannt
aa648f9b2d Feature/add question types (#9)
* add new question types: email, website, phone, number & multiple choice
2022-07-29 07:21:32 +09:00
knugget
54a217ee1e Sign up wording 🤸 2022-07-28 13:07:17 +02:00
Johannes
6da264f432 Update README.md 2022-07-25 04:13:24 -05:00
Johannes
c1ca0ea568 Wording update (#8)
* Updated "Thank You" Toast 🙏

* Sign up wording 🤸
2022-07-25 10:43:23 +02:00
knugget
24dc1f6a02 Merge branch 'main' of https://github.com/snoopForms/snoopforms into main 2022-07-25 08:24:51 +02:00
knugget
2c196db36d Updated "Thank You" Toast 🙏 2022-07-25 08:24:48 +02:00
Matthias Nannt
277bd014ae add posthog integration (#7)
* add possibility to track events with posthog by setting environment variables POSTHOG_API_KEY and POSTHOG_API_HOST
2022-07-22 23:15:39 +09:00
Matthias Nannt
cb6b76c3e2 fix infinite loading in app, fix signout error 2022-07-20 15:07:46 +02:00
Matthias Nannt
c20167342f Rewrite Signup & Signin to make it more robust (#6)
* remove explicit CSRF-token handling

* use NEXTAUTH_SECRET secret to better comply with nextAuth standards

* update next.js and nextAuth

* remove ECR github action

* add name to mail-from
2022-07-20 21:19:42 +09:00
Matthias Nannt
3afe4a8a97 update nextjs & nextauth, improve loading-indicator, improve auth-redirect-flow 2022-07-20 09:39:22 +02:00
Matthias Nannt
5539ec59b3 update ecr action to push with latest tag 2022-07-19 21:55:12 +02:00
Matthias Nannt
71dcf17e17 add ecr image build & deploy action 2022-07-19 21:35:16 +02:00
Matthias Nannt
5e229057ff fix docker-image action with lowercase repository 2022-07-19 16:32:47 +09:00
Matthias Nannt
9f262cffde Create Github Action for Docker Publish & Deploy 2022-07-19 16:24:26 +09:00
Matthias Nannt
fa268630a5 move environment variables to nextjs runtime config 2022-07-19 08:44:51 +02:00
Matthias Nannt
8aa55bf8ae remove apprunner config, add migrate-and-start script, disable next telemetry with environment variable 2022-07-14 15:07:29 +02:00
Matthias Nannt
13462fccee add apprunner config 2022-07-13 21:15:34 +02:00
Matthias Nannt
0aa931287f Feature/add signup (#5)
* update prisma model to support user

* add signup page

* add email verification

* remove seed user

* update README and Dockerfile to support signup and the removal of seed data
2022-07-14 01:04:02 +09:00
Matthias Nannt
4192461f5f Updated Editor-Approach for easier multi-page management (#4)
* use new editor approach where we use a single editorJS instance and a pageTransition block to indicate the start of a new page
* improve toast messages in editor
* add keyboard listener and toast to showcase autosaving functionality
* bugfix first and secondary menu positioning
* add required functionality to textQuestion
2022-06-29 15:24:11 +09:00
1799 changed files with 119832 additions and 8683 deletions

View File

@@ -1,4 +0,0 @@
{
"presets": ["next/babel"],
"plugins": ["superjson-next"]
}

8
.changeset/README.md Normal file
View File

@@ -0,0 +1,8 @@
# Changesets
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

11
.changeset/config.json Normal file
View File

@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/config@2.2.0/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": ["@formbricks/formbricks-com", "@formbricks/demo", "@formbricks/web"]
}

16
.devcontainer/Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 18, 16, 14, 18-bullseye, 16-bullseye, 14-bullseye, 18-buster, 16-buster, 14-buster
ARG VARIANT=18-bullseye
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}
# [Optional] Uncomment this section to install additional OS packages.
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
# && apt-get -y install --no-install-recommends <your-package-list-here>
# [Optional] Uncomment if you want to install an additional version of node using nvm
# ARG EXTRA_NODE_VERSION=10
# RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}"
# [Optional] Uncomment if you want to install more global node modules
# RUN su node -c "npm install -g <your-package-list-here>"
RUN su node -c "npm install -g pnpm"

View File

@@ -0,0 +1,30 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.245.2/containers/javascript-node-postgres
// Update the VARIANT arg in docker-compose.yml to pick a Node.js version
{
"name": "Node.js & PostgreSQL",
"dockerComposeFile": "docker-compose.yml",
"service": "app",
"workspaceFolder": "/workspace",
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"dbaeumer.vscode-eslint"
]
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// This can be used to network with other containers or with the host.
"forwardPorts": [3000, 5432, 8025],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pnpm install",
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node"
}

View File

@@ -0,0 +1,52 @@
version: '3.8'
services:
app:
build:
context: .
dockerfile: Dockerfile
args:
# Update 'VARIANT' to pick an LTS version of Node.js: 18, 16, 14.
# Append -bullseye or -buster to pin to an OS version.
# Use -bullseye variants on local arm64/Apple Silicon.
VARIANT: "18"
volumes:
- ..:/workspace:cached
# Overrides default command so things don't shut down after the process ends.
command: sleep infinity
# Runs app on the same network as the database container, allows "forwardPorts" in devcontainer.json function.
network_mode: service:db
# Uncomment the next line to use a non-root user for all processes.
# user: node
# Use "forwardPorts" in **devcontainer.json** to forward an app port locally.
# (Adding the "ports" property to this file will not forward from a Codespace.)
db:
image: postgres:latest
restart: unless-stopped
volumes:
- postgres-data:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: postgres
# Add "forwardPorts": ["5432"] to **devcontainer.json** to forward PostgreSQL locally.
# (Adding the "ports" property to this file will not forward from a Codespace.)
mailhog:
image: mailhog/mailhog
network_mode: service:app
logging:
driver: "none" # disable saving logs
# ports:
# - 8025:8025 # web ui
# 1025:1025 # smtp server
volumes:
postgres-data: null

37
.dockerignore Normal file
View File

@@ -0,0 +1,37 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
**/node_modules
.pnp
.pnp.js
.pnpm-store/
# testing
coverage
# next.js
**/.next
**/out
**/build
# node
**/dist
# misc
.DS_Store
*.pem
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# turbo
.turbo
# nixos stuff
.direnv
.vscode
.github
**/.turbo

View File

@@ -1,9 +1,130 @@
# Modify this variables according to your setup and needs
SECRET=RANDOM_STRING
DATABASE_URL='postgresql://user@localhost:5432/snoopforms?schema=public'
NEXTAUTH_URL=http://localhost:3000
ADMIN_EMAIL=user@example.com
ADMIN_PASSWORD='admin123'
/*
########################################################################
# ------------ MANDATORY (CHANGE ACCORDING TO YOUR SETUP) ------------#
########################################################################
# For Docker Setup use this Database URL:
# DATABASE_URL='postgresql://postgres:postgres@postgres:5432/snoopforms?schema=public'
############
# BASICS #
############
WEBAPP_URL=http://localhost:3000
# Set this if you want to have a shorter link for surveys
SHORT_URL_BASE=
# Encryption keys
# Please set both for now, we will change this in the future
# You can use: `openssl rand -hex 32` to generate one
ENCRYPTION_KEY=
##############
# DATABASE #
##############
DATABASE_URL='postgresql://postgres:postgres@localhost:5432/formbricks?schema=public'
###############
# NEXT AUTH #
###############
# @see: https://next-auth.js.org/configuration/options#nextauth_secret
# You can use: `openssl rand -hex 32` to generate one
NEXTAUTH_SECRET=RANDOM_STRING
# Set this to your public-facing URL, e.g., https://example.com
# You do not need the NEXTAUTH_URL environment variable in Vercel.
NEXTAUTH_URL=http://localhost:3000
################
# MAIL SETUP #
################
# Necessary if email verification and password reset are enabled.
# See optional configurations below if you want to disable these features.
MAIL_FROM=noreply@example.com
SMTP_HOST=localhost
SMTP_PORT=1025
# Enable SMTP_SECURE_ENABLED for TLS (port 465)
SMTP_SECURE_ENABLED=0
SMTP_USER=smtpUser
SMTP_PASSWORD=smtpPassword
########################################################################
# ------------------------------ OPTIONAL -----------------------------#
########################################################################
# Uncomment the variables you would like to use and customize the values.
#####################
# Disable Features #
#####################
# Email Verification. If you enable Email Verification you have to setup SMTP-Settings, too.
# EMAIL_VERIFICATION_DISABLED=1
# Password Reset. If you enable Password Reset functionality you have to setup SMTP-Settings, too.
# PASSWORD_RESET_DISABLED=1
# Signup. Disable the ability for new users to create an account.
# SIGNUP_DISABLED=1
# Team Invite. Disable the ability for invited users to create an account.
# INVITE_DISABLED=1
##########
# Other #
##########
# Display privacy policy, imprint and terms of service links in the footer of signup & public pages.
PRIVACY_URL=
TERMS_URL=
IMPRINT_URL=
# Configure Github Login
GITHUB_AUTH_ENABLED=0
GITHUB_ID=
GITHUB_SECRET=
# Configure Google Login
GOOGLE_AUTH_ENABLED=0
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# Configure Azure Active Directory Login
AZUREAD_AUTH_ENABLED=0
AZUREAD_CLIENT_ID=
AZUREAD_CLIENT_SECRET=
AZUREAD_TENANT_ID=
AZURE_DIRECT_REDIRECT=0
# Cron Secret
CRON_SECRET=
# Configure this when you want to ship JS & CSS files from a complete URL instead of the current domain
# ASSET_PREFIX_URL=
# Stripe Billing Variables
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=
# Configure Formbricks usage within Formbricks
NEXT_PUBLIC_FORMBRICKS_API_HOST=
NEXT_PUBLIC_FORMBRICKS_ENVIRONMENT_ID=
NEXT_PUBLIC_FORMBRICKS_ONBOARDING_SURVEY_ID=
# Oauth credentials for Google sheet integration
GOOGLE_SHEETS_CLIENT_ID=
GOOGLE_SHEETS_CLIENT_SECRET=
GOOGLE_SHEETS_REDIRECT_URL=
# Oauth credentials for Airtable integration
AIRTABLE_CLIENT_ID=
# Enterprise License Key
ENTERPRISE_LICENSE_KEY=
*/

10
.eslintrc.js Normal file
View File

@@ -0,0 +1,10 @@
module.exports = {
root: true,
// This tells ESLint to load the config from the package `eslint-config-formbricks`
extends: ["formbricks"],
settings: {
next: {
rootDir: ["apps/*/"],
},
},
};

View File

@@ -1,3 +0,0 @@
{
"extends": "next/core-web-vitals"
}

81
.github/ISSUE_TEMPLATE/bug_report.yml vendored Normal file
View File

@@ -0,0 +1,81 @@
name: Bug report
description: "Found a bug? Please fill out the sections below. \U0001F44D"
title: "[BUG]"
labels: bug
assignees: []
body:
- type: textarea
id: issue-summary
attributes:
label: Issue Summary
description: A summary of the issue. This needs to be a clear detailed-rich summary.
validations:
required: true
- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to Reproduce
value: |
1. (for example) Went to ...
2. Clicked on...
3. ...
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
validations:
required: true
- type: textarea
id: other-information
attributes:
label: Other information
validations:
required: false
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: If applicable, add screenshots to help explain your problem.
validations:
required: false
- type: checkboxes
id: environment
attributes:
label: Environment
options:
- label: Formbricks Cloud (app.formbricks.com)
- label: Self-hosted Formbricks
- type: textarea
id: desktop-version
attributes:
label: Desktop (please complete the following information)
description: |
examples:
- **OS**: [e.g. iOS]
- **Browser**: [e.g. chrome, safari]
- **Version**: [e.g. 22]
value: |
- OS:
- Node:
- npm:
render: markdown
validations:
required: true
- type: markdown
id: nodejs-version
attributes:
value: |
#### Node.JS version
[e.g. v18.15.0]
- type: markdown
id: anything-else
attributes:
value: |
#### Anything else?
- Screen recording, console logs, network requests: You can make a recording with [Loom](https://www.loom.com).
- Anything else that you think could be an issue?

5
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Questions
url: https://formbricks.com/discord
about: Ask a general question about the project on our Discord server

View File

@@ -0,0 +1,48 @@
name: Feature request
description: "Suggest an idea for this project \U0001F680"
title: "[FEATURE]"
labels: enhancement
assignees: []
body:
- type: textarea
id: problem-description
attributes:
label: Is your feature request related to a problem? Please describe.
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
validations:
required: true
- type: textarea
id: solution-description
attributes:
label: Describe the solution you'd like
description: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
id: alternate-solution-description
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: false
- type: textarea
id: additional-context
attributes:
label: Additional context
description: Add any other context or screenshots about the feature request here.
validations:
required: false
- type: markdown
id: formbricks-info
attributes:
value: |
### How we code at Formbricks 🤓
- Follow Best Practices lined out in our [Contributor Docs](https://formbricks.com/docs/contributing/how-we-code)
- First time: Please read our [introductory blog post](https://formbricks.com/blog/join-the-formtribe)
- All UI components are in the package `formbricks/ui`
- Run `pnpm go` to find a demo app to test in-app surveys at `localhost:3002`
- Everything is type-safe
- We use **chatGPT** to help refactor code. Use our [Formbricks ✨ megaprompt ✨](https://github.com/formbricks/formbricks/blob/main/megaprompt.md) to create the right
context before you write your prompt.
- Anything unclear? [Ask in Discord](https://formbricks.com/discord)

50
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View File

@@ -0,0 +1,50 @@
## What does this PR do?
<!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. -->
Fixes # (issue)
<!-- Please provide a screenshots or a loom video for visual changes to speed up reviews
Loom Video: https://www.loom.com/
-->
## Type of change
<!-- Please mark the relevant points by using [x] -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] Chore (refactoring code, technical debt, workflow improvements)
- [ ] Enhancement (small improvements)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change adds a new database migration
- [ ] This change requires a documentation update
## How should this be tested?
<!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration -->
- Test A
- Test B
## Checklist
<!-- We're starting to get more and more contributions. Please help us making this efficient for all of us and go through this checklist. Please tick off what you did -->
### Required
- [ ] Filled out the "How to test" section in this PR
- [ ] Read [How we Code at Formbricks](<[https://github.com/formbricks/formbricks/blob/main/CONTRIBUTING.md](https://formbricks.com/docs/contributing/how-we-code)>)
- [ ] 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
- [ ] First PR at Formbricks? [Please sign the CLA!](https://formbricks.com/clmyhzfrymr4ko00hycsg1tvx) Without it we wont be able to merge it 🙏
### Appreciated
- [ ] If a UI change was made: Added a screen recording or screenshots to this PR
- [ ] Updated the Formbricks Docs if changes were necessary

6
.github/labeler.yml vendored Normal file
View File

@@ -0,0 +1,6 @@
"❗️ migrations":
- packages/database/migrations/**/migration.sql
"❗️ .env changes":
- .env.example
- .env.docker

View File

@@ -0,0 +1,74 @@
name: "Apply issue labels to PR"
on:
pull_request_target:
types:
- opened
jobs:
label_on_pr:
runs-on: ubuntu-latest
permissions:
contents: none
issues: read
pull-requests: write
steps:
- name: Apply labels from linked issue to PR
uses: actions/github-script@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
async function getLinkedIssues(owner, repo, prNumber) {
const query = `query GetLinkedIssues($owner: String!, $repo: String!, $prNumber: Int!) {
repository(owner: $owner, name: $repo) {
pullRequest(number: $prNumber) {
closingIssuesReferences(first: 10) {
nodes {
number
labels(first: 10) {
nodes {
name
}
}
}
}
}
}
}`;
const variables = {
owner: owner,
repo: repo,
prNumber: prNumber,
};
const result = await github.graphql(query, variables);
return result.repository.pullRequest.closingIssuesReferences.nodes;
}
const pr = context.payload.pull_request;
const linkedIssues = await getLinkedIssues(
context.repo.owner,
context.repo.repo,
pr.number
);
const labelsToAdd = new Set();
for (const issue of linkedIssues) {
if (issue.labels && issue.labels.nodes) {
for (const label of issue.labels.nodes) {
labelsToAdd.add(label.name);
}
}
}
if (labelsToAdd.size) {
await github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: pr.number,
labels: Array.from(labelsToAdd),
});
}

View File

@@ -0,0 +1,26 @@
name: Build
on:
workflow_call:
jobs:
build:
name: Build Formbricks-com
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Install dependencies
run: pnpm install --config.platform=linux --config.architecture=x64
- name: Build Formbricks-com
run: pnpm build --filter=formbricks-com...

34
.github/workflows/build-web.yml vendored Normal file
View File

@@ -0,0 +1,34 @@
name: Build
on:
workflow_call:
jobs:
build:
name: Build Formbricks-web
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Install dependencies
run: pnpm install --config.platform=linux --config.architecture=x64
- name: create .env
run: cp .env.example .env
- name: Generate Random NEXTAUTH_SECRET
run: |
SECRET=$(openssl rand -hex 32)
echo "ENCRYPTION_KEY=$SECRET" >> $GITHUB_ENV
- name: Build Formbricks-web
run: pnpm build --filter=web...

23
.github/workflows/cron-closeOnDate.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: Cron - closeOnDate
on:
# "Scheduled workflows run on the latest commit on the default or base branch."
# — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule
schedule:
# Runs “At 00:00.” (see https://crontab.guru)
- cron: "0 0 * * *"
jobs:
cron-weeklySummary:
env:
APP_URL: ${{ secrets.APP_URL }}
CRON_SECRET: ${{ secrets.CRON_SECRET }}
runs-on: ubuntu-latest
steps:
- name: cURL request
if: ${{ env.APP_URL && env.CRON_SECRET }}
run: |
curl ${{ env.APP_URL }}/api/cron/close_surveys \
-X POST \
-H 'content-type: application/json' \
-H 'x-api-key: ${{ env.CRON_SECRET }}' \
--fail

View File

@@ -0,0 +1,22 @@
name: Cron - reportUsageToStripe
on:
# "Scheduled workflows run on the latest commit on the default or base branch."
# — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule
schedule:
# This will run the job at 23:00 UTC every day of every month.
- cron: "0 21 * * *"
jobs:
cron-reportUsageToStripe:
env:
APP_URL: ${{ secrets.APP_URL }}
CRON_SECRET: ${{ secrets.CRON_SECRET }}
runs-on: ubuntu-latest
steps:
- name: cURL request
if: ${{ env.APP_URL && env.CRON_SECRET }}
run: |
curl ${{ env.APP_URL }}/api/cron/report-usage \
-X POST \
-H 'x-api-key: ${{ env.CRON_SECRET }}' \
--fail

View File

@@ -0,0 +1,23 @@
name: Cron - weeklySummary
on:
# "Scheduled workflows run on the latest commit on the default or base branch."
# — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule
schedule:
# Runs “At 08:00 on Monday.” (see https://crontab.guru)
- cron: "0 8 * * 1"
jobs:
cron-weeklySummary:
env:
APP_URL: ${{ secrets.APP_URL }}
CRON_SECRET: ${{ secrets.CRON_SECRET }}
runs-on: ubuntu-latest
steps:
- name: cURL request
if: ${{ env.APP_URL && env.CRON_SECRET }}
run: |
curl ${{ env.APP_URL }}/api/cron/weekly_summary \
-X POST \
-H 'content-type: application/json' \
-H 'x-api-key: ${{ env.CRON_SECRET }}' \
--fail

19
.github/workflows/labeler.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: "Pull Request Labeler"
on:
- pull_request_target
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
labeler:
name: Pull Request Labeler
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
# https://github.com/actions/labeler/issues/442#issuecomment-1297359481
sync-labels: ""

34
.github/workflows/lint.yml vendored Normal file
View File

@@ -0,0 +1,34 @@
name: Lint
on:
workflow_call:
jobs:
build:
name: Linters
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Install dependencies
run: pnpm install --config.platform=linux --config.architecture=x64
- name: create .env
run: cp .env.example .env
- name: Generate Random NEXTAUTH_SECRET
run: |
SECRET=$(openssl rand -hex 32)
echo "ENCRYPTION_KEY=$SECRET" >> $GITHUB_ENV
- name: Lint
run: pnpm lint

37
.github/workflows/pr.yml vendored Normal file
View File

@@ -0,0 +1,37 @@
name: PR Update
on:
pull_request_target:
branches:
- main
merge_group:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
name: Run Tests
uses: ./.github/workflows/test.yml
secrets: inherit
lint:
name: Run Linters
uses: ./.github/workflows/lint.yml
secrets: inherit
build:
name: Build Formbricks-web
uses: ./.github/workflows/build-web.yml
secrets: inherit
required:
needs: [lint, test, build]
if: always()
runs-on: ubuntu-latest
steps:
- name: fail if conditional jobs failed
if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'skipped') || contains(needs.*.result, 'cancelled')
run: exit 1

View File

@@ -0,0 +1,45 @@
name: Release Changesets
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
timeout-minutes: 15
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Setup Node.js 18.x
uses: actions/setup-node@v2
with:
node-version: 18.x
- name: Install pnpm
uses: pnpm/action-setup@v2.2.4
- name: Install Dependencies
run: pnpm install --config.platform=linux --config.architecture=x64
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

View File

@@ -0,0 +1,96 @@
name: Docker
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
on:
push:
tags:
- "v*"
env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
# This is used to complete the identity challenge
# with sigstore/fulcio when running outside of PRs.
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
# Install the cosign tool except on PR
# https://github.com/sigstore/cosign-installer
- name: Install cosign
if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@6e04d228eb30da1757ee4e1dd75a0ec73a653e06 #v3.1.1
with:
cosign-release: "v2.1.1"
# Set up BuildKit Docker container builder to be able to build
# multi-platform images and export cache
# https://github.com/docker/setup-buildx-action
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# Extract metadata (tags, labels) for Docker
# https://github.com/docker/metadata-action
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
with:
context: .
file: ./apps/web/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
NEXTAUTH_SECRET=${{ env.NEXTAUTH_SECRET }}
DATABASE_URL=${{ env.DATABASE_URL }}
ENCRYPTION_KEY=${{ env.ENCRYPTION_KEY }}
# Sign the resulting Docker image digest except on PRs.
# This will only write to the public Rekor transparency log when the Docker
# repository is public to avoid leaking data. If you would like to publish
# transparency data even for private images, pass --force to cosign below.
# https://github.com/sigstore/cosign
- name: Sign the published Docker image
if: ${{ github.event_name != 'pull_request' }}
env:
# https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
TAGS: ${{ steps.meta.outputs.tags }}
DIGEST: ${{ steps.build-and-push.outputs.digest }}
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}

58
.github/workflows/release-docker.yml vendored Normal file
View File

@@ -0,0 +1,58 @@
name: Release on Dockerhub
on:
push:
tags:
- "v*"
jobs:
release-image-on-dockerhub:
name: Release on Dockerhub
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
DATABASE_URL: "postgresql://postgres:postgres@localhost:5432/formbricks?schema=public"
steps:
- name: Generate Random NEXTAUTH_SECRET
run: |
SECRET=$(openssl rand -hex 32)
echo "NEXTAUTH_SECRET=$SECRET" >> $GITHUB_ENV
- name: Generate Random ENCRYPTION_KEY
run: |
SECRET=$(openssl rand -hex 32)
echo "ENCRYPTION_KEY=$SECRET" >> $GITHUB_ENV
- name: Checkout Repo
uses: actions/checkout@v2
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Get Release Tag
id: extract_release_tag
run: |
TAG=${{ github.ref }}
TAG=${TAG#refs/tags/v}
echo "RELEASE_TAG=$TAG" >> $GITHUB_ENV
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
file: ./apps/web/Dockerfile
push: true
tags: |
${{ secrets.DOCKER_USERNAME }}/formbricks:${{ env.RELEASE_TAG }}
${{ secrets.DOCKER_USERNAME }}/formbricks:latest
build-args: |
NEXTAUTH_SECRET=${{ env.NEXTAUTH_SECRET }}
DATABASE_URL=${{ env.DATABASE_URL }}
ENCRYPTION_KEY=${{ env.ENCRYPTION_KEY }}

View File

@@ -0,0 +1,47 @@
name: "Check PR"
on:
pull_request_target:
types:
- opened
- reopened
- edited
- synchronize
permissions:
pull-requests: write
jobs:
validate-pr:
name: PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
id: lint_pr_title
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: marocchino/sticky-pull-request-comment@v2
# When the previous steps fails, the workflow would stop. By adding this
# condition you can continue the execution with the populated error message.
if: always() && (steps.lint_pr_title.outputs.error_message != null)
with:
header: pr-title-lint-error
message: |
Hey there and thank you for opening this pull request! 👋🏼
We require pull request titles to follow the [Conventional Commits specification](https://www.conventionalcommits.org/en/v1.0.0/) and it looks like your proposed title needs to be adjusted.
Details:
```
${{ steps.lint_pr_title.outputs.error_message }}
```
# Delete a previous comment when the issue has been resolved
- if: ${{ steps.lint_pr_title.outputs.error_message == null }}
uses: marocchino/sticky-pull-request-comment@v2
with:
header: pr-title-lint-error
message: |
Thank you for following the naming conventions for pull request titles! 🙏

36
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,36 @@
name: Tests
on:
workflow_call:
jobs:
build:
name: Tests
runs-on: ubuntu-latest
timeout-minutes: 15
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Install dependencies
run: pnpm install --config.platform=linux --config.architecture=x64
- name: create .env
run: cp .env.example .env
- name: Build formbricks-js dependencies
run: pnpm build --filter=js
- name: Test
run: pnpm test

View File

@@ -0,0 +1,27 @@
name: "Welcome new contributors"
on:
issues:
types: opened
pull_request:
types: opened
permissions:
pull-requests: write
issues: write
jobs:
welcome-message:
name: Welcoming New Users
runs-on: ubuntu-latest
timeout-minutes: 10
if: github.event.action == 'opened'
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
pr-message: |-
Thank you so much for making your first Pull Request and taking the time to improve Formbricks! 🚀🙏❤️
Feel free to join the conversation at [Discord](https://formbricks.com/discord)
issue-message: |
Thank you for opening your first issue! 🙏❤️ One of our team members will review it and get back to you as soon as it possible. 😊

32
.gitignore vendored
View File

@@ -1,19 +1,21 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
node_modules
.pnp
.pnp.js
.pnpm-store/
# testing
/coverage
coverage
# next.js
/.next/
/out/
.next/
out/
build
# production
/build
# node
dist/
# misc
.DS_Store
@@ -23,7 +25,6 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
# local env files
.env
@@ -31,9 +32,16 @@ yarn-error.log*
.env.development.local
.env.test.local
.env.production.local
!packages/database/.env
!apps/web/.env
# vercel
.vercel
# Prisma generated files
packages/database/zod
# typescript
*.tsbuildinfo
# turbo
.turbo
# nixos stuff
.direnv
Zone.Identifier

6
.gitpod.Dockerfile vendored Normal file
View File

@@ -0,0 +1,6 @@
FROM gitpod/workspace-full
# Install custom tools, runtime, etc.
RUN brew install yq
RUN pnpm install turbo --global

78
.gitpod.yml Normal file
View File

@@ -0,0 +1,78 @@
tasks:
- name: demo
init: |
gp sync-await init-install &&
bash .gitpod/setup-demo.bash
command: |
cd apps/demo &&
cp .env.example .env &&
sed -i -r "s#^(NEXT_PUBLIC_FORMBRICKS_API_HOST=).*#\1 $(gp url 3000)#" .env &&
gp sync-await init &&
turbo --filter "@formbricks/demo" go
- name: website
command: gp sync-await init && turbo --filter "@formbricks/formbricks-com" dev
- name: Init Formbricks
init: |
cp .env.example .env &&
bash .gitpod/init.bash &&
turbo --filter "@formbricks/js" build &&
gp sync-done init-install
command: |
gp sync-done init &&
gp tasks list &&
gp ports await 3002 && gp ports await 3000 && gp open apps/demo/.env && gp preview $(gp url 3002) --external
- name: web
init: |
gp sync-await init-install &&
bash .gitpod/setup-web.bash &&
turbo --filter "@formbricks/database" db:down
command: |
gp sync-await init &&
cp .env.example .env &&
sed -i -r "s#^(WEBAPP_URL=).*#\1 $(gp url 3000)#" .env &&
sed -i -r "s#^(NEXTAUTH_URL=).*#\1 $(gp url 3000)#" .env &&
RANDOM_ENCRYPTION_KEY=$(openssl rand -hex 32)
sed -i 's/^ENCRYPTION_KEY=.*/ENCRYPTION_KEY='"$RANDOM_ENCRYPTION_KEY"'/' .env
turbo --filter "@formbricks/web" go
image:
file: .gitpod.Dockerfile
ports:
- port: 3000
visibility: public
onOpen: open-browser
- port: 3001
visibility: public
onOpen: ignore
- port: 3002
visibility: public
onOpen: ignore
- port: 5432
visibility: public
onOpen: ignore
- port: 1025
visibility: public
onOpen: ignore
- port: 8025
visibility: public
onOpen: open-browser
github:
prebuilds:
master: true
pullRequests: true
addComment: true
vscode:
extensions:
- "ban.spellright"
- "bradlc.vscode-tailwindcss"
- "DavidAnson.vscode-markdownlint"
- "dbaeumer.vscode-eslint"
- "esbenp.prettier-vscode"
- "Prisma.prisma"
- "yzhang.markdown-all-in-one"

18
.gitpod/init.bash Normal file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
images=($(yq eval '.services.*.image' packages/database/docker-compose.yml))
pull_image() {
docker pull "$1"
}
# install packages in background
pnpm i &
# pull images
for image in "${images[@]}"
do
pull_image "$image" &
done
wait

5
.gitpod/setup-demo.bash Normal file
View File

@@ -0,0 +1,5 @@
for task in $(yq -r -oy '.pipeline."@formbricks/demo#go".dependsOn[]' turbo.json); do
package="${task%#*}"
command="${task#*#}"
turbo --filter "$package" $command
done

5
.gitpod/setup-web.bash Normal file
View File

@@ -0,0 +1,5 @@
for task in $(yq -r -oy '.pipeline."@formbricks/web#go".dependsOn[]' turbo.json); do
package="${task%#*}"
command="${task#*#}"
turbo --filter "$package" $command
done

4
.husky/pre-commit Executable file
View File

@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
pnpm lint-staged

8
.npmrc Normal file
View File

@@ -0,0 +1,8 @@
auto-install-peers=true
link-workspace-packages = true
shamefully-hoist = true
shared-workspace-shrinkwrap = true
access = public
enable-pre-post-scripts = true
legacy-peer-deps=true
node-linker=hoisted

1
.prettierrc.js Normal file
View File

@@ -0,0 +1 @@
module.exports = require("./packages/prettier-config/prettier-preset");

1
.vercelignore Normal file
View File

@@ -0,0 +1 @@
apps/web/.env

11
.vscode/extensions.json vendored Normal file
View File

@@ -0,0 +1,11 @@
{
"recommendations": [
"ban.spellright", // Spell check for docs
"bradlc.vscode-tailwindcss", // hinting / autocompletion for tailwind
"DavidAnson.vscode-markdownlint", // markdown linting
"dbaeumer.vscode-eslint", // eslint plugin
"esbenp.prettier-vscode", // prettier plugin
"Prisma.prisma", // syntax|format|completion for prisma
"yzhang.markdown-all-in-one" // nicer markdown support
]
}

21
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,21 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch localhost:3002",
"type": "firefox",
"request": "launch",
"reAttach": true,
"url": "http://localhost:3002/",
"webRoot": "${workspaceFolder}"
},
{
"name": "Attach",
"type": "firefox",
"request": "attach"
}
]
}

View File

@@ -1,2 +1,4 @@
{
}
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.preferences.importModuleSpecifier": "non-relative"
}

69
CODE_OF_CONDUCT.md Normal file
View File

@@ -0,0 +1,69 @@
# Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in Formbricks and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
## Our Standards
Examples of behavior that contributes to creating a positive environment include:
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
- The use of sexualized language or imagery and unwelcome sexual attention or advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic address, without explicit permission
- Other conduct that could reasonably be considered inappropriate in a professional setting
## Our Responsibilities
We as project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
We have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned with this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
## Scope
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project email address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at hola@formbricks.com - all complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident.
## Enforcement Guidelines
Community managers will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
### 2. Warning
**Community Impact**: A violation through a single incident or series of actions.
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
### 3. Temporary Ban
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public of private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
### 4. Permanent Ban
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
**Consequence**: A permanent ban from any sort of public interaction within the community.
## Attribution
This Code of Conduct is adapted from the Contributor Covenant, version 2.0, available at [https://www.contributor-covenant.org/version/2/0/code_of_conduct.html](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html).

33
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,33 @@
# 🚀 Join the Formbricks Tribe! 🧱
First and foremost, we're absolutely thrilled that you're considering becoming a part of the Formbricks Tribe! 🤗
Discover a myriad of ways to leave your mark on Formbricks — whether it's by squashing bugs, crafting new features, or enhancing our documentation.
## 🐛 Issue Hunters
Did you stumble upon a bug? Encountered a hiccup in deployment? Perhaps you have some user feedback to share? Your quickest route to help us out is by [raising an issue](https://github.com/formbricks/formbricks/issues/new/choose). We're on standby to respond swiftly.
## 💡 Feature Architects
Are you brimming with brilliant ideas? For new features that can elevate Formbricks, create an issue and slap on the "Enhancement" tag. We adore every concept that you throw our way. Just make sure to provide us with the "why" behind your idea. We're all ears!
## 🛠 Crafting Pull Requests
Ready to dive into the code and make a real impact? Here's your path:
1. **Read our Best Practices**: [It takes 5 minutes](https://formbricks.com/docs/contributing/how-we-code) but will help you save hours 🤓
1. **Fork the Repository:** Fork our repository or use [Gitpod](https://formbricks.com/docs/contributing/gitpod)
1. **Tweak and Transform:** Work your coding magic and apply your changes.
1. **Pull Request Act:** If you're ready to go, craft a new pull request closely following our PR template 🙏
Would you prefer a chat before you dive into a lot of work? Our [Discord server](https://formbricks.com/discord) is your harbor. Share your thoughts, and we'll meet you there with open arms. We're responsive and friendly, promise!
## 🚀 Aspiring Features
If you spot a feature that isn't part of our official plan but could propel Formbricks forward, don't hesitate. Raise it as an enhancement issue, and let us know you're ready to take the lead. We'll be quick to respond.
Together, let's craft the future of Formbricks, making it better, bolder, and more brilliant! 🚀🧱🌟

View File

@@ -1,40 +0,0 @@
# Install dependencies only when needed
FROM node:16-alpine AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile
# Rebuild the source code only when needed
FROM node:16-alpine AS builder
WORKDIR /app
COPY . .
COPY --from=deps /app/node_modules ./node_modules
RUN yarn prisma generate
RUN yarn tsc prisma/seed.ts
RUN yarn build && yarn install --production --ignore-scripts --prefer-offline
# Production image, copy all the files and run next
FROM node:16-alpine AS runner
WORKDIR /app
ENV NODE_ENV production
RUN addgroup -g 1001 -S nodejs
RUN adduser -S nextjs -u 1001
COPY --from=builder /app/next.config.js ./
COPY --from=builder /app/public ./public
COPY --from=builder --chown=nextjs:nodejs /app/.next ./.next
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package.json ./package.json
COPY --from=builder /app/prisma ./prisma
USER nextjs
EXPOSE 3000
ENV NEXT_TELEMETRY_DISABLED 1
CMD ["yarn", "start"]

View File

@@ -1,3 +1,12 @@
Copyright (c) 2023 Formbricks GmbH
Portions of this software are licensed as follows:
- All content that resides under the "packages/ee/" directory of this repository, if that directory exists, is licensed under the license defined in "packages/ee/LICENSE".
- All content that resides under the "packages/js/", "packages/errors/" and "packages/api/" directories of this repository, if that directories exist, is licensed under the "MIT" license as defined in the "LICENSE" files of these packages.
- All third party components incorporated into the Formbricks Software are licensed under the original license provided by the owner of the applicable component.
- Content outside of the above mentioned directories or restrictions above is available under the "AGPLv3" license as defined below.
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
@@ -58,7 +67,7 @@ modification follow.
TERMS AND CONDITIONS
0. Definitions.
1. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.

194
README.md
View File

@@ -1,135 +1,181 @@
<div id="top"></div>
<p align="center">
<a href="https://github.com/snoopForms/snoopforms">
<img src="https://user-images.githubusercontent.com/72809645/172191504-808da997-025b-4b1f-90c0-b8ef658af2dd.svg" alt="Logo" width="500">
<a href="https://formbricks.com">
<img width="120" alt="Open Source Experience Management Solution Qualtrics Alternative Logo" src="https://github.com/formbricks/formbricks/assets/72809645/0086704f-bee7-4d38-9cc8-fa42ee59e004">
</a>
<h3 align="center">snoopForms</h3>
<h3 align="center">Formbricks</h3>
<p align="center">
The Open-Source Typeform Alternative
The Open Source Survey Toolbox
<br />
<a href="https://snoopforms.com/">Website</a> | <a href="https://discord.gg/3YFcABF2Ts">Join Discord community</a>
<a href="https://formbricks.com/">Website</a> | <a href="https://formbricks.com/discord">Join Discord community</a>
</p>
</p>
<p align="center">
<a href="https://github.com/snoopForms/snoopforms/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-AGPLv3-purple" alt="License"></a> <a href="https://discord.gg/3YFcABF2Ts"><img src="https://img.shields.io/badge/Discord-SnoopForms-%234A154B" alt="Join snoopForms Discord"></a>
<a href="https://github.com/formbricks/formbricks/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-AGPL-purple" alt="License"></a> <a href="https://formbricks.com/discord"><img src="https://img.shields.io/discord/979077669410979880?label=Discord&logo=discord&logoColor=%23fff" alt="Join Formbricks Discord"></a> <a href="https://github.com/formbricks/formbricks/stargazers"><img src="https://img.shields.io/github/stars/formbricks/formbricks?logo=github" alt="Github Stars"></a>
<a href="https://news.ycombinator.com/item?id=32303986"><img src="https://img.shields.io/badge/Hacker%20News-122-%23FF6600" alt="Hacker News"></a>
<a href="[https://www.producthunt.com/products/formbricks](https://www.producthunt.com/posts/formbricks)"><img src="https://img.shields.io/badge/Product%20Hunt-455-orange?logo=producthunt&logoColor=%23fff" alt="Product Hunt"></a>
<a href="https://github.blog/2023-04-12-github-accelerator-our-first-cohort-and-whats-next/"><img src="https://img.shields.io/badge/2023-blue?logo=github&label=Github%20Accelerator" alt="Github Accelerator"></a>
<a href="https://github.com/formbricks/formbricks/issues?q=is:issue+is:open+label:%22%F0%9F%99%8B%F0%9F%8F%BB%E2%80%8D%E2%99%82%EF%B8%8Fhelp+wanted%22"><img src="https://img.shields.io/badge/Help%20Wanted-Contribute-blue"></a>
</p>
<br/>
> :warning: **Note**: This repository is still in an early stage of development. We love the open source community and want to show what we are working on early. We will update this readme with more information once it is safe to use. Until then, feel free to share your thoughts, contact us, and contribute if you'd like.
<p align="center">
<i>Trusted by</i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://github.com/calcom/cal.com/"><img src="https://github.com/formbricks/formbricks/assets/675065/1a8763cf-f47e-4960-90f6-334f6dc12a17#gh-light-mode-only" height="20px"></a><a href="https://github.com/calcom/cal.com/"><img src="https://github.com/formbricks/formbricks/assets/72809645/9a031e8d-538f-4fdc-9338-b77e9a57d6ac#gh-dark-mode-only" height="20px"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://github.com/CrowdDotDev/crowd.dev"><img src="https://github.com/formbricks/formbricks/assets/675065/59b1a4d4-25e4-4ef3-b0bf-4426446fbfd0#gh-light-mode-only" height="20px"></a><a href="https://github.com/CrowdDotDev/crowd.dev"><img src="https://github.com/formbricks/formbricks/assets/72809645/4bb4caf7-4b64-44c8-94bd-850606d181c1#gh-dark-mode-only" height="20px"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://clovyr.io/"><img src="https://github.com/formbricks/formbricks/assets/675065/9291c8df-9aac-423a-a430-a9a581240075" height="20px"></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="https://neverinstall.com/"><img src="https://github.com/formbricks/formbricks/assets/675065/72e5e37b-8ef7-4340-b06e-f1d12a05330f#gh-light-mode-only" height="20px"></a><a href="https://neverinstall.com/"><img src="https://github.com/formbricks/formbricks/assets/72809645/9d9711dc-75e5-4084-b7fa-bbaf621064a8#gh-dark-mode-only" height="20px">
</p>
<br/>
<p align="center">
<a href="https://trendshift.io/repositories/2570" target="_blank"><img src="https://trendshift.io/api/badge/repositories/2570" alt="Trendshift Badge for formbricks/formbricks" style="width: 250px; height: 55px;" width="250" height="55"/></a>
</p>
## About snoopForms
## About Formbricks
<img width="937" alt="screenshot-snoopForms" src="https://user-images.githubusercontent.com/675065/172094334-b5ca09d0-2058-42e3-9b05-75c79c098d06.svg">
<img width="1527" alt="formbricks-sneak" src="https://github-production-user-asset-6210df.s3.amazonaws.com/675065/249441967-ccb89ea3-82b4-4bf2-8d2c-528721ec313b.png">
Spin up forms in minutes. Pipe your data exactly where you need it. Maximize your results with juicy analytics.
Formbricks is your go-to solution for in-product micro-surveys that will supercharge your product experience. Use micro-surveys to target the right users at the right time without making surveys annoying.
**Try it out in the cloud at [formbricks.com](https://formbricks.com)**
## 💪 Mission: Make customer-centric decisions based on data.
Formbricks is a powerful tool for creating in-product micro-surveys - and leverage a significantly higher conversion rate. It allows you to gather valuable insights from your users, enabling you to make data-driven decisions that enhance your product's user experience. With Formbricks, you can create surveys with our no-code editor, choose from a variety of templates, target specific user groups, and much more.
### Table of Contents
- [Features](#features)
- [Getting Started](#getting-started)
- [Cloud Version](#cloud-version)
- [Self-hosted Version](#self-hosted-version)
- [Development](#development)
- [Contribution](#contribution)
- [Contact](#contact-us)
- [License](#license)
- [Security](#security)
<a id="features"></a>
### Features
- Work with the React Lib or use our No Code Builder to build exactly the forms you need.
- Pipe your data where you need it. Dont wait for your form provider to finally build the integration you desperately need.
- Since you can self-host Snoop Forms, its 100% compliant with all privacy regulations.
- How users interact with your form can be as important as their input. Dont miss anything with our best-in-class analytics.
- We aim for the best possible developer experience. Use what you like, build on top what you need. Everything is possible.
- 📲 Create **in-product surveys** with our no-code editor with multiple question types.
- 📚 Choose from a variety of best-practice **templates**.
- 👩🏻 Launch and **target your surveys to specific user groups** without changing your application code.
- 🔗 Create shareable **link surveys**.
- 👨‍👩‍👦 Invite your team members to **collaborate** on your surveys.
- 🔌 Integrate Formbricks with **Slack, Posthog, Zapier, n8n and more**.
- 🔒 All **open source**, transparent and self-hostable.
### Built With
### Built on Open Source
- [Typescript](https://www.typescriptlang.org/)
- [Next.js](https://nextjs.org/)
- [React](https://reactjs.org/)
- [TailwindCSS](https://tailwindcss.com/)
- [Prisma](https://prisma.io/)
- 💻 [Typescript](https://www.typescriptlang.org/)
- 🚀 [Next.js](https://nextjs.org/)
- ⚛️ [React](https://reactjs.org/)
- 🎨 [TailwindCSS](https://tailwindcss.com/)
- 📚 [Prisma](https://prisma.io/)
- 🔒 [Auth.js](https://authjs.dev/)
- 🧘‍♂️ [Zod](https://zod.dev/)
## Getting started
<a id="getting-started"></a>
To get the project running locally on your machine you need to have the following development tools installed:
## 🚀 Getting started
- Node.JS (we recommend v16)
- Yarn
- PostgreSQL
We've got several options depending on your need to help you quickly get started with Formbricks.
1. Clone the project:
<a id="cloud-version"></a>
```
git clone https://github.com/snoopForms/snoopforms.git && cd snoopforms
```
### ☁️ Cloud Version
2. Install Node.JS packages:
Formbricks has a hosted cloud offering with a generous free plan to get you up and running as quickly as possible. To get started, please visit [formbricks.com](https://formbricks.com).
```
yarn install
```
<a id="self-hosted-version"></a>
3. Create a `.env` file based on `.env.example` and change it according to your setup. Make sure the `DATABASE_URL` variable is set correctly according to your local database.
### 🐳 Self-hosted version
```
cp .env.example .env
```
Formbricks is available Open-Source under AGPLv3 license. You can host Formbricks on your own servers using Docker without a subscription.
4. Use the code editor of your choice to edit the .env file.
(In the future we may develop additional features that aren't in the free Open-Source version).
5. Make sure your PostgreSQL Database Server is running. Then let prisma set up the database for you:
If you opt for self-hosting Formbricks, here are a few options to consider:
```
#### Docker
yarn prisma migrate dev
To get started with self-hosting with Docker, take a look at our [self-hosting docs](https://formbricks.com/docs/self-hosting/deployment).
```
#### Community-managed One Click Hosting
6. Start the development server:
##### Railway
```
You can deploy Formbricks on [Railway](https://railway.app) using the button below.
yarn dev
[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template/PPDzCd)
```
<a id="development"></a>
**You can now access the app on [https://localhost:3000](https://localhost:3000)**
### 👨‍💻 Development
## Deployment
#### Prerequisites
The easiest way to deploy snoopForms yourself on your own machine is using Docker. This requires Docker and the docker compose plugin on your system to work.
Here is what you need to be able to run Formbricks:
Clone the repository:
- [Node.js](https://nodejs.org/en) (Version: >=18.x)
- [Pnpm](https://pnpm.io/)
- [Docker](https://www.docker.com/) - to run PostgreSQL and MailHog
```
#### Local Setup
git clone https://github.com/snoopForms/snoopforms.git && cd snoopforms
To get started locally, we've got a [guide to help you](https://formbricks.com/docs/contributing/setup).
```
#### Gitpod Setup
Create a `.env` file based on `.env.example` and change it according to your setup.
1. Click the button below to open this project in Gitpod.
```
2. This will open a fully configured workspace in your browser with all the necessary dependencies already installed.
cp .env.example .env && nano .env
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/formbricks/formbricks)
```
<a id="contribution"></a>
Start the docker compose process to build and spin up the snoopForms container as well as the postgres database.
## ✍️ Contribution
```
We are very happy if you are interested in contributing to Formbricks 🤗
docker compose up -d
Here are a few options:
```
- Star this repo.
- Create issues every time you feel something is missing or goes wrong.
- Upvote issues with 👍 reaction so we know what the demand for a particular issue is to prioritize it within the roadmap.
You can now access the app on [https://localhost:3000](https://localhost:3000)
Please check out [our contribution guide](https://formbricks.com/docs/contributing/introduction) and our [list of open issues](https://github.com/formbricks/formbricks/issues) for more information.
## Contributing
## All Thanks To Our Contributors
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.
<a href="https://github.com/formbricks/formbricks/graphs/contributors">
<img src="https://contrib.rocks/image?repo=formbricks/formbricks" />
</a>
1. Fork the project
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
3. Make your changes
4. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
5. Push to the branch (`git push origin feature/AmazingFeature`)
6. Open a pull request
<a id="contact-us"></a>
## License
## 📆 Contact us
Distributed under the AGPLv3 License. See `LICENSE` for more information.
Let's have a chat about your survey needs and get you started.
<a href="https://cal.com/johannes/onboarding?utm_source=banner&utm_campaign=oss"><img alt="Book us with Cal.com" src="https://cal.com/book-with-cal-dark.svg" /></a>
<a id="license"></a>
## ⚖️ License
Distributed under the AGPLv3 License. See [`LICENSE`](./LICENSE) for more information.
<a id="security"></a>
## 🔒 Security
We take security very seriously. If you come across any security vulnerabilities, please disclose them by sending an email to security@formbricks.com. We appreciate your help in making our platform as secure as possible and are committed to working with you to resolve any issues quickly and efficiently. See [`SECURITY.md`](./SECURITY.md) for more information.
<p align="right"><a href="#top">🔼 Back to top</a></p>

75
SECURITY.md Normal file
View File

@@ -0,0 +1,75 @@
# Security Policy of Formbricks
This is Formbrick's security policy. Please reach out to us
on our Discord or, if privately, via <security@formbricks.com>
## Introduction
Formbricks is dedicated to maintaining the integrity and security of our systems and our clients' data. In our pursuit to keep our technology environment safe, we welcome the collaborative efforts of our user community and security researchers to enhance security protocols and continuously secure our platform. This security policy outlines our approach towards handling data, ensuring secure practices, and managing the disclosure of vulnerabilities.
## I. Third-Party Data Usage Policy
We affirm our commitment towards meticulous validation of data usage and collection scope by any third-party library or integration utilized in our operations. We adhere to the following protocols:
- Rigorous vetting of third-party services to confirm adherence to our data usage and privacy standards.
- Continuous monitoring and assessment of third-party practices to ensure ongoing compliance.
- Immediate action to mitigate risks if a third-party deviates from agreed-upon data practices.
## II. Annual Penetration Testing (Pentest)
To understand and bolster our security stature, Formbricks undertakes:
- Annual penetration testing executed by an independent, skilled third party.
- Prioritization of any identified issues, with immediate action on critical vulnerabilities.
- Transparent communication and learnings shared with relevant stakeholders.
## III. Vulnerability Reporting and Management
Please do not use attacks on physical security, social engineering, distributed denial of service, spam or applications of third parties.
### **A. When to Report a Vulnerability**
We invite you to report if:
- A potential security vulnerability in Formbricks is identified.
- There is uncertainty about how a vulnerability affects our platform.
- A vulnerability is detected in a dependent project of Formbricks.
- An action was executed which, in your belief, should be restricted.
### **B. When Reporting is Unnecessary**
Avoid reporting if:
- Assistance is needed to optimize Formbricks for security please engage on our Discord for this.
- Help is required for applying security-related updates.
- The concern is not related to security.
### **C. Vulnerability Reporting Procedure**
In the interest of responsibly managing vulnerabilities, please adhere to the following procedure:
> Do not reveal the problem to others until it has been resolved.
1. **Send a Detailed Report**:
- Address emails to [security@formbricks.com](mailto:security@formbricks.com).
- Include:
- Problem description.
- Detailed, reproducible steps, with screenshots where possible.
- Affected version(s).
- Known possible mitigations.
- Your Discord username or preferred contact method.
2. **Acknowledgement of Receipt**:
- Our security team will acknowledge receipt and provide an initial response within 48 hours.
- Following verification of the vulnerability and the fix, a release plan will be formulated, with the fix deployed between 7 to 28 days, depending on the severity and complexity.
3. **Ongoing Communication**:
- A project maintainer may engage with you for additional details or clarification.
- We appreciate your patience as we explore the reported item, verify its authenticity, and ascertain the existence of a vulnerability.
---
### Please Read the below carefully
If you have followed the instructions above, we will **not** take any legal action against you in regard to the report,
We will handle your report with strict confidentiality, and not pass on your personal details to third parties without your permission, We will keep you informed of the progress towards resolving the problem, In the public information concerning the problem reported, we will give your name as the discoverer of the problem (unless you desire otherwise).
We, at Formbricks, wish to express our gratitude towards all individuals who assist us in fortifying our security posture. Your responsible disclosure and cooperation enable us to elevate our security protocols, safeguarding our platform and data therein.

5
apps/demo/.env.example Normal file
View File

@@ -0,0 +1,5 @@
NEXT_PUBLIC_FORMBRICKS_API_HOST=http://localhost:3000
NEXT_PUBLIC_FORMBRICKS_ENVIRONMENT_ID=YOUR_ENVIRONMENT_ID
# Copy the environment ID for the URL of your Formbricks App and
# paste it above to connect your Formbricks App with the Demo App.

4
apps/demo/.eslintrc.js Normal file
View File

@@ -0,0 +1,4 @@
module.exports = {
root: true,
extends: ["formbricks"],
};

36
apps/demo/.gitignore vendored Normal file
View File

@@ -0,0 +1,36 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
# testing
/coverage
# next.js
/.next/
/out/
# production
/build
# misc
.DS_Store
*.pem
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
# local env files
.env*.local
# vercel
.vercel
# typescript
*.tsbuildinfo
next-env.d.ts

View File

@@ -0,0 +1,13 @@
import Sidebar from "./Sidebar";
export default function LayoutApp({ children }: { children: React.ReactNode }) {
return (
<div className="min-h-full">
{/* Static sidebar for desktop */}
<div className="hidden lg:fixed lg:inset-y-0 lg:flex lg:w-64 lg:flex-col">
<Sidebar />
</div>
<div className="flex flex-1 flex-col lg:pl-64">{children}</div>
</div>
);
}

View File

@@ -0,0 +1,65 @@
import { classNames } from "@/lib/utils";
import {
ClockIcon,
CogIcon,
CreditCardIcon,
DocumentChartBarIcon,
HomeIcon,
QuestionMarkCircleIcon,
ScaleIcon,
ShieldCheckIcon,
UserGroupIcon,
} from "@heroicons/react/24/outline";
const navigation = [
{ name: "Home", href: "#", icon: HomeIcon, current: true },
{ name: "History", href: "#", icon: ClockIcon, current: false },
{ name: "Balances", href: "#", icon: ScaleIcon, current: false },
{ name: "Cards", href: "#", icon: CreditCardIcon, current: false },
{ name: "Recipients", href: "#", icon: UserGroupIcon, current: false },
{ name: "Reports", href: "#", icon: DocumentChartBarIcon, current: false },
];
const secondaryNavigation = [
{ name: "Settings", href: "#", icon: CogIcon },
{ name: "Help", href: "#", icon: QuestionMarkCircleIcon },
{ name: "Privacy", href: "#", icon: ShieldCheckIcon },
];
export default function Sidebar({}) {
return (
<div className="flex flex-grow flex-col overflow-y-auto bg-cyan-700 pb-4 pt-5">
<nav
className="mt-5 flex flex-1 flex-col divide-y divide-cyan-800 overflow-y-auto"
aria-label="Sidebar">
<div className="space-y-1 px-2">
{navigation.map((item) => (
<a
key={item.name}
href={item.href}
className={classNames(
item.current ? "bg-cyan-800 text-white" : "text-cyan-100 hover:bg-cyan-600 hover:text-white",
"group flex items-center rounded-md px-2 py-2 text-sm font-medium leading-6"
)}
aria-current={item.current ? "page" : undefined}>
<item.icon className="mr-4 h-6 w-6 flex-shrink-0 text-cyan-200" aria-hidden="true" />
{item.name}
</a>
))}
</div>
<div className="mt-6 pt-6">
<div className="space-y-1 px-2">
{secondaryNavigation.map((item) => (
<a
key={item.name}
href={item.href}
className="group flex items-center rounded-md px-2 py-2 text-sm font-medium leading-6 text-cyan-100 hover:bg-cyan-600 hover:text-white">
<item.icon className="mr-4 h-6 w-6 text-cyan-200" aria-hidden="true" />
{item.name}
</a>
))}
</div>
</div>
</nav>
</div>
);
}

3
apps/demo/lib/utils.ts Normal file
View File

@@ -0,0 +1,3 @@
export function classNames(...classes: any) {
return classes.filter(Boolean).join(" ");
}

27
apps/demo/next.config.js Normal file
View File

@@ -0,0 +1,27 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
async redirects() {
return [
{
source: "/",
destination: "/app",
permanent: false,
},
];
},
images: {
remotePatterns: [
{
protocol: "https",
hostname: "tailwindui.com",
},
{
protocol: "https",
hostname: "images.unsplash.com",
},
],
},
};
module.exports = nextConfig;

23
apps/demo/package.json Normal file
View File

@@ -0,0 +1,23 @@
{
"name": "@formbricks/demo",
"version": "0.1.0",
"private": true,
"scripts": {
"clean": "rimraf .turbo node_modules .next",
"dev": "next dev -p 3002 --turbo",
"go": "next dev -p 3002",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@formbricks/js": "workspace:*",
"@heroicons/react": "^2.0.18",
"next": "14.0.0",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"eslint-config-formbricks": "workspace:*"
}
}

20
apps/demo/pages/_app.tsx Normal file
View File

@@ -0,0 +1,20 @@
import type { AppProps } from "next/app";
import Head from "next/head";
import "../styles/globals.css";
export default function App({ Component, pageProps }: AppProps) {
return (
<>
<Head>
<title>Demo App</title>
</Head>
{(!process.env.NEXT_PUBLIC_FORMBRICKS_ENVIRONMENT_ID ||
!process.env.NEXT_PUBLIC_FORMBRICKS_API_HOST) && (
<div className="w-full bg-red-500 p-3 text-center text-sm text-white">
Please set Formbricks environment variables in apps/demo/.env
</div>
)}
<Component {...pageProps} />
</>
);
}

View File

@@ -0,0 +1,13 @@
import { Html, Head, Main, NextScript } from "next/document";
export default function Document() {
return (
<Html lang="en" className="h-full bg-gray-50">
<Head />
<body className="h-full">
<Main />
<NextScript />
</body>
</Html>
);
}

View File

@@ -0,0 +1,273 @@
import formbricks from "@formbricks/js";
import Image from "next/image";
import { useEffect, useState } from "react";
import fbsetup from "../../public/fb-setup.png";
import { useRouter } from "next/router";
declare const window: any;
export default function AppPage({}) {
const [darkMode, setDarkMode] = useState(false);
const router = useRouter();
useEffect(() => {
if (darkMode) {
document.body.classList.add("dark");
} else {
document.body.classList.remove("dark");
}
}, [darkMode]);
useEffect(() => {
if (process.env.NEXT_PUBLIC_FORMBRICKS_ENVIRONMENT_ID && process.env.NEXT_PUBLIC_FORMBRICKS_API_HOST) {
const isUserId = window.location.href.includes("userId=true");
const userId = isUserId ? "THIS-IS-A-VERY-LONG-USER-ID-FOR-TESTING" : undefined;
formbricks.init({
environmentId: process.env.NEXT_PUBLIC_FORMBRICKS_ENVIRONMENT_ID,
apiHost: process.env.NEXT_PUBLIC_FORMBRICKS_API_HOST,
userId,
debug: true,
});
window.formbricks = formbricks;
}
// Connect next.js router to Formbricks
if (process.env.NEXT_PUBLIC_FORMBRICKS_ENVIRONMENT_ID && process.env.NEXT_PUBLIC_FORMBRICKS_API_HOST) {
const handleRouteChange = formbricks?.registerRouteChange;
router.events.on("routeChangeComplete", handleRouteChange);
return () => {
router.events.off("routeChangeComplete", handleRouteChange);
};
}
});
return (
<div className="h-screen bg-white px-12 py-6 dark:bg-slate-800">
<div className="flex flex-col justify-between md:flex-row">
<div>
<h1 className="text-2xl font-bold text-slate-900 dark:text-white">
Formbricks In-product Survey Demo App
</h1>
<p className="text-slate-700 dark:text-slate-300">
This app helps you test your in-app surveys. You can create and test user actions, create and
update user attributes, etc.
</p>
</div>
<button
className="mt-2 rounded-lg bg-slate-200 px-6 py-1 dark:bg-slate-700 dark:text-slate-100"
onClick={() => setDarkMode(!darkMode)}>
{darkMode ? "Toggle Light Mode" : "Toggle Dark Mode"}
</button>
</div>
<div className="my-4 grid grid-cols-1 gap-6 md:grid-cols-2">
<div>
<div className="rounded-lg border border-slate-300 bg-slate-100 p-6 dark:border-slate-600 dark:bg-slate-900">
<h3 className="text-lg font-semibold text-slate-900 dark:text-white">1. Setup .env</h3>
<p className="text-slate-700 dark:text-slate-300">
Copy the environment ID of your Formbricks app to the env variable in demo/.env
</p>
<Image src={fbsetup} alt="fb setup" className="mt-4 rounded" priority />
<div className="mt-4 flex-col items-start text-sm text-slate-700 dark:text-slate-300 sm:flex sm:items-center sm:text-base">
<p className="mb-1 sm:mb-0 sm:mr-2">You&apos;re connected with env:</p>
<div className="flex items-center">
<strong className="w-32 truncate sm:w-auto">
{process.env.NEXT_PUBLIC_FORMBRICKS_ENVIRONMENT_ID}
</strong>
<span className="relative ml-2 flex h-3 w-3">
<span className="absolute inline-flex h-full w-full animate-ping rounded-full bg-green-400 opacity-75"></span>
<span className="relative inline-flex h-3 w-3 rounded-full bg-green-500"></span>
</span>
</div>
</div>
</div>
<div className="mt-4 rounded-lg border border-slate-300 bg-slate-100 p-6 dark:border-slate-600 dark:bg-slate-900">
<h3 className="text-lg font-semibold text-slate-900 dark:text-white">2. Widget Logs</h3>
<p className="text-slate-700 dark:text-slate-300">
Look at the logs to understand how the widget works.{" "}
<strong className="dark:text-white">Open your browser console</strong> to see the logs.
</p>
{/* <div className="max-h-[40vh] overflow-y-auto py-4">
<LogsContainer />
</div> */}
</div>
</div>
<div className="md:grid md:grid-cols-3">
<div className="col-span-3 rounded-lg border border-slate-300 bg-slate-100 p-6 dark:border-gray-600 dark:bg-gray-800">
<h3 className="text-lg font-semibold dark:text-white">
Reset person / pull data from Formbricks app
</h3>
<p className="text-slate-700 dark:text-gray-300">
On formbricks.reset() a few things happen: <strong>New person is created</strong> and{" "}
<strong>surveys & no-code actions are pulled from Formbricks:</strong>.
</p>
<button
className="my-4 rounded-lg bg-slate-500 px-6 py-3 text-white hover:bg-slate-700 dark:bg-gray-700 dark:hover:bg-gray-600"
onClick={() => {
formbricks.reset();
}}>
Reset
</button>
<p className="text-xs text-slate-700 dark:text-gray-300">
If you made a change in Formbricks app and it does not seem to work, hit &apos;Reset&apos; and
try again.
</p>
</div>
<div className="p-6">
<div>
<button
className="mb-4 rounded-lg bg-slate-800 px-6 py-3 text-white hover:bg-slate-700 dark:bg-gray-700 dark:hover:bg-gray-600"
onClick={() => {
formbricks.track("Code Action");
}}>
Code Action
</button>
</div>
<div>
<p className="text-xs text-slate-700 dark:text-gray-300">
This button sends a{" "}
<a href="https://formbricks.com/docs/actions/code" className="underline" target="_blank">
Code Action
</a>{" "}
to the Formbricks API called &apos;Code Action&apos;. You will find it in the Actions Tab.
</p>
</div>
</div>
<div className="p-6">
<div>
<button className="mb-4 rounded-lg bg-slate-800 px-6 py-3 text-white hover:bg-slate-700 dark:bg-gray-700 dark:hover:bg-gray-600">
No-Code Action
</button>
</div>
<div>
<p className="text-xs text-slate-700 dark:text-gray-300">
This button sends a{" "}
<a
href="https://formbricks.com/docs/actions/no-code"
className="underline dark:text-blue-500"
target="_blank">
No Code Action
</a>{" "}
as long as you created it beforehand in the Formbricks App.{" "}
<a
href="https://formbricks.com/docs/actions/no-code"
target="_blank"
className="underline dark:text-blue-500">
Here are instructions on how to do it.
</a>
</p>
</div>
</div>
<div className="p-6">
<div>
<button
onClick={() => {
formbricks.setAttribute("Plan", "Free");
}}
className="mb-4 rounded-lg bg-slate-800 px-6 py-3 text-white hover:bg-slate-700 dark:bg-gray-700 dark:hover:bg-gray-600">
Set Plan to &apos;Free&apos;
</button>
</div>
<div>
<p className="text-xs text-slate-700 dark:text-gray-300">
This button sets the{" "}
<a
href="https://formbricks.com/docs/attributes/custom-attributes"
target="_blank"
className="underline dark:text-blue-500">
attribute
</a>{" "}
&apos;Plan&apos; to &apos;Free&apos;. If the attribute does not exist, it creates it.
</p>
</div>
</div>
<div className="p-6">
<div>
<button
onClick={() => {
formbricks.setAttribute("Plan", "Paid");
}}
className="mb-4 rounded-lg bg-slate-800 px-6 py-3 text-white hover:bg-slate-700 dark:bg-gray-700 dark:hover:bg-gray-600">
Set Plan to &apos;Paid&apos;
</button>
</div>
<div>
<p className="text-xs text-slate-700 dark:text-gray-300">
This button sets the{" "}
<a
href="https://formbricks.com/docs/attributes/custom-attributes"
target="_blank"
className="underline dark:text-blue-500">
attribute
</a>{" "}
&apos;Plan&apos; to &apos;Paid&apos;. If the attribute does not exist, it creates it.
</p>
</div>
</div>
<div className="p-6">
<div>
<button
onClick={() => {
formbricks.setEmail("test@web.com");
}}
className="mb-4 rounded-lg bg-slate-800 px-6 py-3 text-white hover:bg-slate-700 dark:bg-gray-700 dark:hover:bg-gray-600">
Set Email
</button>
</div>
<div>
<p className="text-xs text-slate-700 dark:text-gray-300">
This button sets the{" "}
<a
href="https://formbricks.com/docs/attributes/identify-users"
target="_blank"
className="underline dark:text-blue-500">
user email
</a>{" "}
&apos;test@web.com&apos;
</p>
</div>
</div>
<div className="p-6">
{router.query.userId === "true" ? (
<div>
<button
onClick={() => {
window.location.href = "/app";
}}
className="mb-4 rounded-lg bg-slate-800 px-6 py-3 text-white hover:bg-slate-700 dark:bg-gray-700 dark:hover:bg-gray-600">
Deactivate User Identification
</button>
</div>
) : (
<div>
<button
onClick={() => {
window.location.href = "/app?userId=true";
}}
className="mb-4 rounded-lg bg-slate-800 px-6 py-3 text-white hover:bg-slate-700 dark:bg-gray-700 dark:hover:bg-gray-600">
Activate User Identification
</button>
</div>
)}
<div>
<p className="text-xs text-slate-700 dark:text-gray-300">
This button activates/deactivates{" "}
<a
href="https://formbricks.com/docs/attributes/identify-users"
target="_blank"
className="underline dark:text-blue-500">
user identification
</a>{" "}
with the userId &apos;THIS-IS-A-VERY-LONG-USER-ID-FOR-TESTING&apos;
</p>
</div>
</div>
</div>
</div>
</div>
);
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 394 80"><path fill="#000" d="M262 0h68.5v12.7h-27.2v66.6h-13.6V12.7H262V0ZM149 0v12.7H94v20.4h44.3v12.6H94v21h55v12.6H80.5V0h68.7zm34.3 0h-17.8l63.8 79.4h17.9l-32-39.7 32-39.6h-17.9l-23 28.6-23-28.6zm18.3 56.7-9-11-27.1 33.7h17.8l18.3-22.7z"/><path fill="#000" d="M81 79.3 17 0H0v79.3h13.6V17l50.2 62.3H81Zm252.6-.4c-1 0-1.8-.4-2.5-1s-1.1-1.6-1.1-2.6.3-1.8 1-2.5 1.6-1 2.6-1 1.8.3 2.5 1a3.4 3.4 0 0 1 .6 4.3 3.7 3.7 0 0 1-3 1.8zm23.2-33.5h6v23.3c0 2.1-.4 4-1.3 5.5a9.1 9.1 0 0 1-3.8 3.5c-1.6.8-3.5 1.3-5.7 1.3-2 0-3.7-.4-5.3-1s-2.8-1.8-3.7-3.2c-.9-1.3-1.4-3-1.4-5h6c.1.8.3 1.6.7 2.2s1 1.2 1.6 1.5c.7.4 1.5.5 2.4.5 1 0 1.8-.2 2.4-.6a4 4 0 0 0 1.6-1.8c.3-.8.5-1.8.5-3V45.5zm30.9 9.1a4.4 4.4 0 0 0-2-3.3 7.5 7.5 0 0 0-4.3-1.1c-1.3 0-2.4.2-3.3.5-.9.4-1.6 1-2 1.6a3.5 3.5 0 0 0-.3 4c.3.5.7.9 1.3 1.2l1.8 1 2 .5 3.2.8c1.3.3 2.5.7 3.7 1.2a13 13 0 0 1 3.2 1.8 8.1 8.1 0 0 1 3 6.5c0 2-.5 3.7-1.5 5.1a10 10 0 0 1-4.4 3.5c-1.8.8-4.1 1.2-6.8 1.2-2.6 0-4.9-.4-6.8-1.2-2-.8-3.4-2-4.5-3.5a10 10 0 0 1-1.7-5.6h6a5 5 0 0 0 3.5 4.6c1 .4 2.2.6 3.4.6 1.3 0 2.5-.2 3.5-.6 1-.4 1.8-1 2.4-1.7a4 4 0 0 0 .8-2.4c0-.9-.2-1.6-.7-2.2a11 11 0 0 0-2.1-1.4l-3.2-1-3.8-1c-2.8-.7-5-1.7-6.6-3.2a7.2 7.2 0 0 1-2.4-5.7 8 8 0 0 1 1.7-5 10 10 0 0 1 4.3-3.5c2-.8 4-1.2 6.4-1.2 2.3 0 4.4.4 6.2 1.2 1.8.8 3.2 2 4.3 3.4 1 1.4 1.5 3 1.5 5h-5.8z"/></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="31" fill="none"><g opacity=".9"><path fill="url(#a)" d="M13 .4v29.3H7V6.3h-.2L0 10.5V5L7.2.4H13Z"/><path fill="url(#b)" d="M28.8 30.1c-2.2 0-4-.3-5.7-1-1.7-.8-3-1.8-4-3.1a7.7 7.7 0 0 1-1.4-4.6h6.2c0 .8.3 1.4.7 2 .4.5 1 .9 1.7 1.2.7.3 1.6.4 2.5.4 1 0 1.7-.2 2.5-.5.7-.3 1.3-.8 1.7-1.4.4-.6.6-1.2.6-2s-.2-1.5-.7-2.1c-.4-.6-1-1-1.8-1.4-.8-.4-1.8-.5-2.9-.5h-2.7v-4.6h2.7a6 6 0 0 0 2.5-.5 4 4 0 0 0 1.7-1.3c.4-.6.6-1.3.6-2a3.5 3.5 0 0 0-2-3.3 5.6 5.6 0 0 0-4.5 0 4 4 0 0 0-1.7 1.2c-.4.6-.6 1.2-.6 2h-6c0-1.7.6-3.2 1.5-4.5 1-1.3 2.2-2.3 3.8-3C25 .4 26.8 0 28.8 0s3.8.4 5.3 1.1c1.5.7 2.7 1.7 3.6 3a7.2 7.2 0 0 1 1.2 4.2c0 1.6-.5 3-1.5 4a7 7 0 0 1-4 2.2v.2c2.2.3 3.8 1 5 2.2a6.4 6.4 0 0 1 1.6 4.6c0 1.7-.5 3.1-1.4 4.4a9.7 9.7 0 0 1-4 3.1c-1.7.8-3.7 1.1-5.8 1.1Z"/></g><defs><linearGradient id="a" x1="20" x2="20" y1="0" y2="30.1" gradientUnits="userSpaceOnUse"><stop/><stop offset="1" stop-color="#3D3D3D"/></linearGradient><linearGradient id="b" x1="20" x2="20" y1="0" y2="30.1" gradientUnits="userSpaceOnUse"><stop/><stop offset="1" stop-color="#3D3D3D"/></linearGradient></defs></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 283 64"><path fill="black" d="M141 16c-11 0-19 7-19 18s9 18 20 18c7 0 13-3 16-7l-7-5c-2 3-6 4-9 4-5 0-9-3-10-7h28v-3c0-11-8-18-19-18zm-9 15c1-4 4-7 9-7s8 3 9 7h-18zm117-15c-11 0-19 7-19 18s9 18 20 18c6 0 12-3 16-7l-8-5c-2 3-5 4-8 4-5 0-9-3-11-7h28l1-3c0-11-8-18-19-18zm-10 15c2-4 5-7 10-7s8 3 9 7h-19zm-39 3c0 6 4 10 10 10 4 0 7-2 9-5l8 5c-3 5-9 8-17 8-11 0-19-7-19-18s8-18 19-18c8 0 14 3 17 8l-8 5c-2-3-5-5-9-5-6 0-10 4-10 10zm83-29v46h-9V5h9zM37 0l37 64H0L37 0zm92 5-27 48L74 5h10l18 30 17-30h10zm59 12v10l-3-1c-6 0-10 4-10 10v15h-9V17h9v9c0-5 6-9 13-9z"/></svg>

After

Width:  |  Height:  |  Size: 629 B

View File

@@ -0,0 +1,26 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
/* Example on overriding packages/js colors */
.dark {
--fb-brand-color: red;
--fb-brand-text-color: white;
--fb-border-color: green;
--fb-border-color-highlight: var(--slate-500);
--fb-focus-color: red;
--fb-heading-color: yellow;
--fb-subheading-color: green;
--fb-info-text-color: orange;
--fb-signature-text-color: blue;
--fb-survey-background-color: black;
--fb-accent-background-color: rgb(13, 13, 12);
--fb-accent-background-color-selected: red;
--fb-placeholder-color: white;
--fb-shadow-color: yellow;
--fb-rating-fill: var(--yellow-300);
--fb-rating-hover: var(--yellow-500);
--fb-back-btn-border: currentColor;
--fb-submit-btn-border: transparent;
--fb-rating-selected: black;
}

View File

@@ -0,0 +1,13 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./app/**/*.{js,ts,jsx,tsx}",
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
darkMode: "class",
theme: {
extend: {},
},
plugins: [require("@tailwindcss/forms")],
};

View File

@@ -1,11 +1,10 @@
{
"compilerOptions": {
"target": "es5",
"downlevelIteration": true,
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
@@ -15,14 +14,10 @@
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"noUnusedLocals": true,
"noUnusedParameters": true
},
"exclude": ["node_modules"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"ts-node": {
"compilerOptions": {
"module": "commonjs"
"paths": {
"@/*": ["./*"]
}
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}

View File

@@ -0,0 +1,6 @@
NEXT_PUBLIC_FORMBRICKS_COM_API_HOST=http://localhost:3000
NEXT_PUBLIC_FORMBRICKS_COM_ENVIRONMENT_ID=
NEXT_PUBLIC_FORMBRICKS_COM_DOCS_FEEDBACK_SURVEY_ID=
# Strapi API Key
STRAPI_API_KEY=

View File

@@ -0,0 +1,4 @@
module.exports = {
root: true,
extends: ["formbricks"],
};

37
apps/formbricks-com/.gitignore vendored Normal file
View File

@@ -0,0 +1,37 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
# testing
/coverage
# next.js
/.next/
/out/
# production
/build
# misc
.DS_Store
*.pem
# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# local env files
.env*.local
# vercel
.vercel
# typescript
*.tsbuildinfo
next-env.d.ts
public/sitemap*.xml

View File

@@ -0,0 +1,129 @@
# Tailwind UI License
## Personal License
Tailwind Labs Inc. grants you an on-going, non-exclusive license to use the Components and Templates.
The license grants permission to **one individual** (the Licensee) to access and use the Components and Templates.
You **can**:
- Use the Components and Templates to create unlimited End Products.
- Modify the Components and Templates to create derivative components and templates. Those components and templates are subject to this license.
- Use the Components and Templates to create unlimited End Products for unlimited Clients.
- Use the Components and Templates to create End Products where the End Product is sold to End Users.
- Use the Components and Templates to create End Products that are open source and freely available to End Users.
You **cannot**:
- Use the Components and Templates to create End Products that are designed to allow an End User to build their own End Products using the Components and Templates or derivatives of the Components and Templates.
- Re-distribute the Components and Templates or derivatives of the Components and Templates separately from an End Product, neither in code or as design assets.
- Share your access to the Components and Templates with any other individuals.
- Use the Components and Templates to produce anything that may be deemed by Tailwind Labs Inc, in their sole and absolute discretion, to be competitive or in conflict with the business of Tailwind Labs Inc.
### Example usage
Examples of usage **allowed** by the license:
- Creating a personal website by yourself.
- Creating a website or web application for a client that will be owned by that client.
- Creating a commercial SaaS application (like an invoicing app for example) where end users have to pay a fee to use the application.
- Creating a commercial self-hosted web application that is sold to end users for a one-time fee.
- Creating a web application where the primary purpose is clearly not to simply re-distribute the components (like a conference organization app that uses the components for its UI for example) that is free and open source, where the source code is publicly available.
Examples of usage **not allowed** by the license:
- Creating a repository of your favorite Tailwind UI components or templates (or derivatives based on Tailwind UI components or templates) and publishing it publicly.
- Creating a React or Vue version of Tailwind UI and making it available either for sale or for free.
- Create a Figma or Sketch UI kit based on the Tailwind UI component designs.
- Creating a "website builder" project where end users can build their own websites using components or templates included with or derived from Tailwind UI.
- Creating a theme, template, or project starter kit using the components or templates and making it available either for sale or for free.
- Creating an admin panel tool (like [Laravel Nova](https://nova.laravel.com/) or [ActiveAdmin](https://activeadmin.info/)) that is made available either for sale or for free.
In simple terms, use Tailwind UI for anything you like as long as it doesn't compete with Tailwind UI.
### Personal License Definitions
Licensee is the individual who has purchased a Personal License.
Components and Templates are the source code and design assets made available to the Licensee after purchasing a Tailwind UI license.
End Product is any artifact produced that incorporates the Components or Templates or derivatives of the Components or Templates.
End User is a user of an End Product.
Client is an individual or entity receiving custom professional services directly from the Licensee, produced specifically for that individual or entity. Customers of software-as-a-service products are not considered clients for the purpose of this document.
## Team License
Tailwind Labs Inc. grants you an on-going, non-exclusive license to use the Components and Templates.
The license grants permission for **up to 25 Employees and Contractors of the Licensee** to access and use the Components and Templates.
You **can**:
- Use the Components and Templates to create unlimited End Products.
- Modify the Components and Templates to create derivative components and templates. Those components and templates are subject to this license.
- Use the Components and Templates to create unlimited End Products for unlimited Clients.
- Use the Components and Templates to create End Products where the End Product is sold to End Users.
- Use the Components and Templates to create End Products that are open source and freely available to End Users.
You **cannot**:
- Use the Components or Templates to create End Products that are designed to allow an End User to build their own End Products using the Components or Templates or derivatives of the Components or Templates.
- Re-distribute the Components or Templates or derivatives of the Components or Templates separately from an End Product.
- Use the Components or Templates to create End Products that are the property of any individual or entity other than the Licensee or Clients of the Licensee.
- Use the Components or Templates to produce anything that may be deemed by Tailwind Labs Inc, in their sole and absolute discretion, to be competitive or in conflict with the business of Tailwind Labs Inc.
### Example usage
Examples of usage **allowed** by the license:
- Creating a website for your company.
- Creating a website or web application for a client that will be owned by that client.
- Creating a commercial SaaS application (like an invoicing app for example) where end users have to pay a fee to use the application.
- Creating a commercial self-hosted web application that is sold to end users for a one-time fee.
- Creating a web application where the primary purpose is clearly not to simply re-distribute the components or templates (like a conference organization app that uses the components or a template for its UI for example) that is free and open source, where the source code is publicly available.
Examples of use **not allowed** by the license:
- Creating a repository of your favorite Tailwind UI components or template (or derivatives based on Tailwind UI components or templates) and publishing it publicly.
- Creating a React or Vue version of Tailwind UI and making it available either for sale or for free.
- Creating a "website builder" project where end users can build their own websites using components or templates included with or derived from Tailwind UI.
- Creating a theme or template using the components or templates and making it available either for sale or for free.
- Creating an admin panel tool (like [Laravel Nova](https://nova.laravel.com/) or [ActiveAdmin](https://activeadmin.info/)) that is made available either for sale or for free.
- Creating any End Product that is not the sole property of either your company or a client of your company. For example your employees/contractors can't use your company Tailwind UI license to build their own websites or side projects.
### Team License Definitions
Licensee is the business entity who has purchased a Team License.
Components and Templates are the source code and design assets made available to the Licensee after purchasing a Tailwind UI license.
End Product is any artifact produced that incorporates the Components or Templates or derivatives of the Components or Templates.
End User is a user of an End Product.
Employee is a full-time or part-time employee of the Licensee.
Contractor is an individual or business entity contracted to perform services for the Licensee.
Client is an individual or entity receiving custom professional services directly from the Licensee, produced specifically for that individual or entity. Customers of software-as-a-service products are not considered clients for the purpose of this document.
## Enforcement
If you are found to be in violation of the license, access to your Tailwind UI account will be terminated, and a refund may be issued at our discretion. When license violation is blatant and malicious (such as intentionally redistributing the Components or Templates through private warez channels), no refund will be issued.
The copyright of the Components and Templates is owned by Tailwind Labs Inc. You are granted only the permissions described in this license; all other rights are reserved. Tailwind Labs Inc. reserves the right to pursue legal remedies for any unauthorized use of the Components or Templates outside the scope of this license.
## Liability
Tailwind Labs Inc.s liability to you for costs, damages, or other losses arising from your use of the Components or Templates — including third-party claims against you — is limited to a refund of your license fee. Tailwind Labs Inc. may not be held liable for any consequential damages related to your use of the Components or Templates.
This Agreement is governed by the laws of the Province of Ontario and the applicable laws of Canada. Legal proceedings related to this Agreement may only be brought in the courts of Ontario. You agree to service of process at the e-mail address on your original order.
## Questions?
Unsure which license you need, or unsure if your use case is covered by our licenses?
Email us at [support@tailwindui.com](mailto:support@tailwindui.com) with your questions.

View File

@@ -0,0 +1,37 @@
export const metadata = {
title: "Implementing Code Actions in Formbricks | Real-time User Action Tracking",
description:
"Dive into the world of Formbricks' code actions. Learn how to seamlessly integrate formbricks.track() method into your codebase, enabling real-time tracking of user actions like button clicks, visiting a specific URL. Up your survey game with precise and exact triggers.",
};
#### Actions
# Code Actions
Actions can also be set in the codebase to trigger surveys. Please add the code action first in the Formbricks web interface to be able to configure your surveys to use this action.
After that you can fire an action using `formbricks.track()`
<Col>
<CodeGroup title="Track an action">
```javascript
formbricks.track("Action Name");
```
</CodeGroup>
</Col>
Here is an example of how to fire an action when a user clicks a button:
<Col>
<CodeGroup title="Track Button Click">
```javascript
const handleClick = () => {
formbricks.track("Button Clicked");
};
return <button onClick={handleClick}>Click Me</button>;
```
</CodeGroup>
</Col>

View File

@@ -0,0 +1,30 @@
export const metadata = {
title: "Implementing No-Code Actions in Formbricks | Real-time User Action Tracking",
description:
"Discover the power of Formbricks' No-Code Actions. Easily set up triggers based on Page URL, innerText, and CSS Selectors without touching a line of code. Inccrease user engagement and get insights at precise moments in the user journey.",
};
#### Actions
# No-Code Actions
No-Code actions can be set up within Formbricks with just a few clicks. There are three types of No-Code actions:
## Page URL Action
The page URL action is triggered, when a user visits a specific page in your application. There are several match conditions:
- `exactMatch`: The URL should exactly match the provided string.
- `contains`: The URL should contain the specified string as a substring.
- `startsWith`: The URL should start with the specified string.
- `endsWith`: The URL should end with the specified string.
- `notMatch`: The URL should not match the specified condition.
- `notContains`: The URL should not contain the specified string as a substring.
## innerText Action
The innerText action checks if the `innerText` of a clicked HTML element matches a specific text, e.g. the label of a button. Display a survey on any button click!
## CSS Selector Action
The CSS Selector action checks if the provided CSS selector matches the selector of a clicked HTML element. The CSS selector can be a class, id or any other CSS selector within your website. Display a survey on any element click!

View File

@@ -0,0 +1,23 @@
export const metadata = {
title: "Using Actions in Formbricks | Fine-tuning User Moments",
description:
"Dive deep into how actions in Formbricks help products and teams to engage users at precise moments in their journey. Discover the power of actions, from coding to no-code setups, to refine user targeting and generate richer, more detailed user insights.",
};
#### Actions
# What are actions and why are they useful?
You want to understand what your users think and feel during specific moments in the user journey. To be able to ask at exactly the right point in time, you need actions.
## What are actions?
Actions are a little notification sent from your application to Formbricks. You decide which actions are sent either in your [Code](/docs/actions/code) or by setting up a [No-Code](/docs/actions/no-code) action within Formbricks.
## How do actions work?
When a predefined action happens in your app, the Formbricks widget notices. This action can then trigger a survey to be shown to the user and is stored in the database.
## Why are actions useful?
Actions help you to display your surveys at the right time. Later on, you will be able to segment your users based on the actions they have triggered in the past. This way, you can create much more granular user segments, e.g. only target users that already have used a specific feature.

View File

@@ -0,0 +1,85 @@
import { Fence } from "@/components/shared/Fence";
export const metadata = {
title: "Formbricks Responses API Documentation - Manage Your Survey Data Seamlessly",
description:
"Unlock the full potential of Formbricks' Client Actions API. Create Actions right from the API.",
};
#### Client API
# Actions API
The Public Client API is designed for the JavaScript SDK and does not require authentication. It's primarily used for creating persons, sessions, and responses within the Formbricks platform. This API is ideal for client-side interactions, as it doesn't expose sensitive information.
This API can be used to:
- [Add Action for User](#add-action-for-user)
---
## Add Action for User {{ tag: 'POST', label: '/api/v1/client/<environment-id>/actions' }}
Adds an Actions for a given User by their User ID
<Row>
<Col>
### Mandatory Body Fields
<Properties>
<Property name="userId" type="string">
The id of the user for whom the action is being created.
</Property>
<Property name="name" type="string">
The name of the Action being created.
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="POST" label="/api/v1/client/<environment-id>/actions">
```bash {{ title: 'cURL' }}
curl --location --request POST 'https://app.formbricks.com/api/v1/client/<environment-id>/actions' \
--data-raw '{
"userId": "1",
"name": "new_action_v2"
}'
```
```json {{ title: 'Example Request Body' }}
{
"userId": "1",
"name": "new_action_v2"
}
```
</CodeGroup>
<CodeGroup title="Response">
```json {{ title: '200 Success' }}
{
"data": {}
}
```
```json {{ title: '400 Bad Request' }}
{
"code": "bad_request",
"message": "Fields are missing or incorrectly formatted",
"details": {
"name": "Required"
}
}
```
</CodeGroup>
</Col>
</Row>
---

View File

@@ -0,0 +1,157 @@
import { Fence } from "@/components/shared/Fence";
export const metadata = {
title: "Formbricks Public Client API Guide: Manage Survey Displays & Responses",
description:
"Dive deep into Formbricks' Public Client API designed for customisation. This comprehensive guide provides detailed instructions on how to mark create and update survey displays for users.",
};
#### Client API
# Displays API
The Public Client API is designed for the JavaScript SDK and does not require authentication. It's primarily used for creating persons, sessions, and responses within the Formbricks platform. This API is ideal for client-side interactions, as it doesn't expose sensitive information.
This set of API can be used to
- [Create Display](#create-display)
- [Update Display](#update-display)
---
## Create Display {{ tag: 'POST', label: '/api/v1/client/<environment-id>/diplays' }}
<Row>
<Col>
Create Display of survey for a user
### Mandatory Request Body JSON Keys
<Properties>
<Property name="surveyId" type="string">
Survey ID to mark as viewed for a person
</Property>
</Properties>
### Optional Request Body JSON Keys
<Properties>
<Property name="userId" type="string">
Already existing user's ID to mark as viewed for a survey
</Property>
<Property name="responseId" type="string">
Already existing response's ID to link with this new Display
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="POST" label="/api/v1/client/<environment-id>/displays">
```bash {{ title: 'cURL' }}
curl -X POST \
'https://app.formbricks.com/api/v1/client/displays' \
-H 'Content-Type: application/json' \
-d '{
"surveyId":"<survey-id>",
"userId":"<user-id>"
}'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{title:'200 Success'}}
{
"data": {
"id": "clp83r8uy000ceyqcbld2ebwj",
"createdAt": "2023-11-21T08:57:23.866Z",
"updatedAt": "2023-11-21T08:57:23.866Z",
"surveyId": "cloqzeuu70000z8khcirufo60",
"responseId": null,
"personId": "cloo25v3e0000z8ptskh030jd"
}
}
```
```json {{ title: '400 Bad Request' }}
{
"code": "bad_request",
"message": "Fields are missing or incorrectly formatted",
"details": {
"surveyId": "Required"
}
}
```
</CodeGroup>
</Col>
</Row>
---
## Update Display {{ tag: 'PUT', label: '/api/v1/client/<environment-id>/diplays/<display-id>' }}
<Row>
<Col>
Update a display by it's ID
### Optional Request Body JSON Keys
<Properties>
<Property name="userId" type="string">
Already existing user's ID to mark as viewed for a survey
</Property>
<Property name="responseId" type="string">
Already existing response's ID to link with this new Display
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="PUT" label="/api/v1/client/<environment-id>/displays/<display-id>">
```bash {{ title: 'cURL' }}
curl -X POST \
'https://app.formbricks.com/api/v1/client/<environment-id>/displays/<display-id>' \
-H 'Content-Type: application/json' \
-d '{
"userId":"<user-id>"
}'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{title:'200 Success'}}
{
"data": {
"id": "clp83r8uy000ceyqcbld2ebwj",
"createdAt": "2023-11-21T08:57:23.866Z",
"updatedAt": "2023-11-21T09:05:27.285Z",
"surveyId": "cloqzeuu70000z8khcirufo60",
"responseId": null,
"personId": "cloo25v3e0000z8ptskh030jd"
}
}
```
```json {{ title: '400 Bad Request' }}
{
"code": "bad_request",
"message": "Fields are missing or incorrectly formatted",
"details": {
"surveyId": "Required"
}
}
```
</CodeGroup>
</Col>
</Row>
---

View File

@@ -0,0 +1,45 @@
export const metadata = {
title: "Formbricks API Overview: Public Client & Management API Breakdown",
description:
"Get a detailed understanding of Formbricks' dual API offerings: the unauthenticated Public Client API optimized for client-side tasks and the secured Management API for advanced account operations. Choose the perfect fit for your integration needs and ensure robust data handling",
};
#### API
# API Overview
Formbricks offers two types of APIs: the **Public Client API** and the **Management API**. Each API serves a different purpose, has different authentication requirements, and provides access to different data and settings.
Checkout the [API Key Setup](/docs/api/api-key-setup) - to generate, store, or delete API Keys.
## Public Client API
The Public Client API is designed for the JavaScript SDK and does not require authentication. It's primarily used for creating persons, sessions, and responses within the Formbricks platform. This API is ideal for client-side interactions, as it doesn't expose sensitive information.
- [Displays API](/docs/api/client/displays) - Mark Survey as Displayed or Responded for a Person
- [Responses API](/docs/api/client/responses) - Create & update responses for a survey
## Management API
The Management API provides access to all data and settings that are visible in the Formbricks App. This API requires a personal API Key for authentication, which can be generated in the Settings section of the Formbricks App. With the Management API, you can manage your Formbricks account programmatically, accessing and modifying data and settings as needed.
**Auth:** Personal API Key
API requests made to the Management API are authorized using a personal API key. This key grants the same rights and access as if you were logged in at formbricks.com. It's essential to keep your API key secure and not share it with others.
To generate, store, or delete an API key, follow the instructions provided on the following page [API Key](/docs/api/api-key-setup).
- [Action Class API](/docs/api/management/action-classes) - Create, Update, and Delete Action Classes
- [Attribute Class API](/docs/api/management/attribute-classes) - Create, Update, and Delete Attribute Classes
- [Me API](/docs/api/management/me) - Retrieve Account Information
- [People API](/docs/api/management/people) - Create, Update, and Delete People
- [Responses API](/docs/api/management/responses) - Create, Update, and Delete Responses
- [Surveys API](/docs/api/management/surveys) - Create, Update, and Delete Surveys
- [Webhook API](/docs/api/management/webhooks) - Create, Update, and Delete Webhooks
<Note>
By understanding the differences between these two APIs, you can choose the appropriate one for your needs,
ensuring a secure and efficient integration with the Formbricks platform.
</Note>
---

View File

@@ -0,0 +1,222 @@
import { Fence } from "@/components/shared/Fence";
export const metadata = {
title: "Formbricks Responses API Documentation - Manage Your Survey Data Seamlessly",
description:
"Unlock the full potential of Formbricks' Responses API. From fetching to updating survey responses, our comprehensive guide helps you integrate and manage survey data efficiently without compromising security. Ideal for client-side interactions.",
};
#### Management API
# Responses API
The Public Client API is designed for the JavaScript SDK and does not require authentication. It's primarily used for creating persons, sessions, and responses within the Formbricks platform. This API is ideal for client-side interactions, as it doesn't expose sensitive information.
---
## Create a response {{ tag: 'POST', label: '/api/v1/client/responses' }}
Add a new response to a survey.
<Row>
<Col>
### Mandatory Body Fields
<Properties>
<Property name="surveyId" type="string">
The id of the survey the response belongs to.
</Property>
<Property name="finished" type="boolean">
Marks whether the response is complete or not.
</Property>
<Property name="data" type="string">
The data of the response as JSON object (key: questionId, value: answer).
</Property>
</Properties>
### Optional Body Fields
<Properties>
<Property name="personId" type="string" required>
Internal Formbricks id to identify the user sending the response
</Property>
</Properties>
### Parameters Explained
| field name | required | default | description |
| ---------- | -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| data | yes | - | The response data object (answers to the survey). In this object the key is the questionId, the value the answer of the user to this question. |
| personId | no | - | The person this response is connected to. |
| surveyId | yes | - | The survey this response is connected to. |
| finished | yes | false | Mark a response as complete to be able to filter accordingly. |
</Col>
<Col sticky>
<CodeGroup title="Request" tag="POST" label="/api/v1/client/responses">
```bash {{ title: 'cURL' }}
curl --location --request POST 'https://app.formbricks.com/api/v1/client/responses' \
--data-raw '{
"surveyId":"clfqz1esd0000yzah51trddn8",
"personId": "clfqjny0v000ayzgsycx54a2c",
"finished": true,
"data": {
"clfqjny0v0003yzgscnog1j9i": 10,
"clfqjtn8n0070yzgs6jgx9rog": "I love Formbricks"
}
}'
```
```json {{ title: 'Example Request Body' }}
{
"personId": "clfqjny0v000ayzgsycx54a2c",
"surveyId": "clfqz1esd0000yzah51trddn8",
"finished": true,
"data": {
"clfqjny0v0003yzgscnog1j9i": 10,
"clfqjtn8n0070yzgs6jgx9rog": "I love Formbricks"
}
}
```
</CodeGroup>
<CodeGroup title="Response">
```json {{ title: '200 Success' }}
{
"data": {
"id": "clisyqeoi000219t52m5gopke",
"surveyId": "clfqz1esd0000yzah51trddn8",
"finished": true,
"person": {
"id": "clfqjny0v000ayzgsycx54a2c",
"attributes": {
"email": "me@johndoe.com"
}
},
"data": {
"clfqjny0v0003yzgscnog1j9i": 10,
"clfqjtn8n0070yzgs6jgx9rog": "I love Formbricks"
}
}
}
```
```json {{ title: '400 Bad Request' }}
{
"code": "bad_request",
"message": "surveyId was not provided.",
"details": {
"surveyId": "This field is required."
}
}
```
</CodeGroup>
</Col>
</Row>
---
## Update a response {{ tag: 'POST', label: '/api/v1/client/responses/<response-id>' }}
Update an existing response in a survey.
<Row>
<Col>
### Mandatory Body Fields
<Properties>
<Property name="data" type="string">
The data of the response as JSON object (key: questionId, value: answer).
</Property>
</Properties>
### Parameters Explained
| field name | required | default | description |
| ---------- | -------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| data | yes | - | The response data object (answers to the survey). In this object the key is the questionId, the value the answer of the user to this question. |
| finished | yes | false | Mark a response as complete to be able to filter accordingly. |
</Col>
<Col sticky>
<CodeGroup title="Request" tag="POST" label="/api/v1/client/responses/<response-id>">
```bash {{ title: 'cURL' }}
curl --location --request POST 'https://app.formbricks.com/api/v1/client/responses/<response-id>' \
--data-raw '{
"personId": "clfqjny0v000ayzgsycx54a2c",
"surveyId": "clfqz1esd0000yzah51trddn8",
"finished": true,
"data": {
"clggpvpvu0009n40g8ikawby8": 5,
}
}'
```
```json {{ title: 'Example Request Body' }}
{
"personId": "clfqjny0v000ayzgsycx54a2c",
"surveyId": "clfqz1esd0000yzah51trddn8",
"finished": true,
"data": {
"clggpvpvu0009n40g8ikawby8": 5,
}
}
```
</CodeGroup>
<CodeGroup title="Response">
```json {{ title: '200 Success' }}
{
"data": {
"id": "clisyqeoi000219t52m5gopke",
"surveyId": "clfqz1esd0000yzah51trddn8",
"finished": true,
"person": {
"id": "clfqjny0v000ayzgsycx54a2c",
"attributes": {
"email": "me@johndoe.com"
}
},
"data": {
"clfqjny0v0003yzgscnog1j9i": 10,
"clfqjtn8n0070yzgs6jgx9rog": "I love Formbricks",
"clggpvpvu0009n40g8ikawby8": 5
}
}
}
```
```json {{ title: '400 Bad Request' }}
{
"code": "bad_request",
"message": "data was not provided.",
"details": {
"data": "This field is required."
}
}
```
```json {{ title: '404 Not Found' }}
{
"code": "not_found",
"message": "Response not found"
}
```
</CodeGroup>
</Col>
</Row>

View File

@@ -0,0 +1,301 @@
import { Fence } from "@/components/shared/Fence";
export const metadata = {
title: "Formbricks People API: Fetch or Create Person Overview",
description:
"Dive into Formbricks' People API within the Public Client API suite, designed to work without authentication requirements. Seamlessly fetch or create a person by their userId and environmentId, optimizing client-side interactions while maintaining data privacy.",
};
#### Management API
# Action Classes API
This set of API can be used to
- [List Actions](#get-all-action-classes)
- [Get Action](#get-action-class-by-id)
- [Create Actions](#create-action-class)
- [Delete Actions](#delete-action-class)
<Note>You will need an API Key to interact with these APIs.</Note>
---
## Get all Action Classes {{ tag: 'GET', label: '/api/v1/management/action-classes' }}
<Row>
<Col>
Get all the existing action classes in your environment.
### Mandatory Headers
<Properties>
<Property name="x-api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="GET" label="/api/v1/management/action-classes">
```bash {{ title: 'cURL' }}
curl --location \
'https://app.formbricks.com/api/v1/management/action-classes' \
--header \
'x-api-key: <your-api-key>'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{title:'200 Success'}}
{
"data": [
{
"id": "cln8k0t47000gz87nw4ibwv35",
"createdAt": "2023-10-02T07:13:19.207Z",
"updatedAt": "2023-10-02T07:13:19.207Z",
"name": "New Session",
"description": "Gets fired when a new session is created",
"type": "automatic",
"noCodeConfig": null,
"environmentId": "cln8k0t47000fz87njmmu2bck"
},
{
"id": "cln8k0t55000uz87noerwdooj",
"createdAt": "2023-10-02T07:13:19.241Z",
"updatedAt": "2023-10-02T07:13:19.241Z",
"name": "Invited Team Member",
"description": "Person invited a team member",
"type": "noCode",
"noCodeConfig": {
"type": "innerHtml",
"innerHtml": {
"value": "Add Team Member"
}
},
"environmentId": "cln8k0t47000fz87njmmu2bck"
},
]
}
```
```json {{ title: '401 Unauthorized' }}
{
"code": "not_authenticated",
"message": "Not authenticated",
"details": {
"x-Api-Key": "Header not provided or API Key invalid"
}
}
```
</CodeGroup>
</Col>
</Row>
---
## Get Action Class by ID {{ tag: 'GET', label: '/api/v1/management/action-classes/<action-class-id>' }}
<Row>
<Col>
Fetch an action class by its ID.
### Mandatory Headers
<Properties>
<Property name="x-api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="GET" label="/api/v1/management/action-classes/<action-class-id>">
```bash {{ title: 'cURL' }}
curl --location \
'https://app.formbricks.com/api/v1/management/action-classes/<action-class-id>' \
--header \
'x-api-key: <your-api-key>'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{title:'200 Success'}}
{
"data": {
"id": "cln8k0t55000uz87noerwdooj",
"createdAt": "2023-10-02T07:13:19.241Z",
"updatedAt": "2023-10-02T07:13:19.241Z",
"name": "Invited Team Member",
"description": "Person invited a team member",
"type": "noCode",
"noCodeConfig": {
"type": "innerHtml",
"innerHtml": {
"value": "Add Team Member"
}
},
"environmentId": "cln8k0t47000fz87njmmu2bck"
}
}
```
```json {{ title: '401 Unauthorized' }}
{
"code": "not_authenticated",
"message": "Not authenticated",
"details": {
"x-Api-Key": "Header not provided or API Key invalid"
}
}
```
</CodeGroup>
</Col>
</Row>
---
## Create Action Class {{ tag: 'POST', label: '/api/v1/management/action-classes/' }}
<Row>
<Col>
Create an action class.
### Mandatory Headers
<Properties>
<Property name="x-api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
### Body
<CodeGroup title="Request Body">
```json {{ title: 'cURL' }}
{
"environmentId": "cln8k0t47000fz87njmmu2bck",
"name": "My Action from API",
"type": "code"
}
```
</CodeGroup>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="POST" label="/api/v1/management/action-classes/">
```bash {{ title: 'cURL' }}
curl -X POST https://app.formbricks.com/api/v1/management/action-classes/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <your-api-key>' \
-d '{"environmentId": "cln8k0t47000fz87njmmu2bck", "name": "My Action from API", "type": "code"}'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{title:'200 Success'}}
{
"data": {
"id": "cln9w1cno0008z8zu79nk5w0c",
"createdAt": "2023-10-03T05:37:26.100Z",
"updatedAt": "2023-10-03T05:37:26.100Z",
"name": "My Action from API",
"description": null,
"type": "code",
"noCodeConfig": null,
"environmentId": "cln8k0t47000fz87njmmu2bck"
}
}
```
```json {{ title: '401 Unauthorized' }}
{
"code": "not_authenticated",
"message": "Not authenticated",
"details": {
"x-Api-Key": "Header not provided or API Key invalid"
}
}
```
</CodeGroup>
</Col>
</Row>
---
## Delete Action Class {{ tag: 'DELETE', label: '/api/v1/management/action-classes/<action-class-id>' }}
<Row>
<Col>
Delete an action class by its ID.
### Mandatory Headers
<Properties>
<Property name="x-api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="DELETE" label="/api/v1/management/action-classes/<action-class-id>">
```bash {{ title: 'cURL' }}
curl -X DELETE https://app.formbricks.com/api/v1/management/action-classes/<action-class-id> \
--header 'x-api-key: <your-api-key>'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{title:'200 Success'}}
{
"data": {
"id": "cln9w1cno0008z8zu79nk5w0c",
"createdAt": "2023-10-03T05:37:26.100Z",
"updatedAt": "2023-10-03T05:37:26.100Z",
"name": "My Action from API",
"description": null,
"type": "code",
"noCodeConfig": null,
"environmentId": "cln8k0t47000fz87njmmu2bck"
}
}
```
```json {{ title: '401 Unauthorized' }}
{
"code": "not_authenticated",
"message": "Not authenticated",
"details": {
"x-Api-Key": "Header not provided or API Key invalid"
}
}
```
</CodeGroup>
</Col>
</Row>
---

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -0,0 +1,103 @@
import Image from "next/image";
import AddApiKey from "./add-api-key.webp";
import ApiKeySecret from "./api-key-secret.webp";
export const metadata = {
title: "Formbricks API Key: Setup and Testing",
description:
"This guide provides step-by-step instructions to generate, store, and delete API keys, ensuring safe and authenticated access to your Formbricks account.",
};
#### API
# API Key Setup
## Auth: Personal API key
The API requests are authorized with a personal API key. This API key gives you the same rights as if you were logged in at formbricks.com - **don't share it around!**
### How to generate an API key
1. Go to your settings on [app.formbricks.com](https://app.formbricks.com).
2. Go to page “API keys”
<Image src={AddApiKey} alt="Add API Key" quality="100" className="rounded-lg max-w-full sm:max-w-3xl" />
3. Create a key for the development or production environment.
4. Copy the key immediately. You wont be able to see it again.
<Image
src={ApiKeySecret}
alt="API Key Secret"
quality="100"
className="rounded-lg max-w-full sm:max-w-3xl"
/>
<Note>
### Store API key safely
Anyone who has your API key has full control over your account.
For security reasons, you cannot view the API key again.
</Note>
### Test your API Key
Hit the below request to verify that you are authenticated with your API Key and the server is responding.
## Get My Profile {{ tag: 'GET', label: '/api/v1/me' }}
<Row>
<Col>
Get the product details and environment type of your account.
### Mandatory Headers
<Properties>
<Property name="x-Api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="GET" label="/api/v1/me">
```bash {{ title: 'cURL' }}
curl --location \
'https://app.formbricks.com/api/v1/me' \
--header \
'x-api-key: <your-api-key>'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{title:'200 Success'}}
{
"id": "cll2m30r70004mx0huqkitgqv",
"createdAt": "2023-08-08T18:04:59.922Z",
"updatedAt": "2023-08-08T18:04:59.922Z",
"type": "production",
"product": {
"id": "cll2m30r60003mx0hnemjfckr",
"name": "My Product"
},
"widgetSetupCompleted": false
}
```
```json {{ title: '401 Not Authenticated' }}
Not authenticated
```
</CodeGroup>
</Col>
</Row>
---
### Delete a personal API key
1. Go to settings on [app.formbricks.com](https://app.formbricks.com/).
2. Go to page “API keys”.
3. Find the key you wish to revoke and select “Delete”.
4. Your API key will stop working immediately.

View File

@@ -0,0 +1,292 @@
import { Fence } from "@/components/shared/Fence";
export const metadata = {
title: "Formbricks People API: Fetch or Create Person Overview",
description:
"Dive into Formbricks' People API within the Public Client API suite, designed to work without authentication requirements. Seamlessly fetch or create a person by their userId and environmentId, optimizing client-side interAttributes while maintaining data privacy.",
};
#### Management API
# Attribute Classes API
This set of API can be used to
- [List Attributes](#get-all-attribute-classes)
- [Get Attributes](#get-attribute-class-by-id)
- [Create Attributes](#create-attribute-class)
- [Delete Attributes](#delete-attribute-class)
<Note>You will need an API Key to interact with these APIs.</Note>
---
## Get all Attribute Classes {{ tag: 'GET', label: '/api/v1/management/attribute-classes' }}
<Row>
<Col>
Get all the existing attribute classes in your environment.
### Mandatory Headers
<Properties>
<Property name="x-api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="GET" label="/api/v1/management/attribute-classes">
```bash {{ title: 'cURL' }}
curl --location \
'https://app.formbricks.com/api/v1/management/attribute-classes' \
--header \
'x-api-key: <your-api-key>'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{title:'200 Success'}}
{
"data": [
{
"id": "cln8k0t47000kz87n3lh23zf0",
"createdAt": "2023-10-02T07:13:19.207Z",
"updatedAt": "2023-10-02T07:13:19.207Z",
"name": "email",
"description": "The email of the person",
"archived": false,
"type": "automatic",
"environmentId": "cln8k0t47000fz87njmmu2bck"
},
{
"id": "cln8k0t55000xz87nrtwbo7sf",
"createdAt": "2023-10-02T07:13:19.241Z",
"updatedAt": "2023-10-02T07:13:19.241Z",
"name": "Name",
"description": "Full Name of the Person",
"archived": false,
"type": "code",
"environmentId": "cln8k0t47000fz87njmmu2bck"
},
]
}
```
```json {{ title: '401 Unauthorized' }}
{
"code": "not_authenticated",
"message": "Not authenticated",
"details": {
"x-Api-Key": "Header not provided or API Key invalid"
}
}
```
</CodeGroup>
</Col>
</Row>
---
## Get Attribute Class by ID {{ tag: 'GET', label: '/api/v1/management/attribute-classes/<attribute-class-id>' }}
<Row>
<Col>
Fetch an Attribute class by its ID.
### Mandatory Headers
<Properties>
<Property name="x-api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="GET" label="/api/v1/management/attribute-classes/<attribute-class-id>">
```bash {{ title: 'cURL' }}
curl --location \
'https://app.formbricks.com/api/v1/management/attribute-classes/<attribute-class-id>' \
--header \
'x-api-key: <your-api-key>'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{title:'200 Success'}}
{
"data": {
"id": "cln8k0t47000jz87nfwcey6mh",
"createdAt": "2023-10-02T07:13:19.207Z",
"updatedAt": "2023-10-02T07:13:19.207Z",
"name": "userId",
"description": "The internal ID of the person",
"archived": false,
"type": "automatic",
"environmentId": "cln8k0t47000fz87njmmu2bck"
}
}
```
```json {{ title: '401 Unauthorized' }}
{
"code": "not_authenticated",
"message": "Not authenticated",
"details": {
"x-Api-Key": "Header not provided or API Key invalid"
}
}
```
</CodeGroup>
</Col>
</Row>
---
## Create Attribute Class {{ tag: 'POST', label: '/api/v1/management/attribute-classes/' }}
<Row>
<Col>
Create an Attribute class.
### Mandatory Headers
<Properties>
<Property name="x-api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
### Body
<CodeGroup title="Request Body">
```json {{ title: 'cURL' }}
{
"environmentId": "clmlmwdqq0003196ufewo6ibg",
"name": "My Attribute from API",
"type": "code",
"description": "My description"
}
```
</CodeGroup>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="POST" label="/api/v1/management/attribute-classes/">
```bash {{ title: 'cURL' }}
curl -X POST https://app.formbricks.com/api/v1/management/attribute-classes/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <your-api-key>' \
-d '{"environmentId": "clmlmwdqq0003196ufewo6ibg", "name": "My Attribute from API", "type": "code", "description":"My description"}'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{title:'200 Success'}}
{
"data": {
"id": "clna0hd7z0009z8zue2z3a7wy",
"createdAt": "2023-10-03T07:41:51.792Z",
"updatedAt": "2023-10-03T07:41:51.792Z",
"name": "My Attribute from API",
"description": null,
"archived": false,
"type": "code",
"environmentId": "cln8k0t47000fz87njmmu2bck"
}
}
```
```json {{ title: '401 Unauthorized' }}
{
"code": "not_authenticated",
"message": "Not authenticated",
"details": {
"x-Api-Key": "Header not provided or API Key invalid"
}
}
```
</CodeGroup>
</Col>
</Row>
---
## Delete Attribute Class {{ tag: 'DELETE', label: '/api/v1/management/attribute-classes/<attribute-class-id>' }}
<Row>
<Col>
Delete an Attribute class by its ID.
### Mandatory Headers
<Properties>
<Property name="x-api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="DELETE" label="/api/v1/management/attribute-classes/<attribute-class-id>">
```bash {{ title: 'cURL' }}
curl -X DELETE https://app.formbricks.com/api/v1/management/attribute-classes/<attribute-class-id> \
--header 'x-api-key: <your-api-key>'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{title:'200 Success'}}
{
"data": {
"id": "clna0hd7z0009z8zue2z3a7wy",
"createdAt": "2023-10-03T07:41:51.792Z",
"updatedAt": "2023-10-03T07:41:51.792Z",
"name": "My Attribute from API",
"description": null,
"archived": false,
"type": "code",
"environmentId": "cln8k0t47000fz87njmmu2bck"
}
}
```
```json {{ title: '401 Unauthorized' }}
{
"code": "not_authenticated",
"message": "Not authenticated",
"details": {
"x-Api-Key": "Header not provided or API Key invalid"
}
}
```
</CodeGroup>
</Col>
</Row>
---

View File

@@ -0,0 +1,78 @@
import { Fence } from "@/components/shared/Fence";
export const metadata = {
title: "Formbricks People API: Fetch or Create Person Overview",
description:
"Dive into Formbricks' People API within the Public Client API suite, designed to work without authentication requirements. Seamlessly fetch or create a person by their userId and environmentId, optimizing client-side interactions while maintaining data privacy.",
};
#### Management API
# Me API
This API can be used to get your own current environment details.
<Note>You will need an API Key to interact with these APIs.</Note>
---
## Get Environment {{ tag: 'GET', label: '/api/v1/management/me' }}
<Row>
<Col>
Get your current environment details.
### Mandatory Headers
<Properties>
<Property name="x-api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="GET" label="/api/v1/management/me">
```bash {{ title: 'cURL' }}
curl --location \
'https://app.formbricks.com/api/v1/management/me' \
--header \
'x-api-key: <your-api-key>'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{title:'200 Success'}}
{
"id": "cln8k0t47000fz87njmmu2bck",
"createdAt": "2023-10-02T07:13:19.207Z",
"updatedAt": "2023-10-02T07:14:14.162Z",
"type": "production",
"product": {
"id": "cln8k0t47000ez87n57aqywvz",
"name": "Demo Product"
},
"widgetSetupCompleted": true
}
```
```json {{ title: '401 Unauthorized' }}
{
"code": "not_authenticated",
"message": "Not authenticated",
"details": {
"x-Api-Key": "Header not provided or API Key invalid"
}
}
```
</CodeGroup>
</Col>
</Row>
---

View File

@@ -0,0 +1,234 @@
import { Fence } from "@/components/shared/Fence";
export const metadata = {
title: "Formbricks People API: Fetch or Create Person Overview",
description:
"Dive into Formbricks' People API within the Public Client API suite, designed to work without authentication requirements. Seamlessly fetch or create a person by their userId and environmentId, optimizing client-side interactions while maintaining data privacy.",
};
#### Management API
# People API
This set of API can be used to
- [List People](#list-people)
- [Get Person](#get-person)
- [Delete Person](#delete-person)
<Note>You will need an API Key to interact with these APIs.</Note>
---
## List People {{ tag: 'GET', label: '/api/v1/management/people' }}
<Row>
<Col>
List People
### Mandatory Headers
<Properties>
<Property name="x-api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="GET" label="/api/v1/management/people">
```bash {{ title: 'cURL' }}
curl --location \
'https://app.formbricks.com/api/v1/management/people' \
--header \
'x-api-key: <your-api-key>'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{title:'200 Success'}}
{
"data": [
{
"id": "b4wgrzl363dn3zb6yy5gf265",
"attributes": {
"userId": "CYO618",
"email": "sophia@amazon.com",
"Name": "Sophia Johnson",
"Role": "Designer",
"Company": "Amazon",
"Experience": "7 years",
"Usage Frequency": "Yearly",
"Company Size": "1628 employees",
"Product Satisfaction Score": "62",
"Recommendation Likelihood": "9"
},
"environmentId": "cln8k0t47000fz87njmmu2bck",
"createdAt": "2023-10-02T07:13:19.444Z",
"updatedAt": "2023-10-02T07:13:19.444Z"
},
{
"id": "jrb5iyzqvnkg9322ckhde3j4",
"attributes": {
"userId": "CYO511",
"email": "antonio@ibm.com",
"Name": "Antonio García",
"Role": "Designer",
"Company": "IBM",
"Experience": "1 years",
"Usage Frequency": "Weekly",
"Company Size": "4023 employees",
"Product Satisfaction Score": "77",
"Recommendation Likelihood": "4"
},
"environmentId": "cln8k0t47000fz87njmmu2bck",
"createdAt": "2023-10-02T07:13:19.444Z",
"updatedAt": "2023-10-02T07:13:19.444Z"
},
]
}
```
```json {{ title: '400 Bad Request' }}
{
"code": "bad_request",
"message": "Fields are missing or incorrectly formatted",
"details": {
"userId": ""
}
}
```
</CodeGroup>
</Col>
</Row>
---
## Get Person {{ tag: 'GET', label: '/api/v1/management/people/<person-id>' }}
<Row>
<Col>
Get Person by ID
### Mandatory Headers
<Properties>
<Property name="x-api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="GET" label="/api/v1/management/people/<person-id>">
```bash {{ title: 'cURL' }}
curl --location \
'https://app.formbricks.com/api/v1/management/people/<person-id>' \
--header \
'x-api-key: <your-api-key>'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{title:'200 Success'}}
{
"data": {
"id": "jrb5iyzqvnkg9322ckhde3j4",
"attributes": {
"userId": "CYO511",
"email": "antonio@ibm.com",
"Name": "Antonio García",
"Role": "Designer",
"Company": "IBM",
"Experience": "1 years",
"Usage Frequency": "Weekly",
"Company Size": "4023 employees",
"Product Satisfaction Score": "77",
"Recommendation Likelihood": "4"
},
"environmentId": "cln8k0t47000fz87njmmu2bck",
"createdAt": "2023-10-02T07:13:19.444Z",
"updatedAt": "2023-10-02T07:13:19.444Z"
}
}
```
```json {{ title: '404 Not Found' }}
{
"code": "not_found",
"message": "Person not found",
"details": {
"resource_id": "clmlmykc2000019vz5o3jglsa",
"resource_type": "Person"
}
}
```
</CodeGroup>
</Col>
</Row>
---
## Delete Person {{ tag: 'DELETE', label: '/api/v1/management/people/<person-id>' }}
<Row>
<Col>
Delete Person by ID
### Mandatory Headers
<Properties>
<Property name="x-api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="DELETE" label="/api/v1/management/people/<person-id>">
```bash {{ title: 'cURL' }}
curl -X DELETE https://app.formbricks.com/api/v1/management/people/<person-id> \
--header 'x-api-key: <your-api-key>'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{title:'200 Success'}}
{
"data": {
"success": "Person deleted successfully"
}
}
```
```json {{ title: '404 Not Found' }}
{
"code": "not_found",
"message": "Person not found",
"details": {
"resource_id": "clmlmykc2000019vz5o3jglsa",
"resource_type": "Person"
}
}
```
</CodeGroup>
</Col>
</Row>
---

View File

@@ -0,0 +1,289 @@
import { Fence } from "@/components/shared/Fence";
export const metadata = {
title: "Formbricks Responses API Documentation - Manage Your Survey Data Seamlessly",
description:
"Unlock the full potential of Formbricks' Responses API. From fetching to updating survey responses, our comprehensive guide helps you integrate and manage survey data efficiently without compromising security. Ideal for client-side interactions.",
};
#### Management API
# Responses API
This set of API can be used to
- [List Responses](#list-all-responses)
- [Get Response](#get-response-by-id)
- [Delete Response](#delete-a-response)
<Note>You will need an API Key to interact with these APIs.</Note>
---
## List all Responses {{ tag: 'GET', label: '/api/v1/management/responses' }}
<Row>
<Col>
Retrieve all the responses you have received in your environment.
### Mandatory Headers
<Properties>
<Property name="x-Api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="GET" label="/api/v1/management/responses">
```bash {{ title: 'cURL' }}
curl --location \
'https://app.formbricks.com/api/v1/management/responses' \
--header \
'x-api-key: <your-api-key>'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{title:'200 Success'}}
{
"data":[
{
"id": "cln8k0tqv00pcz87no4qrw333",
"createdAt": "2023-10-02T07:13:20.023Z",
"updatedAt": "2023-10-02T07:13:20.023Z",
"surveyId": "cln8k0tqu00p7z87nqr4thi3k",
"finished": true,
"data": {
"interview-prompt": "clicked"
},
"meta": {
"userAgent": {
"os": "MacOS",
"browser": "Chrome"
}
},
"personAttributes": null,
"person": {
"id": "e0x4i5tvsp8puxfztyrwykvn",
"attributes": {
"userId": "CYO675",
"email": "ravi@netflix.com",
"Name": "Ravi Kumar",
"Role": "Manager",
"Company": "Netflix",
"Experience": "6 years",
"Usage Frequency": "Monthly",
"Company Size": "4610 employees",
"Product Satisfaction Score": "43",
"Recommendation Likelihood": "4"
},
"environmentId": "cln8k0t47000fz87njmmu2bck",
"createdAt": "2023-10-02T07:13:19.444Z",
"updatedAt": "2023-10-02T07:13:19.444Z"
},
"notes": [],
"tags": []
},
]
}
```
```json {{ title: '401 Not Authenticated' }}
{
"code": "not_authenticated",
"message": "Not authenticated",
"details": {
"x-Api-Key": "Header not provided or API Key invalid"
}
}
```
</CodeGroup>
</Col>
</Row>
---
## Get Response by ID {{ tag: 'GET', label: '/api/v1/management/responses/<response-id>' }}
<Row>
<Col>
Retrieve a response by its ID.
### Mandatory Headers
<Properties>
<Property name="x-Api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="GET" label="/api/v1/management/responses/<response-id>">
```bash {{ title: 'cURL' }}
curl --location \
'https://app.formbricks.com/api/v1/management/responses/<response-id>' \
--header \
'x-api-key: <your-api-key>'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{title:'200 Success'}}
{
"data":
{
"id": "cln8k0tqv00pbz87nwo5lr72b",
"createdAt": "2023-10-02T07:13:20.023Z",
"updatedAt": "2023-10-02T07:13:20.023Z",
"surveyId": "cln8k0tqu00p7z87nqr4thi3k",
"finished": true,
"data": {
"interview-prompt": "clicked"
},
"meta": {
"userAgent": {
"os": "Windows",
"browser": "Edge"
}
},
"personAttributes": null,
"person": {
"id": "hsx38f15v50ua8383uadagq5",
"attributes": {
"userId": "CYO278",
"email": "jorge@facebook.com",
"Name": "Jorge Sanchez",
"Role": "Product Manager",
"Company": "Facebook",
"Experience": "10 years",
"Usage Frequency": "Daily",
"Company Size": "1685 employees",
"Product Satisfaction Score": "84",
"Recommendation Likelihood": "6"
},
"environmentId": "cln8k0t47000fz87njmmu2bck",
"createdAt": "2023-10-02T07:13:19.444Z",
"updatedAt": "2023-10-02T07:13:19.444Z"
},
"notes": [],
"tags": []
}
}
```
```json {{ title: '401 Not Authenticated' }}
{
"code": "not_authenticated",
"message": "Not authenticated",
"details": {
"x-Api-Key": "Header not provided or API Key invalid"
}
}
```
</CodeGroup>
</Col>
</Row>
---
## Delete a response {{ tag: 'DELETE', label: '/api/v1/client/responses/<response-id>' }}
<Row>
<Col>
Delete Response by ID
### Mandatory Headers
<Properties>
<Property name="x-api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="DELETE" label="/api/v1/client/responses/<response-id>">
```bash {{ title: 'cURL' }}
curl -X DELETE https://app.formbricks.com/api/v1/management/resposnes/<response-id> \
--header 'x-api-key: <your-api-key>'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{ title: '200 Success' }}
{
"data": {
"id": "cln8k0tqv00pbz87nwo5lr72b",
"createdAt": "2023-10-02T07:13:20.023Z",
"updatedAt": "2023-10-02T07:13:20.023Z",
"surveyId": "cln8k0tqu00p7z87nqr4thi3k",
"finished": true,
"data": {
"interview-prompt": "clicked"
},
"meta": {
"userAgent": {
"os": "Windows",
"browser": "Edge"
}
},
"personAttributes": null,
"person": {
"id": "hsx38f15v50ua8383uadagq5",
"attributes": {
"userId": "CYO278",
"email": "jorge@facebook.com",
"Name": "Jorge Sanchez",
"Role": "Product Manager",
"Company": "Facebook",
"Experience": "10 years",
"Usage Frequency": "Daily",
"Company Size": "1685 employees",
"Product Satisfaction Score": "84",
"Recommendation Likelihood": "6"
},
"environmentId": "cln8k0t47000fz87njmmu2bck",
"createdAt": "2023-10-02T07:13:19.444Z",
"updatedAt": "2023-10-02T07:13:19.444Z"
},
"notes": [],
"tags": []
}
}
```
```json {{ title: '400 Bad Request' }}
{
"code": "bad_request",
"message": "surveyId was not provided.",
"details": {
"surveyId": "This field is required."
}
}
```
</CodeGroup>
</Col>
</Row>
---

View File

@@ -0,0 +1,667 @@
import { Fence } from "@/components/shared/Fence";
export const metadata = {
title: "Formbricks Surveys API Documentation - How to Retrieve All Surveys",
description:
"Explore the comprehensive guide to the Formbricks Surveys API. Learn how to effectively retrieve all the surveys in your environment with the necessary headers and API key setup. Includes sample request and response formats.",
};
#### Management API
# Surveys API
This set of API can be used to
- [List All Surveys](#list-all-surveys)
- [Get Survey](#get-survey-by-id)
- [Create Survey](#create-survey)
- [Delete Survey](#delete-survey-by-id)
<Note>You will need an API Key to interact with these APIs.</Note>
---
## List all surveys {{ tag: 'GET', label: '/api/v1/management/surveys' }}
<Row>
<Col>
Retrieve all the surveys you have for the environment.
### Mandatory Headers
<Properties>
<Property name="x-Api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="GET" label="/api/v1/management/surveys">
```bash {{ title: 'cURL' }}
curl --location \
'https://app.formbricks.com/api/v1/management/surveys' \
--header \
'x-api-key: <your-api-key>'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{title:'200 Success'}}
{
"data": [
{
"id": "cllnfy2780fromy0hy7uoxvtn",
"createdAt": "2023-08-23T07:56:20.516Z",
"updatedAt": "2023-08-23T07:56:26.947Z",
"name": "Product Market Fit (Superhuman)",
"type": "link",
"environmentId": "cll2m30r70004mx0huqkitgqv",
"status": "inProgress",
"attributeFilters": [],
"displayOption": "displayOnce",
"autoClose": null,
"triggers": [],
"redirectUrl": null,
"recontactDays": null,
"questions": [
{
"id": "gml6mgy71efgtq8np3s9je5p",
"type": "cta",
"headline": "You are one of our power users! Do you have 5 minutes?",
"required": false,
"buttonLabel": "Happy to help!",
"logic": [
{
"condition": "skipped",
"destination": "end"
}
],
"html": "<p class=\"fb-editor-paragraph\" dir=\"ltr\"><span>We would love to understand your user experience better. Sharing your insight helps a lot!</span></p>",
"buttonExternal": false,
"dismissButtonLabel": "No, thanks."
},
{
"id": "kp62fbqe8cfzmvy8qwpr81b2",
"type": "multipleChoiceSingle",
"headline": "How disappointed would you be if you could no longer use My Product?",
"subheader": "Please select one of the following options:",
"required": true,
"choices": [
{
"id": "bdgy1hnwd7uwmfxk1ljqp1n5",
"label": "Not at all disappointed"
},
{
"id": "poabnvgtwenp8rb2v70gj4hj",
"label": "Somewhat disappointed"
},
{
"id": "opfiqyqz8wrqn0i0f7t24d3n",
"label": "Very disappointed"
}
],
"shuffleOption": "none"
},
{
"id": "klvpwd4x08x8quesihvw5l92",
"type": "multipleChoiceSingle",
"headline": "What is your role?",
"subheader": "Please select one of the following options:",
"required": true,
"choices": [
{
"id": "c8nerw6l9gpsxcmqkn10f9hy",
"label": "Founder"
},
{
"id": "ebjqezei6a2axtuq86cleetn",
"label": "Executive"
},
{
"id": "ctiijjblyhlp22snypfamqt1",
"label": "Product Manager"
},
{
"id": "ibalyr0mhemfkkr82vypmg40",
"label": "Product Owner"
},
{
"id": "fipk606aegslbd0e7yhc0xjx",
"label": "Software Engineer"
}
],
"shuffleOption": "none"
},
{
"id": "ryo75306flyg72iaeditbv51",
"type": "openText",
"headline": "What type of people do you think would most benefit from My Product?",
"required": true
},
{
"id": "lkjaxb73ulydzeumhd51sx9g",
"type": "openText",
"headline": "What is the main benefit you receive from My Product?",
"required": true
},
{
"id": "ec7agikkr58j8uonhioinkyk",
"type": "openText",
"headline": "How can we improve My Product for you?",
"subheader": "Please be as specific as possible.",
"required": true
}
],
"thankYouCard": {
"enabled": true,
"headline": "Thank you!",
"subheader": "We appreciate your feedback."
},
"delay": 0,
"autoComplete": null,
"closeOnDate": null
}
]
}
```
```json {{ title: '401 Not Authenticated' }}
{
"code": "not_authenticated",
"message": "Not authenticated",
"details": {
"x-Api-Key": "Header not provided or API Key invalid"
}
}
```
</CodeGroup>
</Col>
</Row>
---
## Get Survey by ID {{ tag: 'GET', label: '/api/v1/management/surveys/<survey-id>' }}
<Row>
<Col>
Get a specific survey by its ID.
### Mandatory Headers
<Properties>
<Property name="x-Api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="GET" label="/api/v1/management/surveys/<survey-id>">
```bash {{ title: 'cURL' }}
curl --location \
'https://app.formbricks.com/api/v1/management/surveys/<survey-id>' \
--header \
'x-api-key: <your-api-key>'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{title:'200 Success'}}
{
"data": {
"id": "cln8k0tjz00n5z87nwq527h3z",
"createdAt": "2023-10-02T07:13:19.775Z",
"updatedAt": "2023-10-02T07:13:19.775Z",
"name": "Churn Survey",
"type": "link",
"environmentId": "cln8k0t47000fz87njmmu2bck",
"status": "inProgress",
"attributeFilters": [],
"displayOption": "displayOnce",
"autoClose": null,
"triggers": [],
"redirectUrl": null,
"recontactDays": null,
"questions": [
{
"id": "churn-reason",
"type": "multipleChoiceSingle",
"headline": "Why did you cancel your subscription?",
"subheader": "We're sorry to see you leave. Help us do better:",
"required": true,
"logic": [
{
"condition": "equals",
"value": "Difficult to use",
"destination": "easier-to-use"
},
{
"condition": "equals",
"value": "It's too expensive",
"destination": "30-off"
},
{
"condition": "equals",
"value": "I am missing features",
"destination": "missing-features"
},
{
"condition": "equals",
"value": "Poor customer service",
"destination": "poor-service"
},
{
"condition": "equals",
"value": "I just didn't need it anymore",
"destination": "end"
}
],
"choices": [
{
"id": "isud2xethsw63dlwl89kr4kj",
"label": "Difficult to use"
},
{
"id": "opuu4ba3dlele3n0gjkuh27c",
"label": "It's too expensive"
},
{
"id": "gnypapo0rhvkt8pwosrphvbl",
"label": "I am missing features"
},
{
"id": "wkgsrsrazd9kfunqhzjezx6t",
"label": "Poor customer service"
},
{
"id": "pykmgyyw74vg0gaeryj6bo4c",
"label": "I just didn't need it anymore"
}
]
},
{
"id": "easier-to-use",
"type": "openText",
"headline": "What would have made {{productName}} easier to use?",
"subheader": "",
"required": true,
"buttonLabel": "Send",
"logic": [
{
"condition": "submitted",
"destination": "end"
}
]
},
{
"id": "30-off",
"type": "cta",
"headline": "Get 30% off for the next year!",
"required": true,
"buttonLabel": "Get 30% off",
"logic": [
{
"condition": "clicked",
"destination": "end"
}
],
"html": "<p class=\"fb-editor-paragraph\" dir=\"ltr\"><span>We'd love to keep you as a customer. Happy to offer a 30% discount for the next year.</span></p>",
"buttonUrl": "https://formbricks.com",
"buttonExternal": true,
"dismissButtonLabel": "Skip"
},
{
"id": "missing-features",
"type": "openText",
"headline": "What features are you missing?",
"subheader": "",
"required": true,
"logic": [
{
"condition": "submitted",
"destination": "end"
}
]
},
{
"id": "poor-service",
"type": "cta",
"headline": "So sorry to hear 😔 Talk to our CEO directly!",
"required": true,
"buttonLabel": "Send email to CEO",
"logic": [
{
"condition": "clicked",
"destination": "end"
}
],
"html": "<p class=\"fb-editor-paragraph\" dir=\"ltr\"><span>We aim to provide the best possible customer service. Please email our CEO and she will personally handle your issue.</span></p>",
"buttonUrl": "mailto:ceo@company.com",
"buttonExternal": true,
"dismissButtonLabel": "Skip"
}
],
"thankYouCard": {
"enabled": false
},
"delay": 0,
"autoComplete": null,
"closeOnDate": null,
"surveyClosedMessage": null,
"verifyEmail": null
}
}
```
```json {{ title: '401 Not Authenticated' }}
{
"code": "not_authenticated",
"message": "Not authenticated",
"details": {
"x-Api-Key": "Header not provided or API Key invalid"
}
}
```
</CodeGroup>
</Col>
</Row>
---
## Create Survey {{ tag: 'POST', label: '/api/v1/management/surveys' }}
<Row>
<Col>
Create a survey
### Mandatory Headers
<Properties>
<Property name="x-Api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
### Body
<CodeGroup title="Request Body">
```json {{ title: 'cURL' }}
{
"environmentId": "clmlmwdqq0003196ufewo6ibg",
"type": "link",
"name": "My new Survey"
}
```
</CodeGroup>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="POST" label="/api/v1/management/surveys">
```bash {{ title: 'cURL' }}
curl -X POST \
'https://app.formbricks.com/api/v1/management/surveys' \
--header \
'x-api-key: <your-api-key>'
```
```bash {{ title: 'cURL' }}
curl -X POST https://app.formbricks.com/api/v1/management/surveys/ \
--header 'Content-Type: application/json' \
--header 'x-api-key: <your-api-key>' \
-d '{"environmentId": "cln8k0t47000fz87njmmu2bck", "name": "My Survey from API", "type": "link"}'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{title:'200 Success'}}
{
"data": {
"id": "clna6bqnz000az8zubq3e757t",
"createdAt": "2023-10-03T10:25:26.975Z",
"updatedAt": "2023-10-03T10:25:26.975Z",
"name": "My new Survey",
"redirectUrl": null,
"type": "link",
"environmentId": "cln8k0t47000fz87njmmu2bck",
"status": "draft",
"questions": [],
"thankYouCard": {
"enabled": false
},
"displayOption": "displayOnce",
"recontactDays": null,
"autoClose": null,
"delay": 0,
"autoComplete": null,
"closeOnDate": null,
"surveyClosedMessage": null,
"verifyEmail": null
}
}
```
```json {{ title: '401 Not Authenticated' }}
{
"code": "not_authenticated",
"message": "Not authenticated",
"details": {
"x-Api-Key": "Header not provided or API Key invalid"
}
}
```
</CodeGroup>
</Col>
</Row>
---
## Delete Survey by ID {{ tag: 'DELETE', label: '/api/v1/management/surveys/<survey-id>' }}
<Row>
<Col>
Delete a survey by its ID.
### Mandatory Headers
<Properties>
<Property name="x-Api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="DELETE" label="/api/v1/management/surveys/<survey-id>">
```bash {{ title: 'cURL' }}
curl -X DELETE \
'https://app.formbricks.com/api/v1/management/surveys/<survey-id>' \
--header \
'x-api-key: <your-api-key>'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{title:'200 Success'}}
{
"data": {
"id": "cln8k0tjz00n5z87nwq527h3z",
"createdAt": "2023-10-02T07:13:19.775Z",
"updatedAt": "2023-10-02T07:13:19.775Z",
"name": "Churn Survey",
"type": "link",
"environmentId": "cln8k0t47000fz87njmmu2bck",
"status": "inProgress",
"attributeFilters": [],
"displayOption": "displayOnce",
"autoClose": null,
"triggers": [],
"redirectUrl": null,
"recontactDays": null,
"questions": [
{
"id": "churn-reason",
"type": "multipleChoiceSingle",
"headline": "Why did you cancel your subscription?",
"subheader": "We're sorry to see you leave. Help us do better:",
"required": true,
"logic": [
{
"condition": "equals",
"value": "Difficult to use",
"destination": "easier-to-use"
},
{
"condition": "equals",
"value": "It's too expensive",
"destination": "30-off"
},
{
"condition": "equals",
"value": "I am missing features",
"destination": "missing-features"
},
{
"condition": "equals",
"value": "Poor customer service",
"destination": "poor-service"
},
{
"condition": "equals",
"value": "I just didn't need it anymore",
"destination": "end"
}
],
"choices": [
{
"id": "isud2xethsw63dlwl89kr4kj",
"label": "Difficult to use"
},
{
"id": "opuu4ba3dlele3n0gjkuh27c",
"label": "It's too expensive"
},
{
"id": "gnypapo0rhvkt8pwosrphvbl",
"label": "I am missing features"
},
{
"id": "wkgsrsrazd9kfunqhzjezx6t",
"label": "Poor customer service"
},
{
"id": "pykmgyyw74vg0gaeryj6bo4c",
"label": "I just didn't need it anymore"
}
]
},
{
"id": "easier-to-use",
"type": "openText",
"headline": "What would have made {{productName}} easier to use?",
"subheader": "",
"required": true,
"buttonLabel": "Send",
"logic": [
{
"condition": "submitted",
"destination": "end"
}
]
},
{
"id": "30-off",
"type": "cta",
"headline": "Get 30% off for the next year!",
"required": true,
"buttonLabel": "Get 30% off",
"logic": [
{
"condition": "clicked",
"destination": "end"
}
],
"html": "<p class=\"fb-editor-paragraph\" dir=\"ltr\"><span>We'd love to keep you as a customer. Happy to offer a 30% discount for the next year.</span></p>",
"buttonUrl": "https://formbricks.com",
"buttonExternal": true,
"dismissButtonLabel": "Skip"
},
{
"id": "missing-features",
"type": "openText",
"headline": "What features are you missing?",
"subheader": "",
"required": true,
"logic": [
{
"condition": "submitted",
"destination": "end"
}
]
},
{
"id": "poor-service",
"type": "cta",
"headline": "So sorry to hear 😔 Talk to our CEO directly!",
"required": true,
"buttonLabel": "Send email to CEO",
"logic": [
{
"condition": "clicked",
"destination": "end"
}
],
"html": "<p class=\"fb-editor-paragraph\" dir=\"ltr\"><span>We aim to provide the best possible customer service. Please email our CEO and she will personally handle your issue.</span></p>",
"buttonUrl": "mailto:ceo@company.com",
"buttonExternal": true,
"dismissButtonLabel": "Skip"
}
],
"thankYouCard": {
"enabled": false
},
"delay": 0,
"autoComplete": null,
"closeOnDate": null,
"surveyClosedMessage": null,
"verifyEmail": null
}
}
```
```json {{ title: '401 Not Authenticated' }}
{
"code": "not_authenticated",
"message": "Not authenticated",
"details": {
"x-Api-Key": "Header not provided or API Key invalid"
}
}
```
</CodeGroup>
</Col>
</Row>
---

View File

@@ -0,0 +1,400 @@
export const metadata = {
title: "Formbricks Webhook API Documentation - List, Retrieve, Create, and Delete Webhooks",
description:
"Explore the comprehensive guide to the Formbricks Webhooks API. This is all you need to interact and play with the Formbricks Webhooks and integrate them into any third party app of your choice",
};
#### Management API
# Webhook API
Formbricks' Webhook API offers a powerful interface for interacting with webhooks. Webhooks allow you to receive real-time HTTP notifications of changes to specific objects in the Formbricks environment.
The behavior of the webhooks is determined by their trigger settings. The trigger determines which updates the webhook sends. Current available triggers include "responseCreated", "responseUpdated", and "responseFinished". This allows you to customize your webhooks to only send notifications for the events that are relevant to your application.
Webhooks are tied to a specific Formbricks environment. Once set, a webhook will receive updates from all surveys within this environment. This makes it easy to manage your data flow and ensure that all relevant updates are caught by the webhook.
This set of API can be used to
- [List All Webhooks](#list-webhooks)
- [Get Webhook](#retrieve-webhook-by-id)
- [Create Webhook](#create-webhook)
- [Delete Webhook](#delete-webhook-by-id)
And the detailed Webhook Payload is elaborated [here](#webhook-payload).
These APIs are designed to facilitate seamless integration of Formbricks with third-party systems. By making use of our webhook API, you can automate the process of sending data to these systems whenever significant events occur within your Formbricks environment.
<Note>You will need an API Key to interact with these APIs.</Note>
---
## List Webhooks {{ tag: 'GET', label: '/api/v1/webhooks' }}
<Row>
<Col>
Learn how to retrieve a list of all webhooks via API.
### Mandatory Headers
<Properties>
<Property name="x-Api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="GET" label="/api/v1/webhooks">
```bash {{ title: 'cURL' }}
curl --location \
'https://app.formbricks.com/api/v1/webhooks' \
--header \
'x-api-key: <your-api-key>'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{ title: '200 Success' }}
{
"data": [
{
"id": "cliu1kdza000219zftad4ip6c",
"createdAt": "2023-06-13T08:49:04.198Z",
"updatedAt": "2023-06-13T08:49:04.198Z",
"url": "https://mysystem.com/myendpoint",
"environmentId": "clisypjy4000319t4imm289uo",
"triggers": [
"responseFinished"
]
}
]
}
```
```json {{ title: '401 Not Authenticated' }}
{
"code": "not_authenticated",
"message": "Not authenticated",
"details": {
"x-Api-Key": "Header not provided or API Key invalid"
}
}
```
</CodeGroup>
</Col>
</Row>
---
## Retrieve Webhook by ID {{ tag: 'GET', label: '/api/v1/webhooks/<webhook-id>' }}
<Row>
<Col>
### Mandatory Headers
<Properties>
<Property name="x-Api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="GET" label="/api/v1/webhooks/<webhook-id>">
```bash {{ title: 'cURL' }}
curl --location \
'https://app.formbricks.com/api/v1/webhooks/<webhook-id>' \
--header \
'x-api-key: <your-api-key>'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{ title: '200 Success' }}
{
"data": {
"id": "cliu167rk000019zfhbo68bar",
"createdAt": "2023-06-13T08:38:02.960Z",
"updatedAt": "2023-06-13T08:38:02.960Z",
"url": "https://mysystem.com/myendpoint",
"environmentId": "clisypjy4000319t4imm289uo",
"triggers": [
"responseFinished"
]
}
}
```
```json {{ title: '401 Not Authenticated' }}
{
"code": "not_authenticated",
"message": "Not authenticated",
"details": {
"x-Api-Key": "Header not provided or API Key invalid"
}
}
```
</CodeGroup>
</Col>
</Row>
---
## Create Webhook {{ tag: 'POST', label: '/api/v1/webhooks' }}
Add a webhook to your product.
<Row>
<Col>
### Mandatory Headers
<Properties>
<Property name="x-Api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
### Request Body Parameters
<Properties>
<Property name="url" type="string" required>
The URL where the webhook will send data to.
</Property>
<Property name="triggers" type="string[]" required>
List of events that will trigger the webhook.
</Property>
<Property name="surveyIds" type="string[]">
List of survey IDs that will trigger the webhook. If not provided, the webhook will be triggered for all surveys.
</Property>
</Properties>
| field name | required | default | description |
| ---------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------------- |
| url | yes | - | The endpoint that the webhook will send data to |
| trigger | yes | - | The event that will trigger the webhook ("responseCreated" or "responseUpdated" or "responseFinished") |
| surveyIds | no | - | List of survey IDs that will trigger the webhook. If not provided, the webhook will be triggered for all surveys. |
</Col>
<Col sticky>
<CodeGroup title="Request" tag="POST" label="/api/v1/webhooks">
```bash {{ title: 'cURL' }}
curl --location --request POST 'https://app.formbricks.com/api/v1/webhooks' \
--header 'x-api-key: <your-api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"url": "https://mysystem.com/myendpoint",
"triggers": ["responseFinished"]
}'
```
```json {{ title: 'Example Request Body' }}
{
"url": "https://mysystem.com/myendpoint",
"triggers": ["responseFinished"]
}
```
</CodeGroup>
<CodeGroup title="Response">
```json {{ title: '200 Success' }}
{
"data": {
"id": "cliu1kdza000219zftad4ip6c",
"createdAt": "2023-06-13T08:49:04.198Z",
"updatedAt": "2023-06-13T08:49:04.198Z",
"url": "https://mysystem.com/myendpoint",
"environmentId": "clisypjy4000319t4imm289uo",
"triggers": ["responseFinished"],
"surveyIds": ["clisypjy4000319t4imm289uo"]
}
}
```
```json {{ title: '400 Bad Request' }}
{
"code": "bad_request",
"message": "Missing trigger",
"details": {
"missing_field": "trigger"
}
}
```
```json {{ title: '401 Not Authenticated' }}
{
"code": "not_authenticated",
"message": "Not authenticated",
"details": {
"x-Api-Key": "Header not provided or API Key invalid"
}
}
```
</CodeGroup>
</Col>
</Row>
---
## Delete Webhook by ID {{ tag: 'DELETE', label: '/api/v1/webhooks/<webhook-id>' }}
<Row>
<Col>
### Mandatory Headers
<Properties>
<Property name="x-Api-Key" type="string">
Your Formbricks API key.
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="DELETE" label="/api/v1/webhooks/<webhook-id>">
```bash {{ title: 'cURL' }}
curl --location --request DELETE 'https://app.formbricks.com/api/v1/webhooks/<webhook-id>' \
--header 'x-api-key: <your-api-key>'
```
</CodeGroup>
<CodeGroup title="Response">
```json {{ title: '200 Success' }}
{
"data": {
"id": "cliu167rk000019zfhbo68bar",
"createdAt": "2023-06-13T08:38:02.960Z",
"updatedAt": "2023-06-13T08:38:02.960Z",
"url": "https://mysystem.com/myendpoint",
"environmentId": "clisypjy4000319t4imm289uo",
"triggers": ["responseFinished"]
}
}
```
```json {{ title: '401 Not Authenticated' }}
{
"code": "not_authenticated",
"message": "Not authenticated",
"details": {
"x-Api-Key": "Header not provided or API Key invalid"
}
}
```
```json {{ title: '404 Not Found' }}
{
"code": "not_found",
"message": "Webhook not found.",
"details": {
"webhookId": "The requested webhook does not exist."
}
}
```
</CodeGroup>
</Col>
</Row>
---
## Webhook Payload
This documentation helps understand the payload structure that will be received when the webhook is triggered in Formbricks.
<Row>
<Col sticky>
| Variable | Type | Description |
| --------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| webhookId | String | Webhook's Id |
| event | String | The name of the trigger event [responseCreated, responseUpdated, responseFinished] |
| data | Object | Contains the details of the newly created response. |
| data.id | String | Formbricks Response ID. |
| data.createdAt | String | The timestamp when the response was created. |
| data.updatedAt | String | The timestamp when the response was last updated. |
| data.surveyId | String | The identifier of the survey associated with this response. |
| data.finished | Boolean | A boolean value indicating whether the survey response is marked as finished. |
| data.data | Object | An object containing the response data, where keys are question identifiers, and values are the corresponding answers given by the respondent. |
| data.meta | Object | Additional metadata related to the response, such as the user's operating system and browser information. |
| data.personAttributes | Object | An object with attributes related to the respondent, such as their email and a user ID (if available). |
| data.person | Object | Information about the respondent, including their unique id, attributes, and creation/update timestamps. |
| data.notes | Array | An array of notes associated with the response (if any). |
| data.tags | Array | An array of tags assigned to the response (if any). |
</Col>
<Col>
### An example webhook payload
<CodeGroup title="Payload">
```json
{
"webhookId": "cljwxvjos0003qhnvj2jg4k5i",
"event": "responseCreated",
"data": {
"id": "cljwy2m8r0001qhclco1godnu",
"createdAt": "2023-07-10T14:14:17.115Z",
"updatedAt": "2023-07-10T14:14:17.115Z",
"surveyId": "cljsf3d7a000019cv9apt2t27",
"finished": false,
"data": {
"qumbk3fkr6cky8850bvvq5z1": "Executive"
},
"meta": {
"userAgent": {
"os": "Mac OS",
"browser": "Chrome"
}
},
"personAttributes": {
"email": "test@web.com",
"userId": "THIS-IS-A-VERY-LONG-USER-ID-FOR-TESTING"
},
"person": {
"id": "cljold01t0000qh8ewzigzmjk",
"attributes": {
"email": "test@web.com",
"userId": "THIS-IS-A-VERY-LONG-USER-ID-FOR-TESTING"
},
"createdAt": "2023-07-04T17:56:17.154Z",
"updatedAt": "2023-07-04T17:56:17.154Z"
},
"notes": [],
"tags": []
}
}
```
</CodeGroup>
</Col>
</Row>
---

View File

@@ -0,0 +1,35 @@
export const metadata = {
title: "Guide for Setting Custom Attributes | Formbricks Documentation",
description:
"Learn how to set attributes in code using setAttribute function. Enhance user segmentation, target surveys effectively, and gather valuable insights for better decisions. Easily send user-specific details for better survey segmentation and gain deeper insights.",
};
#### Attributes
# Setting attributes with code
One way to send attributes to Formbricks is in your code. In Formbricks, there are two special attributes for [user identification](/docs/attributes/identify-users)(user ID & email) and custom attributes. An example:
## Setting Custom User Attributes
You can use the setAttribute function to set any custom attribute for the user (e.g. name, plan, etc.):
<Col>
<CodeGroup title="Setting Plan to Pro">
```javascript
formbricks.setAttribute("Plan", "Pro");
```
</CodeGroup>
</Col>
Generally speaking, the setAttribute function works like this:
<Col>
<CodeGroup title="Setting Custom Attributes">
```javascript
formbricks.setAttribute("attribute_key", "attribute_value");
```
</CodeGroup>
</Col>
Where `attributeName` is the name of the attribute you want to set, and `attributeValue` is the value of the attribute you want to set.

View File

@@ -0,0 +1,70 @@
export const metadata = {
title: "User Identification in Formbricks | Enhancing Survey Feedback",
description:
"A comprehensive guide on identifying users in Formbricks without compromising privacy. Learn how to set User ID, email, and custom attributes to optimize survey targeting, recontact users, and control survey intervals, all while respecting user anonymity.",
};
#### Attributes
# Identifying Users
At Formbricks, we value user privacy. By default, Formbricks doesn't collect or store any personal information from your users. However, we understand that it can be helpful for you to know which user submitted the feedback and also functionality like recontacting users and controlling the waiting period between surveys requires identifying the users. That's why we provide a way for you to share existing user data from your app, so you can view it in our dashboard.
If you would like to use the User Identification feature of Formbricks, target surveys to specific user segments and see more information about the user who responded to a survey, you can identify users by setting a User ID, email, and custom attributes. This guide will walk you through how to do that.
## Setting User ID
To enable the User identification feature you need to set the `userId` in the init() call of Formbricks. Only when the `userId` is set the person will be visible in the Formbricks dashboard. The `userId` can be any string and it's best to use the default identifier you use in your app (e.g. unique id from database or the email address if it's unique) but you can also anonymize these as long as they are unique for every user.
<Col>
<CodeGroup title="Setting User ID">
```javascript
formbricks.init({
environmentId: "<environment-id>",
apiHost: "<api-host>",
userId: "<user_id>",
});
```
</CodeGroup>
</Col>
## Setting User Email
The `userId` is the main identifier used in Formbricks and user identification is only enabled when it is set. In addition to the userId you can also set attributes that describes the user better. The email address can be set using the setEmail function:
<Col>
<CodeGroup title="Setting Email">
```javascript
formbricks.setEmail("user@example.com");
```
</CodeGroup>
</Col>
### Setting Custom User Attributes
You can use the setAttribute function to set any custom attribute for the user (e.g. name, plan, etc.):
<Col>
<CodeGroup title="Setting Custom Attributes">
```javascript
formbricks.setAttribute("Plan", "free");
```
</CodeGroup>
</Col>
### Logging Out Users
When a user logs out of your webpage, make sure to log them out of Formbricks as well. This will prevent new activity from being associated with an incorrect user. Use the logout function:
<Col>
<CodeGroup title="Logging out User">
```javascript
formbricks.logout();
```
</CodeGroup>
</Col>

View File

@@ -0,0 +1,23 @@
export const metadata = {
title: "Understanding User Attributes in Formbricks Surveys",
description:
"Dive into the importance of attributes in surveys. Learn how key-value pairs can significantly improve survey targeting, enhance feedback quality, and guide data-driven decisions with Formbricks.",
};
#### Attributes
# What are attributes and why are they useful?
Surveying your user base without segmentation leads to weak results and survey fatigue. Attributes help you segment your users into groups.
## What are attributes?
Attributes are key-value pairs that you can set for each person individually. For example, the attribute "Plan" can be set to "Free" or "Paid".
## How do attributes work?
Attributes are sent from your application to Formbricks and are associated with the current user. We store it in our database and allow you to use it the next time you create a survey.
## Why are attributes useful?
Attributes help show surveys to the right group of people. For example, you can show a survey to all users who have a "Plan" attribute set to "Paid".

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

View File

@@ -0,0 +1,166 @@
import Image from "next/image";
import DemoPreview from "@/components/dummyUI/DemoPreview";
import CreateChurnFlow from "./create-cancel-flow.webp";
import ChangeText from "./change-text.webp";
import TriggerInnerText from "./trigger-inner-text.webp";
import TriggerCSS from "./trigger-css-selector.webp";
import TriggerPageUrl from "./trigger-page-url.webp";
import RecontactOptions from "./recontact-options.webp";
import PublishSurvey from "./publish-survey.webp";
import SelectAction from "./select-action.webp";
export const metadata = {
title: "Mastering Churn Surveys with Formbricks | Essential Tips & Steps",
description: "Learn how to effectively utilize Formbricks' Churn Surveys to gain deeper insights into user departures. Dive into a step-by-step guide to craft, trigger, and optimize your churn surveys, ensuring you capture invaluable feedback at critical junctures",
};
#### Best Practices
# Learn from Churn
Churn is hard, but can teach you a lot. Whenever a user decides that your product isnt worth it anymore, you have a unique opportunity to get deep insights. These insights are pure gold to reduce churn.
## Purpose
The Churn Survey is among the most effective ways to identify weaknesses in your offering. People were willing to pay but now are not anymore: What changed? Lets find out!
## Preview
<DemoPreview template="Churn Survey" />
## Formbricks Approach
- Ask at exactly the right point in time
- Follow-up to prevent bad reviews
- Coming soon: Make survey mandatory
## Overview
To run the Churn Survey in your app you want to proceed as follows:
1. Create new Churn Survey at [app.formbricks.com](http://app.formbricks.com/)
2. Set up the user action to display survey at right point in time
3. Choose correct recontact options to never miss a feedback
4. Prevent that churn!
<Note>
## Formbricks Widget running?
We assume that you have already installed the Formbricks Widget in your web app. Its required to display messages
and surveys in your app. If not, please follow the [Quick Start Guide (takes 15mins max.)](/docs/getting-started/quickstart-in-app-survey)
</Note>
### 1. Create new Churn Survey
If you don't have an account yet, create one at [app.formbricks.com](https://app.formbricks.com/auth/signup)
Click on "Create Survey" and choose the template “Churn Survey”:
<Image
src={CreateChurnFlow}
alt="Create churn survey by template"
quality="100"
className="rounded-lg max-w-full sm:max-w-3xl"
/>
### 2. Update questions (if you like)
Youre free to update the question and answer options. However, based on our experience, we suggest giving the provided template a go 😊
<Image
src={ChangeText}
alt="Change text content"
quality="100"
className="rounded-lg max-w-full sm:max-w-3xl"
/>
_Want to change the button color? You can do so in the product settings._
Save, and move over to the “Audience” tab.
### 3. Pre-segment your audience
In this case, you dont really need to pre-segment your audience. You likely want to ask everyone who hits the “Cancel subscription” button.
### 4. Set up a trigger
To create the trigger for your Churn Survey, you have two options to choose from:
1. **Trigger by innerText:** You likely have a “Cancel Subscription” button in your app. You can setup a user Action with the according `innerText` to trigger the survey, like so:
<Image
src={TriggerInnerText}
alt="Set the trigger by inner Text"
quality="100"
className="rounded-lg max-w-full sm:max-w-3xl"
/>
2. **Trigger by CSS Selector:** In case you have more than one button saying “Cancel Subscription” in your app and only want to display the survey when one of them is clicked, you want to be more specific. The best way to do that is to give this button the HTML `id=“cancel-subscription”` and set your user action up like so:
<Image
src={TriggerCSS}
alt="Set the trigger by CSS Selector"
quality="100"
className="rounded-lg max-w-full sm:max-w-3xl"
/>
3. **Trigger by pageURL:** Lastly, you could also display your survey on a subpage “/subscription-cancelled” where you forward users once they cancelled the trial subscription. You can then create a user Action with the type `pageURL` with the following settings:
<Image
src={TriggerPageUrl}
alt="Set the trigger by page URL"
quality="100"
className="rounded-lg max-w-full sm:max-w-3xl"
/>
Whenever a user visits this page, matches the filter conditions above and the recontact options (below) the survey will be displayed ✅
Here is our complete [Actions manual](/docs/actions/why) covering [Code](/docs/actions/code) and [No-Code](/docs/actions/no-code) Actions.
<Note>
## Pre-churn flow coming soon
Were currently building full-screen survey pop-ups. Youll be able to prevent users from closing the survey
unless they respond to it. Its certainly debatable if you want that but you could force them to click through
the survey before letting them cancel 🤷
</Note>
### 5. Select Action in the “When to ask” card
<Image
src={SelectAction}
alt="Select feedback button action"
quality="100"
className="rounded-lg max-w-full sm:max-w-3xl"
/>
### 6. Last step: Set Recontact Options correctly
Lastly, scroll down to “Recontact Options”. Here you have to choose the correct settings to make sure you milk these super valuable insights. You want to make sure that this survey is always displayed, no matter if the user has already seen a survey in the past days:
<Image
src={RecontactOptions}
alt="Set recontact options"
quality="100"
className="rounded-lg max-w-full sm:max-w-3xl"
/>
These settings make sure the survey is always displayed, when a user wants to Cancel their subscription.
### 7. Congrats! Youre ready to publish your survey 💃
<Image
src={PublishSurvey}
alt="Publish survey"
quality="100"
className="rounded-lg max-w-full sm:max-w-3xl"
/>
<Note>
## Formbricks Widget running?
You need to have the Formbricks Widget installed to display the Churn Survey in your app. Please follow [this
tutorial (Step 4 onwards)](/docs/getting-started/quickstart-in-app-survey) to install the widget.
</Note>
###
# Get those insights! 🎉

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Some files were not shown because too many files have changed in this diff Show More