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

Create Blocks for a Functional Search Results Page #394

Open
Tracked by #361 ...
ashleyshaw opened this issue Oct 10, 2024 · 0 comments
Open
Tracked by #361 ...

Create Blocks for a Functional Search Results Page #394

ashleyshaw opened this issue Oct 10, 2024 · 0 comments
Assignees
Labels
[Component] Block Variations Block development issues or pulls. [Status] Needs Design Needs design efforts. [Type] Task Issues or PRs that have been broken down into an individual action to take
Milestone

Comments

@ashleyshaw
Copy link
Member

Create Blocks for a Functional Search Results Page for the Tour Operator Plugin

Description:
To create a seamless and user-friendly search results experience, we need to develop a series of blocks that will be used to construct the search results page. Each block will serve a specific purpose, improving usability and customization for the end-user.

1. Search Results Title Block

  • Purpose: Display a title above the search results.
  • Options:
    • Show or hide the search term in the title.
    • Customizable text and background colors.
    • Typography settings: font size, line height, letter spacing, etc.
    • Padding controls for spacing around the block.
  • Placement: Best used in the Full Site Editor within the template for search results.

2. Search Form Block

  • Purpose: Allow users to input search queries related to tours.
  • Features:
    • Integration with filtering blocks for dynamic search refinement.
    • AJAX-based search functionality for smooth interactions.

3. Custom Filtering Blocks

These blocks will allow users to refine search results with specific criteria:

  • Filtering by Sticky Posts
  • Price Slider
  • Filtering by Custom Field
  • Filtering by Taxonomy
  • Filtering by Date
  • Filtering by "On Sale"
  • Filtering by Post Parent / Connected Posts (e.g., destinations)
  • Clear All Filters Block: Clear all applied filters.
  • Active Filters Block: Display currently active filters.

4. Sorting Block

  • Types: Sort options include alphabetical, chronological, and price-based sorting.
  • Display Settings: Customizable label, sorting direction, and display controls.
  • Functionality: Supports sorting without reloading the page for a better user experience.

5. Number of Results Block

  • Purpose: Display the number of results returned by the search.
  • Customization: Allow styling to match the site's design.

6. Map Search Results Block

  • Purpose: Display search results on a map view.
  • Integration: Syncs with geolocation data from tour posts to show location-based results.

7. Pagination Block

  • Purpose: Navigate through multiple pages of search results.
  • Options: Customizable pagination style and controls.

References:

Acceptance Criteria:

  • All blocks should be implemented and available for use in the block editor.
  • Search results page must be responsive and offer a smooth, dynamic user experience.
  • Block designs should align with the LSX Design theme's standards.
@ashleyshaw ashleyshaw added [Status] Needs Design Needs design efforts. [Type] Tracking Tactical breakdown of efforts across the codebase and/or tied to Overview issues. labels Oct 10, 2024
@github-project-automation github-project-automation bot moved this to Needs Triage in Tour Operator Oct 10, 2024
@ZaredRogers ZaredRogers added [Type] Task Issues or PRs that have been broken down into an individual action to take [Status] Needs Dev Ready for, and needs developer efforts [Component] Block Variations Block development issues or pulls. and removed [Type] Tracking Tactical breakdown of efforts across the codebase and/or tied to Overview issues. labels Oct 11, 2024
@ZaredRogers ZaredRogers added this to the 2.0.0 milestone Oct 11, 2024
This was referenced Oct 12, 2024
@ashleyshaw ashleyshaw moved this from 🗣️ In Discussion to Needs Design in Tour Operator Oct 13, 2024
@ashleyshaw ashleyshaw removed the [Status] Needs Dev Ready for, and needs developer efforts label Oct 13, 2024
@ashleyshaw ashleyshaw removed this from the 2.0.0 milestone Oct 13, 2024
@ashleyshaw ashleyshaw added this to the 2.0.0 milestone Oct 28, 2024
@ashleyshaw ashleyshaw modified the milestones: 2.0.0, 2.1.0 Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Component] Block Variations Block development issues or pulls. [Status] Needs Design Needs design efforts. [Type] Task Issues or PRs that have been broken down into an individual action to take
Projects
Status: Needs Design
Development

No branches or pull requests

3 participants