[Improvement] Use colored icons in connector cards #650
+526
−34
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.
Description
Change Type
High-level PR Summary
This PR replaces monochrome icon components with colored SVG images for various connector cards. The main change involves refactoring the
getConnectorIconfunction to returnImagecomponents that reference colored SVG files instead of using icon components from@tabler/icons-reactandlucide-react. This update includes adding 18 new SVG files for connectors like Linear, GitHub, Slack, Notion, Discord, Jira, Google services, and others, along with cleanup of unused icon imports.⏱️ Estimated Review Time: 30-90 minutes
💡 Review Order Suggestion
surfsense_web/contracts/enums/connectorIcons.tsxsurfsense_web/components/sources/connector-data.tsxsurfsense_web/public/connectors/linear.svgsurfsense_web/public/connectors/github.svgsurfsense_web/public/connectors/baidu-search.svgsurfsense_web/public/connectors/slack.svgsurfsense_web/public/connectors/notion.svgsurfsense_web/public/connectors/discord.svgsurfsense_web/public/connectors/jira.svgsurfsense_web/public/connectors/google-calendar.svgsurfsense_web/public/connectors/google-gmail.svgsurfsense_web/public/connectors/google-drive.svgsurfsense_web/public/connectors/airtable.svgsurfsense_web/public/connectors/confluence.svgsurfsense_web/public/connectors/bookstack.svgsurfsense_web/public/connectors/clickup.svgsurfsense_web/public/connectors/elasticsearch.svgsurfsense_web/public/connectors/youtube.svgsurfsense_web/public/connectors/microsoft-teams.svgsurfsense_web/public/connectors/zoom.svg