34af53130b
Refactor and enhance ValidationException
handling across types and components
...
- Simplify and extend type definitions in `types.ts` for dynamic and normalized keys.
- Update `ValidationExceptionInterface` to include new methods for filtering violations.
- Refactor `apiMethods.ts` to leverage updated exception types and key parsing.
- Adjust `WritePersonViolationMap` for stricter type definitions.
- Enhance `PersonEdit.vue` to use refined violation methods, improving validation error handling.
2025-09-23 21:26:12 +02:00
a5b06de92a
Refactor validation handling in PersonEdit.vue
: Replace hasValidationError
and validationError
with hasViolation
and violationTitles
. Introduce hasViolationWithParameter
and violationTitlesWithParameter
for enhanced field validation. Update RequiredIdentifierConstraint
messages, improve API error mapping, and refine ValidationException
structure with violationsList
. Add tests and translations for identifier validation.
2025-09-22 14:03:58 +02:00
bbd4292cb9
Enhance PersonEdit
form: Add birthdate input with validation, improve field error handling using hasValidationError
, refactor birthDate
to respect timezone offsets, and update translations for better user feedback. Replace DateTimeCreate
with DateTimeWrite
across types and components.
2025-09-22 14:03:55 +02:00
5330befc8f
eslint fixes
2025-09-22 14:03:54 +02:00
c19206be0c
Enhance validation in PersonEdit
: Introduce hasValidationError
and validationError
helpers for form inputs. Improve error feedback for fields such as firstName
, lastName
, gender
, and others. Refactor postPerson
to handle validation exceptions and map errors to specific fields. Update related methods, styles, and API error type definitions.
2025-09-22 14:03:53 +02:00
5ff374d2fa
Refactor validation handling in apiMethods
: Introduce strongly-typed ValidationException
and ViolationFromMap
. Replace generic validation logic with stricter, type-safe mappings. Update makeFetch
to handle Symfony validation problems with enhanced error taxonomy.
2025-09-22 14:03:53 +02:00
4367ed086e
Enhance person creation workflow: Add onPersonCreated
event handling in Create
, CreateModal
, and AddPersons
. Update type definitions and integrate event emission for streamlined person management.
2025-09-22 14:03:51 +02:00
27548ad654
Add support for person identifiers workflow: update PersonEdit
component, API methods, and modals for identifier handling during person creation. Adjust related types for improved consistency.
2025-09-22 14:03:48 +02:00
852523e644
Refactor person management workflow: Introduce SetGender
, SetCivility
, and SetCenter
lightweight interfaces. Replace PersonState
with PersonEdit
for streamlined type usage. Enhance queryItems
logic and API methods for better consistency. Adjust AddPersons
modal to handle query input.
2025-09-22 14:03:47 +02:00
c05d0aad47
Refactor person creation workflow: Introduce PersonEdit
component and integrate it across Create
, Person.vue
, and modals for improved modularity. Update type definitions and API methods for consistency.
2025-09-22 14:03:47 +02:00
1c0ed9abc8
Enhance entity creation: Add CreateModal
and integrate with AddPersons
workflow.
2025-09-22 14:03:42 +02:00
9aed5cc216
Fix type hinting in PickEntity.vue
for addNewEntity
function
2025-09-22 14:03:25 +02:00
e4fe5bff68
Allow creating new entities directly from AddPersons
modal
2025-09-22 14:03:25 +02:00
Boris Waaub
e1ef65d4ca
Correction de bugs, ajout champs urgents dans la modal d'initialisation du ticket et ajout d'un configuration pour l'affichage des tabs dans la homepage
2025-09-22 09:23:30 +00:00
Boris Waaub
0ba2cbc1e8
Misc: homepage widget with tickets, and improvements in ticket list
2025-09-16 11:16:57 +00:00
2665e43a61
Merge branch 'master' into ticket-app-master
...
# Conflicts:
# .eslint-baseline.json
# src/Bundle/ChillMainBundle/Entity/User.php
# src/Bundle/ChillMainBundle/Resources/public/vuejs/Address/components/AddAddress.vue
# src/Bundle/ChillMainBundle/Resources/public/vuejs/Address/components/AddAddress/AddressMore.vue
# src/Bundle/ChillMainBundle/Resources/public/vuejs/Address/components/AddAddress/AddressSelection.vue
# src/Bundle/ChillMainBundle/Resources/public/vuejs/Address/components/AddAddress/CitySelection.vue
# src/Bundle/ChillMainBundle/Resources/public/vuejs/Address/components/AddAddress/CountrySelection.vue
# src/Bundle/ChillMainBundle/Resources/public/vuejs/Address/components/EditPane.vue
# src/Bundle/ChillMainBundle/Resources/public/vuejs/Address/components/ShowPane.vue
# src/Bundle/ChillThirdPartyBundle/translations/messages.fr.yml
2025-09-05 18:32:01 +02:00
ea06a96f91
Add external identifiers for person, editable in edit form, with minimal features associated
2025-09-01 08:05:11 +00:00
c4b760c452
eslint fixes and new baseline
2025-08-26 15:18:08 +02:00
bb71e084b8
Create address on the fly field in event form
2025-08-26 15:18:08 +02:00
adc9c47d0a
Add event theme color for badge
2025-08-26 15:18:08 +02:00
f5668592ca
Resolve "Fusion des tiers"
2025-08-18 15:34:48 +00:00
e3a6b60fa2
Revert "Merge branch 'ticket/supplementary-comments-on-motive' into 'master'"
...
This reverts merge request !855
2025-07-20 18:50:33 +00:00
Boris Waaub
61d1232e31
Implémenter une app vue avec la liste des tickets attribués
2025-07-18 16:06:16 +00:00
Boris Waaub
b7c9b60744
Créer un composant pour afficher une liste des tickets
2025-07-16 09:04:57 +00:00
63d0a52ea1
Ajout de commentaires supplémentaires aux motifs
2025-07-11 14:06:40 +00:00
15d26d4b06
Refactor selectItsMe and removeEntity to improve type annotations and code readability in PickEntity.vue
2025-07-09 21:57:28 +02:00
d8bd9bd7cd
Restore defaults and behaviour with pick entity on PickEntity.vue
2025-07-09 18:08:04 +02:00
dcdfba5ccd
eslint fixes
2025-07-09 17:46:36 +02:00
0204bdd38d
Restore features after merging
2025-07-09 17:46:16 +02:00
392fd01b56
Merge branch 'master' into ticket-app-master
...
# Conflicts:
# src/Bundle/ChillMainBundle/Export/Formatter/CSVFormatter.php
# src/Bundle/ChillMainBundle/Export/Formatter/CSVListFormatter.php
# src/Bundle/ChillMainBundle/Export/Formatter/SpreadsheetListFormatter.php
# src/Bundle/ChillMainBundle/Resources/public/vuejs/PickEntity/PickEntity.vue
# src/Bundle/ChillPersonBundle/Export/Aggregator/AccompanyingCourseAggregators/GeographicalUnitStatAggregator.php
# src/Bundle/ChillPersonBundle/Resources/public/types.ts
# src/Bundle/ChillPersonBundle/Resources/public/vuejs/_components/AddPersons.vue
2025-07-09 13:44:23 +02:00
8bc16dadb0
Partage d'export enregistré et génération asynchrone des exports
2025-07-08 13:53:25 +00:00
borisw
6eeb717b1a
Refactor third-party type imports and update related components
...
- Changed import path for ThirdParty type in TypeThirdParty.vue and updated its usage.
- Refactored PersonText.vue to import Person and AltName types from ChillPersonAssets.
- Updated types.ts in ChillThirdPartyBundle to include a new 'type' field in the Thirdparty interface.
- Modified TicketBundle types to accommodate Thirdparty type in CallerState.
- Adjusted AddresseeSelectorComponent.vue to use 'thirdparty' instead of 'third_party'.
- Refined BannerComponent.vue to improve readability and maintainability.
- Updated CallerSelectorComponent.vue to reflect changes in entity types.
- Enhanced TicketHistoryListComponent.vue to handle both Person and Thirdparty types.
- Refactored TicketHistoryPersonComponent.vue to accept both Person and Thirdparty entities.
2025-07-07 16:35:31 +02:00
Boris Waaub
3df4043eb9
Afficher les patients suggérés et ajouter un sélecteur urgent/non urgent
2025-07-04 07:45:33 +00:00
06e8264dde
Merge branch 'refs/heads/master' into ticket-app-master
...
# Conflicts:
# src/Bundle/ChillPersonBundle/Resources/public/types.ts
# src/Bundle/ChillPersonBundle/Resources/public/vuejs/_components/AccompanyingPeriod/SetReferrer.vue
2025-07-02 17:28:59 +02:00
840ef6eed8
Resolve "Fusion actions d'accompagnement"
2025-07-02 10:53:16 +00:00
606435a6b3
Pipeline corrections
2025-07-01 14:47:36 +02:00
45e193ff6d
Merge remote-tracking branch 'origin/master' into ticket-app-master
2025-06-20 12:53:20 +02:00
bdf1cf71ba
Fix argument usage in localizeString
method for UserRenderBoxBadge
component
...
Adjusted `localizeString` method to accept a `label` parameter, ensuring proper localization of `user_job.label` and `main_scope.name`. Also made minor syntax adjustments to improve readability.
2025-06-17 10:55:30 +02:00
Boris Waaub
a8dd1b3548
1277 refacto use symfony translation
2025-06-16 10:59:42 +00:00
df88c31c40
Replace node-sass with sass and update bootstrap to version 5.3
2025-05-28 15:04:59 +00:00
6f1fe1c118
Merge branch '379-translation-localization-vue' into 'master'
...
Resolve "Finish handling of internationalization in vuejs: handling translation of "translatable string""
Closes #379
See merge request Chill-Projet/chill-bundles!822
2025-05-28 14:40:27 +00:00
649ad26721
Resolve "Finish handling of internationalization in vuejs: handling translation of "translatable string""
2025-05-28 14:40:26 +00:00
d82727f831
Update CommentEditor styles for responsiveness
...
Imported Bootstrap variables and updated styling to use responsive media breakpoints. Adjusted positioning of toggle buttons to ensure proper alignment on different screen sizes.
2025-05-28 16:36:03 +02:00
66bd63403b
Update event binding in CKEditor5 component template
...
Replaces the deprecated `@input` event with the `@update:modelValue` event to ensure compatibility with Vue 3. This improves handling of two-way binding for the `v-model` directive.
2025-05-28 16:31:59 +02:00
bb41af4ed2
replace ck-editor by new CommentEditor on every vuejs components
2025-05-23 13:51:44 +02:00
19dd4667f2
Integrate Vue-based editor with rich and simple mode toggle
...
Replaced CKEditor initialization with a Vue-based editor component. Introduced a toggle to switch between rich and simple editing modes, persisting the state in local storage. Updated CKEditor dependency to version 45.1.0.
2025-05-23 13:34:50 +02:00
976f293f28
Add Emoji and Fullscreen features to CKEditor configuration
...
Integrated Emoji, Mention (required for Emoji), and Fullscreen plugins into the CKEditor setup. Updated the toolbar to include respective buttons, enhancing functionality and user interaction.
2025-05-23 13:33:47 +02:00
b0959f8cc5
Resolve "Code mort: module wopi-link semble inutilisé"
2025-05-16 08:33:56 +00:00
juminet
a7517eb647
Adding a second phone number to thirdparty entity
2025-04-15 12:59:57 +00:00
203a098054
Refactor document row layouts to use CSS grid
...
Replaced the old 'item-col' structure with a 'item-two-col-grid' layout across multiple templates, improving consistency and responsiveness. Introduced CSS grid styles ensuring proper alignment and wrapping of titles and aside elements in different viewport sizes. This enhances the overall readability and maintainability of the views.
2025-04-10 15:41:06 +02:00