Remove organization profiles and render as identities #884
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 5c5ca57
This pull request adds the Facebook integration for the frontend, allowing users to see and link the Facebook profiles of organizations. It also removes some redundant or unused components and attributes related to the organization enrichment and list. It modifies the files
integrations-config.js
,organization-list-table.vue
,organization-identities.vue
,organization-enriched.vue
,organization-view-aside.vue
,buttons.scss
, and adds the filesfacebook/config.js
andfacebook/index.js
. It also removes theprofiles
attribute fromorganization-enrichment-attributes.js
.
🤖 Generated by Copilot at 5c5ca57
Why
How
🤖 Generated by Copilot at 5c5ca57
&--facebook
and&--facebook:hover
classes tobuttons.scss
for styling the Facebook button (link)config.js
andindex.js
files tofrontend/src/integrations/facebook
folder, exporting an object with the image and hideAsIntegration properties for the Facebook integration (link, link)IntegrationsConfig
class inintegrations-config.js
, which provides the available integrations and their properties (link, link)username-handles
prop to theapp-platform
component for the GitHub, LinkedIn, Twitter, and Crunchbase identities inorganization-identities.vue
, passing the organization's handles as arrays, to show the usernames on the platform button tooltips (link, link, link, link)app-platform
component for the Facebook identity inorganization-identities.vue
, passing the organization's Facebook handle as an array, the tooltip label, the href, and the as-link props, to display the Facebook button with the profile link and username tooltip (link)props.organization.facebook
condition to theshowIdentities
computed property inorganization-identities.vue
, to show the identities section if the organization has a Facebook identity (link)else if
branch to thegetIdentityLink
method inorganization-identities.vue
, to return the URL for the Facebook platform with the handle or the custom URL if available (link)a
element that displays the Facebook identity inorganization-view-aside.vue
, with the same structure and style as the other platform links, and thehref
attribute with the Facebook profile URL (link)props.organization.facebook
condition to theshowIdentities
computed property inorganization-view-aside.vue
, to show the identities section if the organization has a Facebook identity (link)&& !props.organization.facebook?.url
condition to theshowIdentitiesWarning
computed property inorganization-view-aside.vue
, to hide the warning message about the missing identities if the organization has a custom Facebook URL (link)else if
branch to thegetIdentityLink
method inorganization-view-aside.vue
, to return the URL for the Facebook platform with the handle or the custom URL if available (link)Profiles
column and theprofiles
attribute from the organization components, as they are redundant with the platform buttons (link, link, link, link, link)Profiles
column from theorganization-list-table.vue
component, which displayed the profiles of the organizations in a table (link)AppTags
component from theorganization-list-table.vue
component, which was used to display the profiles as tags (link)div
element that displayed the profiles attribute as tags in theorganization-enriched.vue
component, which showed the enriched data of the organization in the aside section (link)AppTags
component from theorganization-enriched.vue
component, which was used to display the profiles as tags (link)profiles
attribute from theorganization-enrichment-attributes.js
file, which defined the attributes for the organization enrichment (link)Checklist ✅
Feature
,Improvement
, orBug
.