Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

YC-1136 #859

Merged
merged 26 commits into from
Aug 24, 2023
Merged

YC-1136 #859

merged 26 commits into from
Aug 24, 2023

Conversation

AlexandreJunod
Copy link
Collaborator

@AlexandreJunod AlexandreJunod commented Aug 3, 2023

Remake contacts to use the db instead of being an enum.

  • Rename ContactType by ContactForm. Type is used to define the ContactType of a contact, ContactForm is used to define which contact is used in witch form_category.
  • Adapt method and field names to use form instead of type
  • ContactType can be added by admin without changing any code
  • User can add new contacts multiple times based on integrator configuration
  • API handles multiple times the same type of contact

TODO :

  • Adapt reports
  • Check if "Auteur" isn't a problem in the contacts list, as it is used only to print correctly in reports and can be avoided
  • Check every variable/method/field to be sure the name is appropriate
  • Check every migration is working correctly

@monodo monodo merged commit b2821a1 into develop Aug 24, 2023
2 checks passed
@monodo monodo deleted the feature/yc-1136 branch August 24, 2023 07:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants