onOffice-Web-Org / oo-wp-plugin

onOffice for WP-Websites
https://wp-plugin.onoffice.com
GNU General Public License v3.0
9 stars 9 forks source link

Optional writing of activities in the agents log with plugin forms & fields. #809

Open fredericalpers opened 5 months ago

fredericalpers commented 5 months ago

Optional writing of activities in the agents log with plugin forms & fields.

Introduction

Currently, activities are only written for a few forms/fields in the agent log. In order to make the form functionalities more appealing and bring them to a higher standard, we would like to expand our forms.

User Story

As a real estate agent, I would like the forms on my website, which I have integrated via the onOffice for WP-Websites plugin, to be able to automatically create entries for addresses and properties in the onOffice agent log. To do this, I need an enhancement of the plugin that allows me to enable or disable automatic entries and specify which information should be used. The use of the existing/possible fields from onOffice enterprise is essential. In addition, I would like a visual interface in the plugin backend that allows me to configure these settings easily and intuitively for each form.

Requirements / Tasks

Design / Screenshots

new-box-activities

new-box-activities-open

new-box-activities-disabled

fredericalpers commented 4 months ago

@yeneastgate would you be able to post the video again? Somehow it was gone while I was watching it. And now it doesn't even show in the "edited" section..

yeneastgate commented 4 months ago

@fredericalpers I have found some issues during retesting it. I will send you the demo videos again asap

yeneastgate commented 4 months ago

@fredericalpers Currently, we are implementing Agent Log based on Propform's mechanism with the following main cases:

  1. Case 1: If the value of the options (Type of action, Kind of action, Characteristics, Comment) configured in the admin form is empty, the Activity cannot be created. Screenshot 2024-05-28 162024 Screenshot 2024-05-28 162030

https://github.com/onOffice-Web-Org/oo-wp-plugin/assets/104892108/fd567fa3-12e7-4dfb-a2e2-3de9edd4e12f

https://github.com/onOffice-Web-Org/oo-wp-plugin/assets/104892108/2170e710-b7b1-4c6b-a525-5e6871925cd9

  1. Case 2: If only 1 out of 4 options has value
    • If only Type of action has value: Kind of action is saved as No Specified in onOffice Enterprise and the remaining options are empty Screenshot 2024-05-28 163009

https://github.com/onOffice-Web-Org/oo-wp-plugin/assets/104892108/d73bf45b-9eb4-4e3b-bd98-2506a8b924be

https://github.com/onOffice-Web-Org/oo-wp-plugin/assets/104892108/3ec8a339-2802-4bfd-b888-d32cb6b41dc5

Also, there are two cases which are not in the Propform. Please confirm for me these two cases below:

  1. Case 3: When submitting duplicated form with the same email, two similar activities are created https://files.fm/u/fdq3qn82as#/view/rkhyvp4b2r
  2. Case 4: When submitting contact form added in the estate detail page, the activity is saved as in the normal form https://files.fm/u/56z4eq9fby#/view/xmzh8ye4tv
fredericalpers commented 4 months ago

Case 1 & Case 2: 👍

Case 3:

When submitting duplicated form with the same email, two similar activities are created https://files.fm/u/fdq3qn82as#/view/rkhyvp4b2r

All activities have to be logged in the agents log when activated. Duplicates or very similar entries can happen.

Case 4:

When submitting contact form added in the estate detail page, the activity is saved as in the normal form https://files.fm/u/56z4eq9fby#/view/xmzh8ye4tv

If our customers want to have different activities logged for the contact form on the detail page, they will have to create a second contact form that's only used on the detail page.

fredericalpers commented 3 weeks ago

Vorgezogen auf 5.2