- Simplified the constructor in StoreFormSubmissionJob for improved readability.
- Enhanced the storeFile method to handle null and empty values more robustly, ensuring better validation of file names.
- Updated StorageFileNameParser to return null for empty file names, improving error handling.
- Refactored OpenForm.vue to optimize form initialization and prevent unnecessary reinitializations, enhancing performance.
- Introduced new methods for managing field groups and preventing recursive updates in OpenForm.vue, improving the overall user experience.
- Enhanced FormEditorSidebar.vue to utilize Pinia store for better state management and clarity.
- Improved FormFieldEdit.vue to prevent page jumps during field editing, ensuring a smoother user experience.
- Added new getters in working_form.js for better page management and navigation within forms.
These changes aim to enhance the maintainability and performance of the form handling logic, providing a more efficient and user-friendly experience.
- Refactor field options to use default values from blocks_types.json
- Add default values for various form input types in blocks_types.json
- Improve default field initialization logic in FieldOptions and working_form store
- Add camera switching functionality for mobile devices in CameraUpload component
Enhance CI/CD pipeline by introducing a new job to run ESLint on the client application. This ensures code quality and consistency for the frontend codebase.
* Form editor v2
* fix template test
* setFormDefaults when save
* fix form cleaning dark mode
* improvements on open sidebar
* UI polish
* Fix change type button
* Ability to drag & add multiple form blocks
---------
Co-authored-by: Chirag Chhatrala <chirag.chhatrala@gmail.com>
* Form editor v2
* fix template test
* setFormDefaults when save
* fix form cleaning dark mode
* improvements on open sidebar
* UI polish
* Fix change type button
---------
Co-authored-by: Julien Nahum <julien@nahum.net>
* Undo/redo form editor
* Fix undo/redo
* Fix history with version check
* Increase default history size
---------
Co-authored-by: Julien Nahum <julien@nahum.net>
* fix store content bug
* fix: form field indexing bug on working form store
* fix column width on form fied
* fix field width offset
* UI polishing
* Fix cursor grab
---------
Co-authored-by: Julien Nahum <julien@nahum.net>
* fix store content bug
* fix: form field indexing bug on working form store
* fix column width on form fied
---------
Co-authored-by: Julien Nahum <julien@nahum.net>