opnform-host-nginx/client
Chirag Chhatrala 204724e34c
Add LogicConfirmationModal Component and Integrate Logic Validation (#742)
* Add LogicConfirmationModal Component and Integrate Logic Validation

- Introduced LogicConfirmationModal component to display validation errors related to form logic.
- Integrated logic validation and cleaning functionalities into FormEditor, prompting users when invalid logic is detected.
- Added useLogicValidation and useLogicCleaner composables for error checking and logic correction.
- Removed deprecated validatePropertiesLogic function to streamline logic handling.

These changes enhance user experience by providing clear feedback on form logic issues and ensuring that invalid logic is addressed before form submission.

* Refactor Logic Handling in Form Components

- Updated LogicConfirmationModal to improve user feedback by changing the title and icon colors, enhancing clarity on incomplete form logic.
- Replaced useLogicValidation and useLogicCleaner with a new useFormLogic composable in FormEditor for streamlined logic validation and cleaning processes.
- Removed deprecated useLogicCleaner and useLogicValidation files to simplify the codebase and improve maintainability.

These changes enhance the user experience by providing clearer messages regarding form logic issues and ensuring that invalid logic is effectively managed before form submission.

---------

Co-authored-by: JhumanJ <julien@nahum.net>
2025-04-28 18:41:39 +02:00
..
components Add LogicConfirmationModal Component and Integrate Logic Validation (#742) 2025-04-28 18:41:39 +02:00
composables Add LogicConfirmationModal Component and Integrate Logic Validation (#742) 2025-04-28 18:41:39 +02:00
data Stripe Payment (#679) 2025-04-10 12:04:25 +02:00
i18n/lang Stripe Payment (#679) 2025-04-10 12:04:25 +02:00
layouts 0351d front end linting (#377) 2024-04-15 19:39:03 +02:00
lib Stripe Payment (#679) 2025-04-10 12:04:25 +02:00
middleware Enhance JWT Token Management and Authentication Flow (#720) 2025-03-10 17:32:17 +08:00
mixins/forms 41db1 submission editor theme fix (#500) 2024-07-24 09:50:42 +02:00
pages Partial submissions (#705) 2025-04-28 17:33:55 +02:00
plugins Sentry + Nuxt upgrade & (#738) 2025-04-01 17:41:10 +02:00
public Refactor Form Not Found Handling and Improve Error Response (#730) 2025-03-20 16:55:53 +01:00
scss Form Editor v2.5 (#599) 2024-10-23 10:34:51 +02:00
server 0351d front end linting (#377) 2024-04-15 19:39:03 +02:00
stores Enhance OAuth Providers Configuration for Stripe Integration 2025-04-10 12:20:34 +02:00
.env.docker Feature flags (#543) 2024-08-27 16:49:43 +02:00
.env.example Stripe Payment (#679) 2025-04-10 12:04:25 +02:00
.eslintrc.cjs Enhance ESLint Configuration and Improve Code Consistency 2025-03-27 11:07:39 +01:00
.gitignore Reworked docker scripts for new nuxt infrastructure (#285) 2024-01-18 16:35:45 +01:00
README.md Work in progress 2023-12-09 15:47:03 +01:00
app.config.ts Form editor v2 (#579) 2024-09-23 20:02:38 +02:00
app.vue Re-login modal (#717) 2025-03-25 10:41:11 +01:00
error.vue Track 500 errors in Sentry 2024-06-18 12:31:17 +02:00
gtm.js Migrate to GTM 2024-06-06 18:03:41 +02:00
nuxt.config.ts Stripe Payment (#679) 2025-04-10 12:04:25 +02:00
opnform.config.js Technical docs (#553) 2024-09-02 15:33:17 +02:00
package-lock.json Stripe Payment (#679) 2025-04-10 12:04:25 +02:00
package.json Stripe Payment (#679) 2025-04-10 12:04:25 +02:00
runtimeConfig.js Add client linting to GitHub Actions workflow 2025-01-27 18:24:27 +01:00
sentry.client.config.ts Sentry + Nuxt upgrade & (#738) 2025-04-01 17:41:10 +02:00
sentry.server.config.ts Sentry + Nuxt upgrade & (#738) 2025-04-01 17:41:10 +02:00
sitemap.js 0351d front end linting (#377) 2024-04-15 19:39:03 +02:00
tailwind.config.js Refactor form components (#659) 2025-01-03 16:15:47 +01:00
tsconfig.json Work in progress 2023-12-09 15:47:03 +01:00

README.md

Nuxt 3 Minimal Starter

Look at the Nuxt 3 documentation to learn more.

Setup

Make sure to install the dependencies:

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install

Development Server

Start the development server on http://localhost:3000:

# npm
npm run dev

# pnpm
pnpm run dev

# yarn
yarn dev

# bun
bun run dev

Production

Build the application for production:

# npm
npm run build

# pnpm
pnpm run build

# yarn
yarn build

# bun
bun run build

Locally preview production build:

# npm
npm run preview

# pnpm
pnpm run preview

# yarn
yarn preview

# bun
bun run preview

Check out the deployment documentation for more information.