Code Monkey home page Code Monkey logo

Comments (5)

gordongrace avatar gordongrace commented on May 28, 2024

https://github.com/govau/design-system-starter/tree/draft-search-results/

from design-system-starter.

gordongrace avatar gordongrace commented on May 28, 2024

Deployed with Netlify at:
https://govau-design-system-search-results-template.netlify.com/search-results/

Interesting points for further discussion / refinement:

  • Use of role="status" for search result count display (first time we've used this). Displaying at both top and bottom of search results
  • Additional skip link to bypass search filters / refinements and go directly to result #1
  • Use of ol for search results, with expectation that start value will be changed programatically
  • Prevent search engines from indexing and following search result pages
  • Multiple search result types (with tags, with date, with metadata, with image)
  • Conditional display of 'No results' (or similar) page alert.

New styles required:

  • mark
  • Whitespace modifications to override headings/paragraphs in search results
  • Inline dl display for per-result metadata
  • Muted display of per-result dates

Pending progress from other components

  • Improved search result pagination
  • Improved search input form in header
  • Per-result metadata marked up using dl
  • Improved search input with autosuggest / autocomplete

Potential bugs discovered:

  • Focus state on targets for additional skip links persists
  • Mis-aligned focus states for radio/checkbox inputs
  • select input chevron display
  • Excessive padding on form

Other items for discussion:

  • Back to top links?
  • Sort != Refine/Filter
  • Click target in mobile view (esp. where results have image)
  • Faceted search variants vs post-search parametric refinement
  • Per result breadcrumbs?
  • Related searches

from design-system-starter.

gordongrace avatar gordongrace commented on May 28, 2024

Enhancements in potential future iterations:

  • Highlighted "Best Bet" results
  • Feature box results (for example, searching 'sbr' at ato.gov.au
  • Tab-based scope switching
  • Disabling browser-default autocapitalize, autocomplete, autocorrect, spellcheck behaviours for the input

from design-system-starter.

sukhrajghuman avatar sukhrajghuman commented on May 28, 2024

For sprint 137.

  • Open a draft PR
  • Encourage feedback from others on this template

from design-system-starter.

gordongrace avatar gordongrace commented on May 28, 2024

While we wait for the pagination component to come online, I'd propose an initial iteration of this template that uses direction links for Prev/Next functionality.

from design-system-starter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.