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

Model Pop-ups for Tours, Destinations, and Accommodation Templates #362

Open
13 tasks
ashleyshaw opened this issue Oct 9, 2024 · 0 comments
Open
13 tasks
Assignees
Labels
[Status] Needs Design Needs design efforts. [Status] Needs More Info Follow-up required in order to be actionable. [Type] Feature New feature to highlight in changelogs
Milestone

Comments

@ashleyshaw
Copy link
Member

ashleyshaw commented Oct 9, 2024

Model Pop-ups for Tours, Destinations, and Accommodation Templates

Overview

We need to implement model pop-ups for displaying additional information on the Tours, Destinations, and Accommodation templates. Pop-ups can enhance the user experience by providing quick access to detailed information without navigating away from the current page. The existing Human Made Popup repository could be used to integrate pop-up functionality into the Tour Operator Plugin.


Task

  1. Review the Human Made Popup Repository

    • Repository Review: Analyze the Human Made Popup repository to understand how it works, its dependencies, and whether it fits the plugin’s requirements.
    • Determine Compatibility: Verify if the popup functionality is compatible with the existing plugin structure and the Tour Operator Plugin's design system.
  2. Integrate Pop-ups into the Plugin

    • Add Pop-up Functionality: Integrate the Human Made Popup library within the plugin to enable pop-ups for the Tours, Destinations, and Accommodation templates.
    • Dynamic Content for Pop-ups: Ensure that pop-ups can display dynamic content related to the template. This could include:
      • Tour Pop-ups: Display detailed itinerary or pricing information.
      • Destination Pop-ups: Provide additional descriptions or map views.
      • Accommodation Pop-ups: Show gallery images, room details, or facilities.
    • Mobile Responsiveness: Ensure the pop-ups are fully responsive and function well on mobile and tablet devices.
  3. Pop-up Triggers

    • Trigger Mechanisms: Define the triggers for opening pop-ups (e.g., button clicks, hover events, image interactions). These triggers should be configurable in the plugin settings.
    • Close Behavior: Implement user-friendly close behavior, such as clicking outside the pop-up or pressing an "X" button.
  4. Customize Design

    • Match Design System: Ensure that the pop-up design aligns with the Tour Operator Plugin’s design system, including typography, colors, and button styles.
    • Customizable Layouts: Allow some level of customization (e.g., layout options) for users in the admin settings, such as the ability to choose different pop-up layouts based on their needs.

Sub-Tasks

  • Popup Implementation for Tours:
    Add pop-up functionality to the Tours template to display additional information (e.g., detailed itinerary, pricing, or FAQs).

  • Popup Implementation for Destinations:
    Integrate pop-ups into the Destinations template to display additional content, such as descriptions or embedded map views.

  • Popup Implementation for Accommodation:
    Add pop-ups to the Accommodation template to show gallery images, room details, and amenities.

  • Testing and Debugging:
    Thoroughly test the pop-up functionality across all templates to ensure it works seamlessly on desktop and mobile devices.


Additional Considerations

  • Performance Impact:
    Ensure the pop-up integration does not negatively impact the plugin's performance, especially when handling large amounts of content in the pop-ups.

  • Accessibility:
    Make sure pop-ups are accessible by using proper ARIA attributes and ensuring keyboard navigation and screen reader support.


Completion Criteria

  • Pop-up functionality is successfully integrated into the Tours, Destinations, and Accommodation templates.
  • The pop-ups display dynamic content specific to each template and are fully responsive.
  • Design and styling match the Tour Operator Plugin’s existing design system, and the pop-ups are customizable via admin settings.
  • Pop-ups are thoroughly tested for performance, accessibility, and responsiveness.

References

@ashleyshaw ashleyshaw added [Type] Feature New feature to highlight in changelogs [Status] Needs More Info Follow-up required in order to be actionable. labels Oct 9, 2024
@ashleyshaw ashleyshaw added this to the 2.1.0 milestone Oct 9, 2024
@github-project-automation github-project-automation bot moved this to Needs Triage in Tour Operator Oct 9, 2024
@ashleyshaw ashleyshaw removed this from the 2.1.0 milestone Oct 9, 2024
@ashleyshaw ashleyshaw moved this from Needs Triage to 🗣️ In Discussion in Tour Operator Oct 13, 2024
@ashleyshaw ashleyshaw changed the title Model pop ups for tours, destinations and accommodation templates Tour Operator Plugin Check (PCP) Oct 14, 2024
@ZaredRogers ZaredRogers added the [Status] Needs Design Needs design efforts. label Oct 21, 2024
@ZaredRogers ZaredRogers self-assigned this Oct 21, 2024
@ZaredRogers ZaredRogers added this to the 2.1.0 milestone Oct 21, 2024
@krugazul krugazul changed the title Tour Operator Plugin Check (PCP) Model Pop-ups for Tours, Destinations, and Accommodation Templates Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Needs Design Needs design efforts. [Status] Needs More Info Follow-up required in order to be actionable. [Type] Feature New feature to highlight in changelogs
Projects
None yet
Development

No branches or pull requests

2 participants