From eb146dc30d0848d0bcd92a329cb0fbd3e2fb8a39 Mon Sep 17 00:00:00 2001 From: pwseg Date: Tue, 26 Sep 2023 13:29:07 -0500 Subject: [PATCH 1/3] First pass at SDK tiers --- src/_data/support-types.yml | 10 ++++++ src/_includes/content/support-grid.md | 36 +++++++++++++++++++ src/_layouts/integration.html | 1 + src/_sass/components/_badge.scss | 4 +++ .../destinations/catalog/firebase/index.md | 1 + .../catalog/libraries/mobile/xamarin/index.md | 1 + 6 files changed, 53 insertions(+) create mode 100644 src/_data/support-types.yml create mode 100644 src/_includes/content/support-grid.md diff --git a/src/_data/support-types.yml b/src/_data/support-types.yml new file mode 100644 index 0000000000..2293e70704 --- /dev/null +++ b/src/_data/support-types.yml @@ -0,0 +1,10 @@ +types: + - display_name: Community + slug: community + support-note: "This integration is supported by the community members who maintain it." + - display_name: Legacy + slug: legacy + support-note: "This integration is no longer supported by Segment." + - display_name: Flagship + slug: flagship + support-note: "This integration is officially supported by Segment." diff --git a/src/_includes/content/support-grid.md b/src/_includes/content/support-grid.md new file mode 100644 index 0000000000..48dd268659 --- /dev/null +++ b/src/_includes/content/support-grid.md @@ -0,0 +1,36 @@ + +{% assign supportTypesData = site.data.support-types.types %} +{% assign supportType = supportTypesData | where: "slug", page.support_type | first %} + +{% if supportType %} + +
+
+ +{% for item in supportTypesData %} +{% if item.slug == supportType.slug %} +
+ {{item.display_name | capitalize }} ✓ +
+{% else %} +
+ {{item.slug | capitalize }} x +
+{% endif %} +{% endfor %} + +
+ ? +
+
+ +
+{% if supportType.support-note %} +

{{supportType.support-note}}

+{% endif %} +
+
+{% endif %} \ No newline at end of file diff --git a/src/_layouts/integration.html b/src/_layouts/integration.html index ee35f10b53..cc14b6261e 100644 --- a/src/_layouts/integration.html +++ b/src/_layouts/integration.html @@ -48,6 +48,7 @@

{{ page.title }}

+ {% include content/support-grid.md %} {%- endif -%} {%- if page.excerpt -%} diff --git a/src/_sass/components/_badge.scss b/src/_sass/components/_badge.scss index d2297a8f7e..db144da826 100644 --- a/src/_sass/components/_badge.scss +++ b/src/_sass/components/_badge.scss @@ -23,6 +23,10 @@ background-color: lighten(color(error), 10%); color: white; } + &--warning { + background-color: lighten(color(warning), 40%); + color: color(warning-dark); + } &--none { background-color: white; diff --git a/src/connections/destinations/catalog/firebase/index.md b/src/connections/destinations/catalog/firebase/index.md index 0ff92d64ea..da2743a1f1 100644 --- a/src/connections/destinations/catalog/firebase/index.md +++ b/src/connections/destinations/catalog/firebase/index.md @@ -2,6 +2,7 @@ title: Firebase Destination strat: google id: 579a568e80412f644ff19cf7 +support_type: flagship --- Firebase is Google's platform for mobile apps. The Segment Firebase destination requires that you bundle the Firebase SDK with your project. The Segment-wrapped destination code then runs on the user's device, and sends its tracking calls to the Firebase API endpoints, and a copy to Segment for archiving. diff --git a/src/connections/sources/catalog/libraries/mobile/xamarin/index.md b/src/connections/sources/catalog/libraries/mobile/xamarin/index.md index e6266027a9..92137a2088 100644 --- a/src/connections/sources/catalog/libraries/mobile/xamarin/index.md +++ b/src/connections/sources/catalog/libraries/mobile/xamarin/index.md @@ -3,6 +3,7 @@ title: Analytics for Xamarin sourceTitle: 'Xamarin' sourceCategory: 'Mobile' id: wcssVcPJrc +support_type: community --- Segment's [Xamarin](http://xamarin.com/) Portable Class Library ([PCL](http://developer.xamarin.com/guides/cross-platform/application_fundamentals/pcl/)) is the best way to integrate analytics into your Xamarin application. It lets you record analytics data from your C#, F#, and .NET code, and supports `PCL Profile 4.0 - Profile136`, which targets the following platforms: From 162c507f7762a9db24d055dd922220b46c221a91 Mon Sep 17 00:00:00 2001 From: pwseg Date: Tue, 26 Sep 2023 13:34:13 -0500 Subject: [PATCH 2/3] Remove Firebase from list [netlify-build] --- src/connections/destinations/catalog/firebase/index.md | 1 - 1 file changed, 1 deletion(-) diff --git a/src/connections/destinations/catalog/firebase/index.md b/src/connections/destinations/catalog/firebase/index.md index da2743a1f1..0ff92d64ea 100644 --- a/src/connections/destinations/catalog/firebase/index.md +++ b/src/connections/destinations/catalog/firebase/index.md @@ -2,7 +2,6 @@ title: Firebase Destination strat: google id: 579a568e80412f644ff19cf7 -support_type: flagship --- Firebase is Google's platform for mobile apps. The Segment Firebase destination requires that you bundle the Firebase SDK with your project. The Segment-wrapped destination code then runs on the user's device, and sends its tracking calls to the Firebase API endpoints, and a copy to Segment for archiving. From 71f100d9124ff3965f341c9537ed453f8e372ff7 Mon Sep 17 00:00:00 2001 From: pwseg Date: Tue, 26 Sep 2023 13:46:07 -0500 Subject: [PATCH 3/3] Add React Native and .NET examples [netlify-build] --- .../sources/catalog/libraries/mobile/react-native/index.md | 1 + src/connections/sources/catalog/libraries/server/net/index.md | 1 + 2 files changed, 2 insertions(+) diff --git a/src/connections/sources/catalog/libraries/mobile/react-native/index.md b/src/connections/sources/catalog/libraries/mobile/react-native/index.md index cc5110e75c..614a0b8e7b 100644 --- a/src/connections/sources/catalog/libraries/mobile/react-native/index.md +++ b/src/connections/sources/catalog/libraries/mobile/react-native/index.md @@ -2,6 +2,7 @@ title: Analytics for React Native strat: react-native id: B0X0QmvMny +support_type: flagship --- With Analytics for React Native, you can collect analytics in your React Native application and send data to any analytics or marketing tool without having to learn, test, or implement a new API every time. Analytics React Native enables you to process and track the history of a payload, while Segment controls the API and prevents unintended operations. diff --git a/src/connections/sources/catalog/libraries/server/net/index.md b/src/connections/sources/catalog/libraries/server/net/index.md index 7a185dab1d..8638be5101 100644 --- a/src/connections/sources/catalog/libraries/server/net/index.md +++ b/src/connections/sources/catalog/libraries/server/net/index.md @@ -2,6 +2,7 @@ title: Analytics for .NET repo: analytics.NET id: 8HWbgPTt3k +support_type: legacy tags: - C# - C-sharp