Commit Graph

29 Commits

Author SHA1 Message Date
Julien Nahum 3e80c88527 Update Navbar.vue and FormCleanings.vue for Improved Logic and UI Consistency
- Modified Navbar.vue to enhance form validation logic by allowing access when `import.meta.server` is true, improving handling of form states in specific routes.
- Updated FormCleanings.vue to replace the icon name from "bi:stars" to "i-heroicons-sparkles-16-solid", ensuring consistency with the icon library used across the application.

These changes aim to improve the user experience and maintainability of the components by refining logic and standardizing UI elements.
2025-03-26 17:07:02 +01:00
Chirag Chhatrala dafb0e57a8
Refactor Form Not Found Handling and Improve Error Response (#730)
* Refactor Form Not Found Handling and Improve Error Response

- Replace the existing "Whoops" message with a NotFoundForm component for better user experience when a form is not found.
- Enhance error handling in the loadForm function to set a 404 response status when a form cannot be loaded, improving clarity for users and developers.

These changes aim to streamline the user experience and provide clearer feedback when forms are unavailable.

* Refactor Navbar and NotFoundForm Components for Improved User Experience

- Simplify the Navbar component by removing unnecessary conditional rendering for the authentication display, enhancing clarity in the layout.
- Update the NotFoundForm component to utilize a dynamic actions array for rendering navigation options, improving maintainability and flexibility.
- Adjust text styles for better readability and consistency across the NotFoundForm component.

These changes aim to streamline the user interface and enhance the overall user experience when navigating forms and handling not found scenarios.

* Update NotFoundForm Component for Improved Action Clarity

- Adjust the text and icon in the actions array of the NotFoundForm component to enhance clarity and user experience. The "Start Fresh" action has been renamed to "Create Form" and the icon has been updated from a check-circle to a rocket-launch icon, better reflecting the action's purpose.
- Minor formatting adjustments were made to the template for improved readability.

These changes aim to provide users with clearer navigation options and a more intuitive interface when encountering a not found scenario.

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2025-03-20 16:55:53 +01:00
Julien Nahum 79d3dd7888
Feature flags (#543)
* Re-organize a bit controllers

* Added the featureflagcontroller

* Implement feature flags in the front-end

* Clean env files

* Clean console.log messages

* Fix feature flag test
2024-08-27 16:49:43 +02:00
Julien Nahum 3280e38ee1
Docker compose setup (#513)
* fix password reset bug

* self hosted mode middleware changes on  pages

* fix lint

* wip: self hosted changes

* wip: self hosted frontend changes

* wip self hosted mode changes

* typo correction

* remove commented logic

* fix env variable names

* fix lint issues

* fix minor updates

* #445 Switched from single monolithic docker image to a docker-compose
 orchestrated network of services

* Automatically configures shared secret

* Working through some issues

* Use local file storage

* Moved the dockerfiles

* Fixed some issues when building from clean

* Corrected workflow

* Hopefully schedules everything correctly now

* Prep storage for worker process as well

* .env files are required

* Pinned dependency versions

* Disable self hosted in the client as well

* Removed double defaulting logic

* Using regexs is more succinct

* Added FRONT_URL environment variable

* Merge 236e4-self-hosted-mode-changes

* Improve inital user setup

* Finalized the new docker-compose setup

* Fix back-end formatting issues

---------

Co-authored-by: Frank <csskfaves@gmail.com>
Co-authored-by: Don Benjamin <don@webhammer.co.uk>
2024-08-05 12:06:20 +02:00
Favour Olayinka 90ff91b1e9
Team functionality (#459)
* add api enpoints for adding, removing, updating user to workspace and leaving workspace

* feat: updates client site workspace settings

* refactor and add domain setting ui in modal

* move workspace user functionality to its own component

* adds tests

* fix linting

* updates select input to FlatSelectInput

* moves workspace user role edit to seperated component

* move user adding to its own component

* adds check to usure users exist before checking is admin

* fix loading users

* feat: invite user to team functionality

* fix token coulmn

* fix self host mode changes

* tests for  user invite

* Refactor back-end

* Rename variables

* Improve some styling elements + refactor workspace settings

* More styling

* More UI polishing

* More UI fixes

* PHP linting

* Implemented most of the logic for team-functionnality

* Fix user avatar URL

* WIP remove users on cancellation

* Finished pricing for team functionality

* Fix tests

* Fix linting

* Added pricing_enabled helper

* Fix pricing_enabled shortcut

* Debug CI

* Disable pricing when testing

---------

Co-authored-by: LL-Etiane <lukongleinyuyetiane@gmail.com>
Co-authored-by: Lukong Etiane <83535251+LL-Etiane@users.noreply.github.com>
Co-authored-by: Julien Nahum <julien@nahum.net>
2024-07-04 17:21:36 +02:00
Julien Nahum af256bfccc Fix navbar featurebase 2024-06-03 12:14:14 +02:00
Julien Nahum 71031d0a6d Style new changes badge 2024-06-03 12:05:18 +02:00
Favour Olayinka 53f2e99ec3
fix help url (#422) 2024-05-25 18:57:57 +02:00
Favour Olayinka bcd45ce8a6
0351d front end linting (#377)
* feat: disable custom script for  trial users

* after lint fix

* frontend linting

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-04-15 19:39:03 +02:00
Daniel Roe d9996e0d9d
fix: opt in to `import.meta.*` properties (#364) 2024-03-28 17:59:41 +01:00
Favour Olayinka 9761351a26
remove nuxtimg (#347)
* remove nuxtimg

* fix: remove dummyImageProvider

---------

Co-authored-by: Julien Nahum <julien@nahum.net>
2024-03-19 17:59:10 +01:00
Julien Nahum 18afd44664
Added featurebase (#344) 2024-03-12 12:43:17 +01:00
Julien Nahum 2dbbc38ba4 Optimize API calls, added form loading logs 2024-01-25 05:12:45 +01:00
Julien Nahum 42c65ae06f Added moderator impersonation 2024-01-19 14:27:04 +01:00
Julien Nahum 359e993374 Fix darkMode 2024-01-16 15:00:22 +01:00
Julien Nahum ac82040080 Fix show route name - password, navbar etc 2024-01-16 12:58:41 +01:00
Julien Nahum cf499e7274 Fix Navbar help button 2024-01-15 13:18:02 +01:00
Julien Nahum 9750406025 Remove NuxtImg for non asset files 2024-01-10 16:17:47 +01:00
formsdev 27ece34226
NuxtImg Migration (#279)
Co-authored-by: Julien Nahum <julien@nahum.net>
2024-01-05 11:41:49 +01:00
formsdev 9c7d46b53b
Templates pages migration (#275) 2024-01-05 11:00:34 +01:00
Julien Nahum a6d88278be Remove appconfig in favor of runtimeconfig 2024-01-03 17:38:11 +01:00
Chirag Chhatrala 56e533581c
migrate-to-nuxt-useappconfig (#263)
* migrate-to-nuxt-useappconfig

* defineAppConfig

---------

Co-authored-by: Forms Dev <chirag+new@notionforms.io>
2023-12-22 15:45:53 +01:00
Julien Nahum bab8517879 Fixed most of the form/show pages 2023-12-20 18:38:43 +01:00
Julien Nahum af5656ce81 Fixed form creation 2023-12-20 16:10:32 +01:00
Julien Nahum bb519907f6 Refactoring stores and templates pages to comp. api 2023-12-19 13:46:55 +01:00
Julien Nahum 7c2db2052a Figured out auth & middlewares 2023-12-16 19:21:03 +01:00
Julien Nahum 5c4dc2a3d6 WIP 2023-12-11 11:56:21 +01:00
Julien Nahum 6ee56ac4cc Started to refactor pages 2023-12-09 17:02:23 +01:00
Julien Nahum 1f853e8178 Work in progress 2023-12-09 15:47:03 +01:00