Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ View files task attachments #1954

Merged
merged 3 commits into from
Jun 20, 2024
Merged

Commits on Jun 17, 2024

  1. View files task attachments

    Resolves: konveyor#1929
    
    Functional changes:
    1. document to be viewed is selected from the list (first action above
       the editor) or via URL
    2. display language toggle based on languages supported by the document.
       For attachments the list consists of plain text and optionally a
       second language discovered based on file extension (YAML or JSON).
    3. replace "merged" checkbox with an option in the select
    
    Related refactorings:
    1. split getTaskById() query into specialized queries:
       a) getTaskById() returning Promise<Task> for working with the object
       b) getTaskByIdAndFormat() returning Promise<string> for displaying
          the task as a formatted text
    2. configure AnalysisDetails component to respond to 2 routes: existing
       details route and newly added /applications/:applicationId/analysis-details/:taskId/attachments/:attachmentId
    3. persist merge mode in the URL as search param "merged"
    
    Signed-off-by: Radoslaw Szwajkowski <rszwajko@redhat.com>
    rszwajko committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    0cd4e2d View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Configuration menu
    Copy the full SHA
    971d92c View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. Configuration menu
    Copy the full SHA
    618aa39 View commit details
    Browse the repository at this point in the history