-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[2024-11-07] Add a button to create a contact in the POI form. #3088
Comments
Is the relationship between POI/Location and Contact a 1:0..1 relationship? |
No, Location and Contact are in a 0..1:0..n relationship: A Contact MAY reference a Location, there can be Locations that are not referenced by any Contact. But there is an additional constraint on the model that there can be at most one Contact with an empty title / point of contact for field per referenced Location |
So a contact can be created without referencing a location? |
NVM |
No, that's my mistake, I think a contact always has to reference a location after all |
@osmers the question came up if the creation of a contact in the POI form should only be available during the editing of a POI or also during the creation? |
@jarlhengstmengel how are we handling that with events? I think I would implement the same process here. |
Events is doing both I think. Contact creation during POI creation is a bit more complicated as the creation during editing since a contact needs to reference a POI, but it should be doable. I will probably split this issue into two PRs then |
@jarlhengstmengel that's a fair point though - I hadn't thought of this... |
Sounds good to me :) |
Motivation
A new feature contact is being implemented. It helps users if there is a possibility to create a contact directly in the POI form.
Proposed Solution
Implement an ajax form like POI creation in the event form.
Alternatives
Don't implement.
User Story
Additional Context
Design Requirements
The text was updated successfully, but these errors were encountered: