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

Query and display of media information in the property list #901

Open
3 tasks done
fredericalpers opened this issue Sep 17, 2024 · 8 comments
Open
3 tasks done

Query and display of media information in the property list #901

fredericalpers opened this issue Sep 17, 2024 · 8 comments
Assignees
Labels
component: property list Issue, Pull Request or Discussion related to property lists

Comments

@fredericalpers
Copy link
Member

fredericalpers commented Sep 17, 2024

Query and display of media information in the property list

User Story

Currently, the onOffice for WP-Websites plugin does not offer the option of displaying how many images, 3D tours or videos are available for a property in the property list. This information is often crucial for potential buyers and tenants to recognize already in the overview which properties offer more detailed media or content. Several users have expressed the desire to integrate a query for these media types and to offer the option of displaying this information directly in the property listing.

As a user of a real estate website using the onOffice for WP-Websites plugin, I would like to see a visual or textual representation in the property listing that shows how many images are available, whether a 3D tour (e.g. Ogulo) or videos are available for a property, so that I can quickly assess which properties offer more detailed information through additional media/content without having to open each property page individually.

Task / Requirements

  • The property list should query the number of images available for each property and the option to display them.
  • The query should check whether a 3D tour is available for a property, e.g. via Ogulo.
  • The query should also recognize whether film links are available for a property

A visual or textual display in the template is not necessary in this step. It should only be possible to use the information provided by the API.

The queries for the additional media information must not noticeably affect the loading time of the property list. The system should be optimized to retrieve and display the information efficiently.

(1) Estate files - onOffice API
(2) Estate images published on Homepage - onOffice API

@fredericalpers fredericalpers added the component: property list Issue, Pull Request or Discussion related to property lists label Sep 17, 2024
@fredericalpers fredericalpers added this to the v5.7 milestone Sep 17, 2024
@fredericalpers fredericalpers added component: unit list Issue, Pull Request or Discussion related to unit lists and removed component: unit list Issue, Pull Request or Discussion related to unit lists labels Sep 17, 2024
@dai-eastgate
Copy link
Contributor

As a user of a real estate website using the onOffice for WP-Websites plugin, I would like to see a visual or textual representation in the property listing that shows how many images are available, whether a 3D tour (e.g. Ogulo) or videos are available for a property, so that I can quickly assess which properties offer more detailed information through additional media/content without having to open each property page individually.

@fredericalpers Please confirm the user interface (UI) in the admin List View and Property list for me. Does it meet your requirements?

image

image

@fredericalpers
Copy link
Member Author

@dai-eastgate as mentioned in task / requirements a visual element is not necessary yet, thank you :)

@yeneastgate
Copy link
Contributor

@fredericalpers
As I understand it:
We will implement the preloaded data query and not display it on the interface. When the user needs to use it, they will retrieve it from the preloaded data.
Please confirm that I understand this issue correctly. Thank you!

@fredericalpers
Copy link
Member Author

@yeneastgate exactly. for now the customers will have to customize their own templates and retrieve it from the preloaded data.

@yeneastgate yeneastgate self-assigned this Sep 24, 2024
@yeneastgate
Copy link
Contributor

@fredericalpers, can you confirm which types of images and links in this list need to be queried?
image

@fredericalpers
Copy link
Member Author

@yeneastgate Titelbild, Foto, Foto_gross, Grundriss, Lageplan, Panorama, Link, Film-Link, Ogulo-Link and Expose. :)

@yeneastgate
Copy link
Contributor

@fredericalpers Please look at my demo video and let me know your thoughts. Thank you.
Currently, I am calculating the total number of images as the sum of files with type 'image', plus 'Ogulo-Link', 'film', and 'pdf' files. Is this correct?

media.mp4

@fredericalpers
Copy link
Member Author

@yeneastgate looks good to me, we will review this as soon as possible :)

@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: property list Issue, Pull Request or Discussion related to property lists
Projects
None yet
Development

No branches or pull requests

3 participants