Skip to content

Development - #39

Merged
QUBITABHAY merged 3 commits into
mainfrom
development
Sep 20, 2026
Merged

QUBITABHAY merged 3 commits into
mainfrom
development

Conversation

@QUBITABHAY

Copy link
Copy Markdown
Owner

This pull request introduces significant improvements and documentation updates for the Formify frontend, focusing on quiz features, UI modernisation, security, and developer guidance. It also removes unused dependencies to streamline the codebase.

Key highlights:

  • Adds comprehensive documentation for both AI agents and Claude, detailing architecture, coding standards, and project structure.
  • Implements new quiz features, a toast notification system, and UI/UX enhancements.
  • Addresses multiple security issues and removes unused Mapbox-related dependencies.

Documentation & Developer Experience

  • Added AGENTS.md and CLAUDE.md as authoritative guides for AI agents and developers, covering project structure, technology stack, coding standards, and API integration. ([[1]](https://github.com/QUBITABHAY/formify/pull/39/files#diff-a54ff182c7e8acf56acfd6e4b9c3ff41e2c41a31c9b211b2deb9df75d9a478f9R1-R160), [[2]](https://github.com/QUBITABHAY/formify/pull/39/files#diff-6ebdb617a8104a7756d0cf36578ab01103dc9f07e4dc6feb751296b9c402faf7R1-R240))

Features & Enhancements

  • Implemented server-side quiz integration, Flow mode quiz support, a question breakdown result screen, and a global toast notification system. ([CHANGELOG.mdR5-R37](https://github.com/QUBITABHAY/formify/pull/39/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4edR5-R37))
  • Refreshed UI components for a modernised look and improved user experience. ([CHANGELOG.mdR5-R37](https://github.com/QUBITABHAY/formify/pull/39/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4edR5-R37))
  • Integrated the new toast notification context provider in src/App.tsx. ([src/App.tsxR3](https://github.com/QUBITABHAY/formify/pull/39/files#diff-26ad4b834941d9b19ebf9db8082bd202aaf72ea0ddea85f5a8a0cb3c729cc6f2R3))

Security & Performance

  • Fixed CSV formula injection, enforced file upload size limits, improved OAuth callback sanitisation, and set strict HTTP security headers. ([CHANGELOG.mdR5-R37](https://github.com/QUBITABHAY/formify/pull/39/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4edR5-R37))
  • Removed unused Mapbox-related dependencies from package.json to reduce bundle size and improve performance. ([[1]](https://github.com/QUBITABHAY/formify/pull/39/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519L18-L27), [[2]](https://github.com/QUBITABHAY/formify/pull/39/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4edR5-R37))

Bug Fixes

  • Resolved issues with duplicate question titles, quiz points defaulting, option label normalisation, and improved quiz support in preview mode. ([CHANGELOG.mdR5-R37](https://github.com/QUBITABHAY/formify/pull/39/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4edR5-R37))

Changelog

  • Updated CHANGELOG.md with a detailed log for Release 0.1.1, summarising all major additions, changes, fixes, and security improvements. ([CHANGELOG.mdR5-R37](https://github.com/QUBITABHAY/formify/pull/39/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4edR5-R37))

…r handling

fix: update ShareModal to use noopener and noreferrer for security

fix: clean up URL on AuthCallbackPage to remove query parameters

fix: ensure proper formatting of answers in FormResponsesPage

chore: add security headers in vercel.json for enhanced protection
- Implemented ToastContext to manage toast notifications across the application.
- Added `showToast` and `removeToast` methods for displaying and removing toasts.

feat: enhance FlowPage and SinglePage with quiz functionality

- Updated FlowPage and SinglePage to handle quiz submissions and display results.
- Added logic to compute quiz scores based on user responses.
- Enhanced form submission handling to include quiz results in responses.

fix: improve loading states and error handling in DashboardPage and FormResponsesPage

- Added loading indicators and improved error messages for form actions.
- Integrated toast notifications for successful and failed actions.

refactor: streamline form response handling and submission

- Refactored form response submission to return structured data.
- Updated API service to handle quiz results in form submissions.

chore: update types for form submissions to include quiz results

- Extended FormSubmission type to include optional quiz_result field.
feat: add toast context for notifications
@vercel

vercel Bot commented Sep 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
formify Ready Ready Preview Sep 20, 2026 3:26pm UTC

@QUBITABHAY
QUBITABHAY merged commit 78ba51f into main Sep 20, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
Preview — 471d32aa Deployed Sep 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant