Title: Unexpected SVG Images Loaded After B2C Page Layout Version Upgrade · Issue #494 · actions/github-script · GitHub
Open Graph Title: Unexpected SVG Images Loaded After B2C Page Layout Version Upgrade · Issue #494 · actions/github-script
X Title: Unexpected SVG Images Loaded After B2C Page Layout Version Upgrade · Issue #494 · actions/github-script
Description: Describe the bug After upgrading the B2C page layout to the latest version, we encountered an issue where SVG images are unexpectedly invoked and appear in the network requests, even though there are no console or type errors. This behav...
Open Graph Description: Describe the bug After upgrading the B2C page layout to the latest version, we encountered an issue where SVG images are unexpectedly invoked and appear in the network requests, even though there a...
X Description: Describe the bug After upgrading the B2C page layout to the latest version, we encountered an issue where SVG images are unexpectedly invoked and appear in the network requests, even though there a...
Opengraph URL: https://github.com/actions/github-script/issues/494
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unexpected SVG Images Loaded After B2C Page Layout Version Upgrade","articleBody":"**Describe the bug**\r\n\r\n\r\nAfter upgrading the B2C page layout to the latest version, we encountered an issue where SVG images are unexpectedly invoked and appear in the network requests, even though there are no console or type errors. This behavior occurs on page load, and these SVGs seem to be loading unnecessarily, impacting performance.\r\n\r\nWe have tried to address the issue by commenting out background images in the CSS and locally managing the images, but this would impact existing functionality. As of now, the exact cause behind this sudden invocation of SVGs after the upgrade remains unclear, and we need to investigate further.\r\n\r\n**To Reproduce**\r\n\r\n**Steps to reproduce the behavior:**\r\n\r\nUpgrade the B2C page layout to the latest version.\r\nLoad the page in the browser and open developer tools to monitor network requests.\r\nObserve the SVG images being loaded unexpectedly, despite no direct references in the UI code.\r\n\r\n**Expected behavior**\r\n\r\n SVG images should only load when explicitly called or referenced within the UI logic. No unexpected network requests for SVG images should be triggered on page load.\r\n\r\n**Screenshots**\r\n\r\n\u003cimg width=\"737\" alt=\"image\" src=\"https://github.com/user-attachments/assets/ef8b5387-7176-4999-8c37-a150b0141f29\"\u003e\r\n\r\n\r\n\r\n\r\n\r\n**Additional context**\r\nWe did not encounter this issue prior to the B2C page layout version upgrade. The issue likely stems from changes in the way the layout or scripts handle image loading, possibly involving background image calls in the CSS. Further investigation is needed to determine why these SVG images are being triggered unnecessarily\r\n","author":{"url":"https://github.com/vikramAkram","@type":"Person","name":"vikramAkram"},"datePublished":"2024-10-14T05:17:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/494/github-script/issues/494"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:861309e0-da50-fe82-0dbe-4b57f75488fc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB28:3F0628:A7C28B2:AB10A2D:6A50A35D |
| html-safe-nonce | 2c99e744a005484e21eacaff74c0843fff1ac7052e6f5caad1dd5b3da019ca38 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjI4OjNGMDYyODpBN0MyOEIyOkFCMTBBMkQ6NkE1MEEzNUQiLCJ2aXNpdG9yX2lkIjoiMzMxNTc0NTI2NDYxNjQ5NzU3IiwicmVnaW9uX2VkZ2UiOiJzZWEiLCJyZWdpb25fcmVuZGVyIjoic2VhIn0= |
| visitor-hmac | 36f0286265e07da7eedbd08f91d18775d43b81ab1fd34c3519d7a7814df4f0c2 |
| hovercard-subject-tag | issue:2584769801 |
| github-keyboard-shortcuts | repository,issues,actions,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/actions/github-script/494/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6876e90b463482dd71778c5fd4e50fa30879a76d4b1b2a834efee12a55a85b32/actions/github-script/issues/494 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6876e90b463482dd71778c5fd4e50fa30879a76d4b1b2a834efee12a55a85b32/actions/github-script/issues/494 |
| og:image:alt | Describe the bug After upgrading the B2C page layout to the latest version, we encountered an issue where SVG images are unexpectedly invoked and appear in the network requests, even though there a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vikramAkram |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| turbo-cache-control | no-preview |
| go-import | github.com/actions/github-script git https://github.com/actions/github-script.git |
| octolytics-dimension-user_id | 44036562 |
| octolytics-dimension-user_login | actions |
| octolytics-dimension-repository_id | 205262760 |
| octolytics-dimension-repository_nwo | actions/github-script |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 205262760 |
| octolytics-dimension-repository_network_root_nwo | actions/github-script |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width