Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

We intend to modify the search functionality in the new MFE such that:

...

Action

Mockup

Default view of All Posts or My Posts tab.

  1. User enters a string in search bar.

  1. User clicks the search icon in search bar.

  1. Search info bar appears on top of list pane. Posts filter bar and post summaries are pushed below the search info bar.

  2. Search info bar shows the number of search results and the search string.

  3. “Clear results” option can be used to clear search results and return to default state of view in All posts or My posts tab.

  4. Filter bar shall remain available.

All filtering/sorting in filter bar will be done on frontend. This is supported by legacy as well.

In light of currently available APIs, is this sorting and filtering being done on frontend or in cs_comment service?

Legacy view:

Image RemovedImage Added

Warping long search strings.

...

Actions

Mockup

  1. User enters the search string in search bar.

  1. Search info bar appears on top of list pane. Topic lists or post summaries are pushed below the search info bar.

  2. Search info bar shows the number of search results and the search string.

  3. “Clear results” option can be used to clear search results and return to default state of view in Topics tab.

Will After rollout of 1.7, will we search 3rd level of hierarchy? How will those results be rendered?

This is an open question that Jonathan and I are working on. As of now, we haven’t rolled out 1.7 yet. So the objective is to replicate exactly what is being done in legacy experience.

In legacy experience, as per Kshitij, all topics are being loaded on the frontend and searched there.