[MGNLPER-98] Move the UI logic out of the search results Created: 01/Mar/19  Updated: 17/Jun/19  Resolved: 23/May/19

Status: Closed
Project: Periscope
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.1

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

Issue Links:
Cloners
is cloned by MGNLUI-5190 Move the periscope UI logic into the ... Closed
is cloned by MLEARN-16 Synchronize with periscope changes 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)
Date of First Response:
Epic Link: Periscope improvements
Sprint: Foundation 11
Story Points: 3

 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 10:28:42 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.