[MGNLUI-5190] Move the periscope UI logic into the findbar's search results Created: 13/May/19  Updated: 25/Jun/19  Resolved: 23/May/19

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.1
Fix Version/s: 6.1

Type: Improvement Priority: Neutral
Reporter: Andrei Ichimescu Assignee: Andrei Ichimescu
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 2d
Original Estimate: Not Specified

Issue Links:
Cloners
clones MGNLPER-98 Move the UI logic out of the search r... Closed
Relates
relates to MGNLUI-4903 Investigation: Refactor Findbar in or... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: Periscope improvements
Sprint: Foundation 11
Story Points: 0

 Description   

Right now the business logic is mixed with ui logic in the search results. The `excerpt` and `title` fields in the `SearchResult` class contain the following html logic:

  • <strong> tags when highlighting the query string
  • html escaping
  • <excerpt> and <fragment> tags in the `excerpt` field
  • fragment max size

UI logic is scattered across 2 classes `ExcerptProvider` and `Periscope` and should be moved into admin-central module, in `SearchResultsGrid`


Generated at Mon Feb 12 09:24:05 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.