Skip to content
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

Restriction of the form selection on the detail page in the onOffice for WP-Websites plugin #890

Open
2 tasks done
fredericalpers opened this issue Sep 3, 2024 · 4 comments · May be fixed by #897
Open
2 tasks done
Assignees
Labels
component: dashboard Issue, Pull Request or Discussion related to dashboard / settings page component: property detail page Issue, Pull Request or Discussion related to property detail page QA Issue or Pull request that is in review UI/UX Issue, Pull Request or Discussion related to UI/UX

Comments

@fredericalpers
Copy link
Member

fredericalpers commented Sep 3, 2024

Restriction of the form selection on the detail page in the onOffice for WP-Websites plugin

User Story

Currently, the onOffice for WP-Websites plugin allows the selection of forms of different types, such as “contact”, “owner”, “interest” or “applicantsearch” in the settings for the detail page. This means that unsuitable forms can also be selected for detail pages. To ensure that only suitable contact forms are used in this context, the selection option should be restricted to forms of the type “contact”.

This change should ensure that only useful forms can be used in the detail pages, which improves the user-friendliness and consistency of the website.

Task / Requirements

  • Restriction of the selection: In the settings for the detail page (exposé page) of the onOffice for WP-Websites plugin, only forms of the type “contact” should be available for selection.
  • Backwards compatibility: There is a risk that existing detail pages contain invalid forms, which could lead to problems in the user experience. Therefore, already selected forms that are not of type “contact” should be automatically recognized and replaced by the first form of type “contact”.
@fredericalpers fredericalpers added this to the v5.7 milestone Sep 3, 2024
@fredericalpers fredericalpers added component: property detail page Issue, Pull Request or Discussion related to property detail page component: dashboard Issue, Pull Request or Discussion related to dashboard / settings page UI/UX Issue, Pull Request or Discussion related to UI/UX labels Sep 3, 2024
@dai-eastgate
Copy link
Contributor

@fredericalpers
I would like to confirm some points with you:
For the list of forms with the type "contact," which attribute will they be ordered by? For example, will it be the form creation date or something else?
Also, what is the order direction of the contact form list? Is it in ascending or descending order?

=> So I can determine what the first form of type “contact” is?

@fredericalpers
Copy link
Member Author

@fredericalpers I would like to confirm some points with you: For the list of forms with the type "contact," which attribute will they be ordered by? For example, will it be the form creation date or something else? Also, what is the order direction of the contact form list? Is it in ascending or descending order?

=> So I can determine what the first form of type “contact” is?

Please go ahead and order it by creation date descending so the most new form will be selected automatically.

@dai-eastgate
Copy link
Contributor

@fredericalpers I have implemented it. This is video demo

879_0890_cmt.mp4

Please check and let me know your opinion. Thanks!

@fredericalpers
Copy link
Member Author

@dai-eastgate thank you! We will review this as soon as possible

@fredericalpers fredericalpers added the QA Issue or Pull request that is in review label Oct 2, 2024
@fredericalpers fredericalpers removed this from the v5.7 milestone Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: dashboard Issue, Pull Request or Discussion related to dashboard / settings page component: property detail page Issue, Pull Request or Discussion related to property detail page QA Issue or Pull request that is in review UI/UX Issue, Pull Request or Discussion related to UI/UX
Projects
None yet
2 participants