Skip to content

Add list item and list ui for resource links

Rajendra Kadam requested to merge 230852-resource-links-list-view into master

What does this MR do and why?

Related to #230852 (closed)

This MR adds the query to the linked resources widget, to fetch and display the linked resources for an incident.

Part 1 of this feature - !92237 (merged)

Part 2 of this feature - !92352 (merged)

We render the zoom icon on a zoom link and the external-link icon for others. Auto recognizing the link type is not implemented yet.

The buttons on the form and the list are non-functional, this MR just shows the linked resources, if any.

Screenshots or screen recordings

Form closed

Screenshot_2022-07-21_at_2.28.05_PM

Form open

Screenshot_2022-07-21_at_2.28.14_PM

Screen recording

Screen_Recording_2022-07-21_at_2.28.34_PM

How to set up and validate locally

  1. Follow the steps on !88826 (merged) to add a resource link using GraphQL API.
  2. Open the same incident page on the UI.
  3. Check the linked resource on the UI.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #230852 (closed)

Edited by Rajendra Kadam

Merge request reports