Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-81821

Embed smart link for Figma diagrams displays the incorrect content when multiple links from same diagram (different selections) present

XMLWordPrintable

      Issue Summary

      When a page has multiple links to the same Figma diagram, different selections (elements/pages) of it display incorrect content when selecting the Embed view for Smart Links. It looks like some sort of caching issue. Usually, the first object to render is repeated on the other elements.

      Even after pasting links to distinct selections/pages from Figma in separate Confluence pages, the issue persists. Only after a couple of minutes and forcing a few refreshes that the desired content is displayed, and only if the page has a single link to a same diagram, never multiple.

      Upon clicking the links, to open in a new tab, the correct selection is displayed.

      This is the source sample diagram, with three distinct rectangles:

      This is a Confluence page with 3 Embed links, one to each of the rectangles (all displayed Test 2, as it was the first to render):

      Steps to Reproduce

      1. Create a Figma diagram with three rectangles: one green, one yellow, and one red.
      2. Select each of the rectangles individually and click "Copy > Copy link to selection".
      3. Paste the three distinct links into a single Confluence page
      4. Change the smart links view to Embed for all of them

      OR

      1. Create a Figma diagram with two different pages, Page1 and Page2
      2. Add some content to each of the pages
      3. Right-click each page and "Copy link to page"
      4. Paste the two distinct links in a single Confluence page
      5. Change the smart links view to Embed for both

      Expected Results

      Each of the links displays a different content: one green, one yellow and one red.

      Actual Results

      Mixed results, but usually the same piece of the diagram (the first rendered) is displayed for all the selections. Sometimes you may get two distinct, but not necessarily in the right location.

      Workaround

      For the moment, the only workaround is copying each desired selection as a PNG, saving the image and uploading to the target content.

        1. PageWith3DifLinks.png
          60 kB
          Rodrigo Bozza (Atlassian)
        2. SampleDiagram.png
          95 kB
          Rodrigo Bozza (Atlassian)

              Unassigned Unassigned
              6b51accb6b4d Rodrigo Bozza (Atlassian)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: