Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes proposed ✍️
What
🤖 Generated by Copilot at 3e25509
Added support for custom platform URLs and icons based on user attributes. Refactored platform URL functions to use
attributes
as a fallback and handle missing or invalid data. Updatedapp-platform
andplatform-svg-icon
components to acceptattributes
prop and render platform-specific elements. Fixed a minor bug inbackup-url
prop.
🤖 Generated by Copilot at 3e25509
Why
How
🤖 Generated by Copilot at 3e25509
username
andattributes
properties instead of justusername
and to returnnull
if the username is not provided or the attributes do not contain a valid platform URL (link, link, link, link, link, link, link, link, link, link)attributes
prop to theapp-platform
component in various files and passed the platform attributes to the platform URL functions and the platform SVG icon component (link, link, link, link, link)attributes
prop to theapp-platform-popover
component inplatform.vue
and passed the platform attributes to the platform popover component (link, link)attributes
prop to theapp-platform-svg-icon
component inplatform-popover.vue
andplatform-svg-icon.vue
and passed the platform attributes to the SVG icon component (link, link, link, link)defineProps
import fromplatform-svg-icon.vue
(link)href
computed property inplatform-list.vue
,platform-popover.vue
, andplatform.vue
to accept an object withusername
andattributes
properties instead of justusername
and to use theprops.attributes.url
object as a fallback source of platform URLs (link, link, link, link)Checklist ✅
Feature
,Improvement
, orBug
.