Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-5190

Move the periscope UI logic into the findbar's search results

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Neutral
    • 6.1
    • 6.1
    • None
    • None
    • Foundation 11
    • 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`

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                aichimescu Andrei Ichimescu
                aichimescu Andrei Ichimescu
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 2d
                      2d