-
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
[7.11.24] Add form for contact information #3034
Conversation
Code Climate has analyzed commit e01c256 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 62.3% (50% is the threshold). This pull request will bring the total coverage in the repository to 82.4% (0.0% change). View more on Code Climate. |
3dd3d9e
to
616733c
Compare
Update after exchange with @osmers : Name should not be mandatory anymore. It should be possible to create a contact only with position or department name (which will be given in the field "title") without name of individual person. done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool 🎉
I have a few suggestions
0cc831b
to
afbd95d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with most of davids comments, so mine are only what caught my eye on top of them.
8eecab0
to
16e55c8
Compare
eb31077
to
98656fb
Compare
cd35db5
to
12164ad
Compare
86ccfd6
to
978454e
Compare
@david-venhoff @PeterNerlich |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! The only thing missing are the changes to which fields are required I think.
In the details block are some nits, but I don't think they are required to merge this :)
But I did not find a quick fix, and it is probably not that important 🤷
When a user starts to edit a contact and then clicks on the archive or delete button, the unsaved warning will show up, which probably should not happen. But I guess this is also not important and probably would never happen ^^
393c888
to
699dc90
Compare
This is because for the last column, this note is in its own If we don't want to change |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
I'd just propose to move the new contact constraints to the database layer, instead of performing them at the form-level.
4ccc92a
to
daf30fa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. It feels nice to use with the way we settled to do the constraints now, I think revisiting those was worth it. Thank you very much!
a429fee
to
2fb9354
Compare
Co-authored-by: David Venhoff <[email protected]> Co-authored-by: Peter Nerlich <[email protected]>
2fb9354
to
e01c256
Compare
Short description
This PR implements a new form for contact objects.
This PR is not yet finalized. Changes from #3007 have been taken over but are not actual in this branch. Once it is merged, this PR will be updated too.
To Do after #3007 is merged
poi_form_sidebar/action_box.html
Proposed changes
ContactForm
with check whether those three fields match with those of the selected POI if checked for import from the POIpoibox.html
and_related_contents_table.html
Side effects
poi_box.html
Memo
Resolved issues
Fixes: #2953
Pull Request Review Guidelines