Cursor Agent
21ff1eb385
feat: Add NPS and Rating summary view improvements
...
This commit introduces several enhancements to the NPS and Rating survey summary views.
**NPS Summary:**
- Implemented a tabbed interface to switch between "grouped" and "individual" views.
- The "grouped" view displays the breakdown of promoters, passives, and detractors.
- The "individual" view shows a bar chart of responses for each NPS score (0-10).
- Added tooltips for better user guidance.
**Rating Summary:**
- Integrated CSAT (Customer Satisfaction) score calculation and display.
- Added tooltips for CSAT information.
**Backend/Logic Changes:**
- Updated `getQuestionSummary` to calculate and include CSAT data for Rating questions.
- Modified `getQuestionSummary` to include an array of `choices` for NPS questions, detailing individual score counts and percentages.
- Added new tests to cover CSAT calculations for various rating scales and NPS individual score breakdowns.
- Updated type definitions for `TSurveyQuestionSummaryRating` and `TSurveyQuestionSummaryNps` to accommodate the new data structures.
Co-authored-by: johannes <johannes@formbricks.com >
2025-11-17 08:43:56 +00:00
Matti Nannt
71a85c7126
feat: add CUID v1 validation for environment ID endpoints ( #6827 )
...
Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com >
2025-11-17 07:33:52 +00:00
Dhruwang Jariwala
341e2639e1
feat: spanish translations ( #6817 )
...
Co-authored-by: Johannes <johannes@formbricks.com >
2025-11-13 14:48:37 +00:00
Dhruwang Jariwala
056470e6f0
fix: added variable key id mapping UI ( #6814 )
2025-11-13 09:56:42 +00:00
Dhruwang Jariwala
e965ad4b97
fix: raw html issues ( #6813 )
2025-11-13 09:12:39 +00:00
Johannes
07065f2675
fix: include responseStatus filter in active filter count display ( #6809 )
...
Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com >
2025-11-11 11:05:02 +00:00
Johannes
7ca45cefeb
fix: copy recontact options when copying surveys between environments ( #6802 )
2025-11-11 10:39:37 +00:00
Dhruwang Jariwala
4df28878db
fix: preview animation fix (duplicate) ( #6784 )
...
Co-authored-by: Praveen Thanikachalam <100035228+prave01@users.noreply.github.com >
2025-11-06 20:16:26 +00:00
Johannes
b355d05b25
fix: Tweak Recontact UI ( #6783 )
...
Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com >
2025-11-06 14:53:29 +00:00
Matti Nannt
e757e9aec9
fix: serve logo from self-hosted instance instead of external S3 bucket ( #6781 )
2025-11-05 14:57:44 +00:00
Dhruwang Jariwala
cf4119baf6
fix: update issue in welcome card ( #6779 )
2025-11-05 13:42:12 +00:00
Johannes
6be2ae3071
chore: update wording & UI tweak for easier SDK setup ( #6777 )
2025-11-05 06:10:14 +00:00
Dhruwang Jariwala
600b793641
chore: recalibrate survey editor width to 2/3 editor and 1/3 preview ( #6772 )
2025-11-04 09:10:31 +00:00
Dhruwang Jariwala
cde03b6997
fix: duplicate survey issue ( #6774 )
2025-11-04 08:19:25 +00:00
Thomas Brugman
3d3c69a92b
feat: Add Dutch language support. ( #6737 )
2025-10-31 12:35:08 +01:00
dependabot[bot]
b1b94eaa66
chore(deps): bump next-auth from 4.24.11 to 4.24.12 in /apps/web in the npm_and_yarn group across 1 directory ( #6751 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com >
2025-10-30 13:09:31 +00:00
Marc T.
67cc96449d
fix: allow access of /animated-bgs/** from public url ( #6748 )
...
Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com >
2025-10-30 12:21:50 +00:00
Dhruwang Jariwala
bf41a53b86
fix: survey ui loading issue ( #6755 )
2025-10-30 07:32:44 +00:00
Anshuman Pandey
26292ecf39
fix: welcome card headline in survey title ( #6749 )
2025-10-29 07:57:27 +00:00
Johannes
056e572a31
fix: move Follow ups to Enterprise plan ( #6734 )
...
Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com >
2025-10-28 09:04:22 +00:00
Johannes
d7bbd219a3
refactor: simplify Stripe integration and rename enterprise to custom ( #6720 )
2025-10-28 07:45:59 +00:00
Hemachandar
fe5ff9a71c
feat: Show SingleUse ID data in survey responses table ( #6742 )
...
Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com >
2025-10-28 08:38:44 +01:00
Johannes
4e3438683e
chore: Response page data handling optimization + UI tweaks ( #6716 )
...
Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com >
2025-10-28 06:56:06 +00:00
Matti Nannt
f587446079
feat: Optimize layout data fetching and reduce database queries by 50% ( #6729 )
...
Co-authored-by: Johannes <johannes@formbricks.com >
Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com >
2025-10-28 06:55:44 +00:00
Dhruwang Jariwala
7a3d05eb9a
fix: prevent browser confirmation dialog after successful survey save ( #6744 )
2025-10-28 06:03:43 +00:00
Johannes
906b4da33c
fix: execute pipeline on Create Response of Management API ( #6712 )
...
Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com >
2025-10-27 17:34:00 +00:00
Dhruwang Jariwala
5a693a548c
fix: 1135 translation updates ( #6743 )
2025-10-27 10:52:04 +00:00
Matti Nannt
20614c2b12
chore: update Next.js to 15.5.6 ( #6727 )
...
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com >
2025-10-27 08:44:36 +00:00
Hemachandar
b3c16c8731
fix: parse question text-content for GSheets header row ( #6736 )
...
Co-authored-by: Matti Nannt <matti@formbricks.com >
2025-10-27 09:25:15 +01:00
Johannes
a6d45a63fa
fix: breadcrumb dropdown active state and loading indicators ( #6714 )
...
Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com >
2025-10-27 05:54:18 +00:00
Dhruwang Jariwala
a5fa876aa3
feat: refactor translation key management ( #6717 )
...
Co-authored-by: Piyush Gupta <piyushguptaa2z123@gmail.com >
Co-authored-by: Piyush Gupta <56182734+gupta-piyush19@users.noreply.github.com >
Co-authored-by: Victor Hugo dos Santos <115753265+victorvhs017@users.noreply.github.com >
Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com >
Co-authored-by: Matti Nannt <matti@formbricks.com >
Co-authored-by: Matti Nannt <mail@matthiasnannt.com >
Co-authored-by: Johannes <johannes@formbricks.com >
Co-authored-by: Johannes <72809645+jobenjada@users.noreply.github.com >
2025-10-23 14:53:11 +00:00
Matti Nannt
c9a50a6ff2
chore(deps-dev): bump the npm_and_yarn group across 9 directories wit… ( #6730 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-23 10:09:57 +00:00
Matti Nannt
19389bfffc
chore: exclude TSX files from unit test coverage ( #6723 )
...
Co-authored-by: Johannes <johannes@formbricks.com >
2025-10-22 12:55:44 +00:00
Matti Nannt
c04c351244
chore: remove Next.js Redis cache handler ( #6725 )
2025-10-21 12:18:44 +00:00
Johannes
f7f8f07778
chore: clean up login screen ( #6710 )
2025-10-21 11:06:59 +00:00
Matti Nannt
8bdfc0686f
chore: apply prettier formatting ( #6719 )
2025-10-20 14:28:14 +00:00
Johannes
785359955a
chore: prevent phishing for CTA question & on thank you page ( #6694 )
...
Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com >
2025-10-18 09:58:12 +00:00
Anshuman Pandey
f6157d5109
fix: Duplicate PR for fixing invalid email validation ( #6709 )
...
Co-authored-by: Aashish-png <aashishsarwa512@gmail.com >
Co-authored-by: Aashish <59650752+Aashish-png@users.noreply.github.com >
Co-authored-by: Johannes <johannes@formbricks.com >
2025-10-17 19:10:45 +00:00
Johannes
7a40d647d8
fix: prevent navigation collapse/expand flash on page load (quick fix) ( #6678 )
...
Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com >
2025-10-17 12:56:13 +00:00
Johannes
2186a1c60d
revert: revert accidental merges ( #6701 ) ( #6703 )
2025-10-17 05:47:17 +00:00
Johannes
e068955fbf
fix: removes unused migration and language flag from the codebase ( #6704 )
2025-10-16 15:34:04 +00:00
Johannes
4f5180ea8f
fix: revert accidental merges ( #6701 )
2025-10-16 05:42:00 -07:00
Johannes
093013e1d2
Merge branch 'main' of https://github.com/formbricks/formbricks
2025-10-16 14:33:09 +02:00
Anshuman Pandey
36c5fc4a65
feat: rich text in headlines ( #6685 )
...
Co-authored-by: Johannes <johannes@formbricks.com >
Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com >
2025-10-16 10:29:46 +00:00
Johannes
36535e1e50
feat: Add language as default contact attribute for case-insensitive CSV matching
...
- Add language as a default attribute key in environment creation
- Create data migration to add language attribute key to existing environments
- Update tests to verify language is treated like other default attributes
- Fixes issue where CSV columns with 'Language' (capital L) would create duplicate custom attributes
The existing isStringMatch() function already handles case-insensitive matching,
so this change ensures language is properly matched alongside userId, email,
firstName, and lastName without any hardcoding in the UI layer.
2025-10-15 18:07:04 +02:00
Dhruwang Jariwala
e26a188d1b
fix: use /releases/latest endpoint to fetch correct latest version ( #6690 )
2025-10-15 07:01:00 +00:00
Victor Hugo dos Santos
aaea129d4f
fix: api key hashing algorithm ( #6639 )
...
Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com >
2025-10-13 14:36:37 +00:00
Johannes
18f4cd977d
feat: Add "None of the above" option for Multi-Select and Single-Select questions ( #6646 )
2025-10-10 07:50:45 -07:00
Dhruwang Jariwala
5468510f5a
feat: recall in rich text ( #6630 )
...
Co-authored-by: Johannes <johannes@formbricks.com >
Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com >
2025-10-09 09:45:08 +00:00
Victor Hugo dos Santos
76213af5d7
chore: update dependencies and improve logging format ( #6672 )
2025-10-09 09:02:07 +00:00