mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-15 17:50:48 +02:00
fix: ensure rel=noreferrer on target=_blank (#3755)
https://linear.app/unleash/issue/2-1043/ensure-that-links-with-target=-blank-include-rel=noreferrer-to-prevent Ensures that links with `target="_blank"` include `rel="noreferrer"` to prevent warnings such as:  https://mathiasbynens.github.io/rel-noopener/#recommendations
This commit is contained in:
parent
73fd75fa78
commit
bf4cbd24b0
@ -36,7 +36,7 @@ export const ConfirmToken = ({
|
|||||||
By default, all {TokenType.FRONTEND} tokens may be used
|
By default, all {TokenType.FRONTEND} tokens may be used
|
||||||
from any CORS origin. If you'd like to configure a
|
from any CORS origin. If you'd like to configure a
|
||||||
strict set of origins, please use the{' '}
|
strict set of origins, please use the{' '}
|
||||||
<Link to="/admin/cors" target="_blank">
|
<Link to="/admin/cors" target="_blank" rel="noreferrer">
|
||||||
CORS origins configuration page
|
CORS origins configuration page
|
||||||
</Link>
|
</Link>
|
||||||
.
|
.
|
||||||
|
@ -78,6 +78,7 @@ export const InstanceStats: VFC = () => {
|
|||||||
color="primary"
|
color="primary"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
href={formatApiPath(
|
href={formatApiPath(
|
||||||
'/api/admin/instance-admin/statistics/csv'
|
'/api/admin/instance-admin/statistics/csv'
|
||||||
)}
|
)}
|
||||||
|
@ -352,6 +352,7 @@ export const ServiceAccountModal = ({
|
|||||||
<Link
|
<Link
|
||||||
href="https://docs.getunleash.io/reference/api-tokens-and-client-keys"
|
href="https://docs.getunleash.io/reference/api-tokens-and-client-keys"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Read more about API tokens
|
Read more about API tokens
|
||||||
</Link>
|
</Link>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Vitest Snapshot v1
|
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||||
|
|
||||||
exports[`Date component - snapshot matching 1`] = `
|
exports[`Date component - snapshot matching 1`] = `
|
||||||
{
|
{
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Vitest Snapshot v1
|
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||||
|
|
||||||
exports[`InstanceStatusBar should warn when the trial has churned 1`] = `
|
exports[`InstanceStatusBar should warn when the trial has churned 1`] = `
|
||||||
<aside
|
<aside
|
||||||
|
@ -202,7 +202,7 @@ const BannerButton = ({
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Link href={link} target="_blank" onClick={trackEvent}>
|
<Link href={link} target="_blank" rel="noreferrer" onClick={trackEvent}>
|
||||||
{children}
|
{children}
|
||||||
</Link>
|
</Link>
|
||||||
);
|
);
|
||||||
|
@ -93,7 +93,7 @@ export const PremiumFeature = ({ feature, tooltip }: PremiumFeatureProps) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const featureLabel = Boolean(url) ? (
|
const featureLabel = Boolean(url) ? (
|
||||||
<StyledLink href={url} target="_blank">
|
<StyledLink href={url} target="_blank" rel="noreferrer">
|
||||||
{label}
|
{label}
|
||||||
</StyledLink>
|
</StyledLink>
|
||||||
) : (
|
) : (
|
||||||
@ -133,6 +133,7 @@ export const PremiumFeature = ({ feature, tooltip }: PremiumFeatureProps) => {
|
|||||||
<StyledLink
|
<StyledLink
|
||||||
href={upgradeUrl}
|
href={upgradeUrl}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
onClick={handleClick}
|
onClick={handleClick}
|
||||||
>
|
>
|
||||||
Upgrade now
|
Upgrade now
|
||||||
@ -156,6 +157,7 @@ export const PremiumFeature = ({ feature, tooltip }: PremiumFeatureProps) => {
|
|||||||
variant="outlined"
|
variant="outlined"
|
||||||
href={upgradeUrl}
|
href={upgradeUrl}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
onClick={handleClick}
|
onClick={handleClick}
|
||||||
>
|
>
|
||||||
Upgrade now
|
Upgrade now
|
||||||
|
@ -45,6 +45,7 @@ export const DemoBanner = ({ onPlans }: IDemoBannerProps) => {
|
|||||||
sx={{ ml: 1 }}
|
sx={{ ml: 1 }}
|
||||||
href="https://slack.unleash.run/"
|
href="https://slack.unleash.run/"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
trackEvent('demo', {
|
trackEvent('demo', {
|
||||||
props: {
|
props: {
|
||||||
|
@ -77,6 +77,7 @@ export const DemoDialogPlans = ({ open, onClose }: IDemoDialogPlansProps) => {
|
|||||||
startIcon={<GitHub />}
|
startIcon={<GitHub />}
|
||||||
href="https://github.com/unleash/unleash"
|
href="https://github.com/unleash/unleash"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
trackEvent('demo', {
|
trackEvent('demo', {
|
||||||
props: {
|
props: {
|
||||||
@ -110,6 +111,7 @@ export const DemoDialogPlans = ({ open, onClose }: IDemoDialogPlansProps) => {
|
|||||||
color="primary"
|
color="primary"
|
||||||
href="https://www.getunleash.io/plans/pro"
|
href="https://www.getunleash.io/plans/pro"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
trackEvent('demo', {
|
trackEvent('demo', {
|
||||||
props: {
|
props: {
|
||||||
@ -141,6 +143,7 @@ export const DemoDialogPlans = ({ open, onClose }: IDemoDialogPlansProps) => {
|
|||||||
color="web"
|
color="web"
|
||||||
href="https://www.getunleash.io/plans/enterprise"
|
href="https://www.getunleash.io/plans/enterprise"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
trackEvent('demo', {
|
trackEvent('demo', {
|
||||||
props: {
|
props: {
|
||||||
@ -157,6 +160,7 @@ export const DemoDialogPlans = ({ open, onClose }: IDemoDialogPlansProps) => {
|
|||||||
<StyledCompareLink
|
<StyledCompareLink
|
||||||
href="https://www.getunleash.io/plans"
|
href="https://www.getunleash.io/plans"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
trackEvent('demo', {
|
trackEvent('demo', {
|
||||||
props: {
|
props: {
|
||||||
|
@ -49,6 +49,7 @@ export const TOPICS: ITutorialTopic[] = [
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/feature-toggles"
|
href="https://docs.getunleash.io/reference/feature-toggles"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Feature toggles
|
Feature toggles
|
||||||
</a>{' '}
|
</a>{' '}
|
||||||
@ -59,6 +60,7 @@ export const TOPICS: ITutorialTopic[] = [
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/projects"
|
href="https://docs.getunleash.io/reference/projects"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
projects
|
projects
|
||||||
</a>
|
</a>
|
||||||
@ -99,6 +101,7 @@ export const TOPICS: ITutorialTopic[] = [
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/activation-strategies"
|
href="https://docs.getunleash.io/reference/activation-strategies"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Activation strategies
|
Activation strategies
|
||||||
</a>{' '}
|
</a>{' '}
|
||||||
@ -154,6 +157,7 @@ export const TOPICS: ITutorialTopic[] = [
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/strategy-constraints"
|
href="https://docs.getunleash.io/reference/strategy-constraints"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Strategy constraints
|
Strategy constraints
|
||||||
</a>{' '}
|
</a>{' '}
|
||||||
@ -161,6 +165,7 @@ export const TOPICS: ITutorialTopic[] = [
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/activation-strategies"
|
href="https://docs.getunleash.io/reference/activation-strategies"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
activation strategy
|
activation strategy
|
||||||
</a>{' '}
|
</a>{' '}
|
||||||
@ -181,6 +186,7 @@ export const TOPICS: ITutorialTopic[] = [
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/unleash-context"
|
href="https://docs.getunleash.io/reference/unleash-context"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Unleash context
|
Unleash context
|
||||||
</a>{' '}
|
</a>{' '}
|
||||||
@ -301,6 +307,7 @@ export const TOPICS: ITutorialTopic[] = [
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/activation-strategies#gradual-rollout"
|
href="https://docs.getunleash.io/reference/activation-strategies#gradual-rollout"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Gradual rollout
|
Gradual rollout
|
||||||
</a>{' '}
|
</a>{' '}
|
||||||
@ -308,6 +315,7 @@ export const TOPICS: ITutorialTopic[] = [
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/activation-strategies"
|
href="https://docs.getunleash.io/reference/activation-strategies"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
activation strategies
|
activation strategies
|
||||||
</a>
|
</a>
|
||||||
@ -421,6 +429,7 @@ export const TOPICS: ITutorialTopic[] = [
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/feature-toggle-variants"
|
href="https://docs.getunleash.io/reference/feature-toggle-variants"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Feature toggle variants
|
Feature toggle variants
|
||||||
</a>{' '}
|
</a>{' '}
|
||||||
@ -496,6 +505,7 @@ export const TOPICS: ITutorialTopic[] = [
|
|||||||
<a
|
<a
|
||||||
href="https://developer.mozilla.org/en-US/docs/Web/CSS/named-color"
|
href="https://developer.mozilla.org/en-US/docs/Web/CSS/named-color"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
color
|
color
|
||||||
</a>{' '}
|
</a>{' '}
|
||||||
|
@ -303,6 +303,7 @@ export const EnvironmentCloneModal = ({
|
|||||||
<Link
|
<Link
|
||||||
href="https://docs.getunleash.io/reference/api-tokens-and-client-keys"
|
href="https://docs.getunleash.io/reference/api-tokens-and-client-keys"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Read more about API tokens
|
Read more about API tokens
|
||||||
</Link>
|
</Link>
|
||||||
|
@ -76,7 +76,11 @@ export const FeatureStrategySegmentChip = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<StyledChip>
|
<StyledChip>
|
||||||
<StyledLink to={`/segments/edit/${segment.id}`} target="_blank">
|
<StyledLink
|
||||||
|
to={`/segments/edit/${segment.id}`}
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
|
>
|
||||||
{segment.name}
|
{segment.name}
|
||||||
</StyledLink>
|
</StyledLink>
|
||||||
<Tooltip title={previewIconTooltip} arrow>
|
<Tooltip title={previewIconTooltip} arrow>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Vitest Snapshot v1
|
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||||
|
|
||||||
exports[`FeedbackCESForm 1`] = `
|
exports[`FeedbackCESForm 1`] = `
|
||||||
<body>
|
<body>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Vitest Snapshot v1
|
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||||
|
|
||||||
exports[`renders correctly with empty version 1`] = `
|
exports[`renders correctly with empty version 1`] = `
|
||||||
<body>
|
<body>
|
||||||
|
@ -59,6 +59,7 @@ export const Footer: VFC = () => {
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/node"
|
href="https://docs.getunleash.io/reference/sdks/node"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Node.js
|
Node.js
|
||||||
</a>
|
</a>
|
||||||
@ -71,6 +72,7 @@ export const Footer: VFC = () => {
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/java"
|
href="https://docs.getunleash.io/reference/sdks/java"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Java
|
Java
|
||||||
</a>
|
</a>
|
||||||
@ -83,6 +85,7 @@ export const Footer: VFC = () => {
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/go"
|
href="https://docs.getunleash.io/reference/sdks/go"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Go
|
Go
|
||||||
</a>
|
</a>
|
||||||
@ -95,6 +98,7 @@ export const Footer: VFC = () => {
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/rust"
|
href="https://docs.getunleash.io/reference/sdks/rust"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Rust
|
Rust
|
||||||
</a>
|
</a>
|
||||||
@ -107,6 +111,7 @@ export const Footer: VFC = () => {
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/ruby"
|
href="https://docs.getunleash.io/reference/sdks/ruby"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Ruby
|
Ruby
|
||||||
</a>
|
</a>
|
||||||
@ -119,6 +124,7 @@ export const Footer: VFC = () => {
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/python"
|
href="https://docs.getunleash.io/reference/sdks/python"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Python
|
Python
|
||||||
</a>
|
</a>
|
||||||
@ -131,6 +137,7 @@ export const Footer: VFC = () => {
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/dotnet"
|
href="https://docs.getunleash.io/reference/sdks/dotnet"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
.NET
|
.NET
|
||||||
</a>
|
</a>
|
||||||
@ -143,6 +150,7 @@ export const Footer: VFC = () => {
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/php"
|
href="https://docs.getunleash.io/reference/sdks/php"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
PHP
|
PHP
|
||||||
</a>
|
</a>
|
||||||
@ -155,6 +163,7 @@ export const Footer: VFC = () => {
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks"
|
href="https://docs.getunleash.io/reference/sdks"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
All SDKs
|
All SDKs
|
||||||
</a>
|
</a>
|
||||||
@ -174,6 +183,7 @@ export const Footer: VFC = () => {
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/unleash-proxy"
|
href="https://docs.getunleash.io/reference/unleash-proxy"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Unleash Proxy
|
Unleash Proxy
|
||||||
</a>
|
</a>
|
||||||
@ -186,6 +196,7 @@ export const Footer: VFC = () => {
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/javascript-browser"
|
href="https://docs.getunleash.io/reference/sdks/javascript-browser"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
JavaScript
|
JavaScript
|
||||||
</a>
|
</a>
|
||||||
@ -198,6 +209,7 @@ export const Footer: VFC = () => {
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/react"
|
href="https://docs.getunleash.io/reference/sdks/react"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
React
|
React
|
||||||
</a>
|
</a>
|
||||||
@ -210,6 +222,7 @@ export const Footer: VFC = () => {
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/next-js"
|
href="https://docs.getunleash.io/reference/sdks/next-js"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Next.js
|
Next.js
|
||||||
</a>
|
</a>
|
||||||
@ -222,6 +235,7 @@ export const Footer: VFC = () => {
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/vue"
|
href="https://docs.getunleash.io/reference/sdks/vue"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Vue
|
Vue
|
||||||
</a>
|
</a>
|
||||||
@ -234,6 +248,7 @@ export const Footer: VFC = () => {
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/ios-proxy"
|
href="https://docs.getunleash.io/reference/sdks/ios-proxy"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
iOS
|
iOS
|
||||||
</a>
|
</a>
|
||||||
@ -246,6 +261,7 @@ export const Footer: VFC = () => {
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/android-proxy"
|
href="https://docs.getunleash.io/reference/sdks/android-proxy"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Android
|
Android
|
||||||
</a>
|
</a>
|
||||||
@ -258,6 +274,7 @@ export const Footer: VFC = () => {
|
|||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/flutter"
|
href="https://docs.getunleash.io/reference/sdks/flutter"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Flutter
|
Flutter
|
||||||
</a>
|
</a>
|
||||||
@ -277,6 +294,7 @@ export const Footer: VFC = () => {
|
|||||||
<a
|
<a
|
||||||
href="https://www.getunleash.io/"
|
href="https://www.getunleash.io/"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
getunleash.io
|
getunleash.io
|
||||||
</a>
|
</a>
|
||||||
@ -289,6 +307,7 @@ export const Footer: VFC = () => {
|
|||||||
<a
|
<a
|
||||||
href="https://twitter.com/getunleash"
|
href="https://twitter.com/getunleash"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Twitter
|
Twitter
|
||||||
</a>
|
</a>
|
||||||
@ -301,6 +320,7 @@ export const Footer: VFC = () => {
|
|||||||
<a
|
<a
|
||||||
href="https://www.linkedin.com/company/getunleash"
|
href="https://www.linkedin.com/company/getunleash"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
LinkedIn
|
LinkedIn
|
||||||
</a>
|
</a>
|
||||||
@ -313,6 +333,7 @@ export const Footer: VFC = () => {
|
|||||||
<a
|
<a
|
||||||
href="https://github.com/Unleash/unleash"
|
href="https://github.com/Unleash/unleash"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
GitHub
|
GitHub
|
||||||
</a>
|
</a>
|
||||||
@ -325,6 +346,7 @@ export const Footer: VFC = () => {
|
|||||||
<a
|
<a
|
||||||
href="https://slack.unleash.run"
|
href="https://slack.unleash.run"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
Slack Community
|
Slack Community
|
||||||
</a>
|
</a>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Vitest Snapshot v1
|
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||||
|
|
||||||
exports[`should render DrawerMenu 1`] = `
|
exports[`should render DrawerMenu 1`] = `
|
||||||
[
|
[
|
||||||
@ -64,6 +64,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/node"
|
href="https://docs.getunleash.io/reference/sdks/node"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Node.js
|
Node.js
|
||||||
@ -83,6 +84,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/java"
|
href="https://docs.getunleash.io/reference/sdks/java"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Java
|
Java
|
||||||
@ -102,6 +104,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/go"
|
href="https://docs.getunleash.io/reference/sdks/go"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Go
|
Go
|
||||||
@ -122,6 +125,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/rust"
|
href="https://docs.getunleash.io/reference/sdks/rust"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Rust
|
Rust
|
||||||
@ -142,6 +146,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/ruby"
|
href="https://docs.getunleash.io/reference/sdks/ruby"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Ruby
|
Ruby
|
||||||
@ -162,6 +167,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/python"
|
href="https://docs.getunleash.io/reference/sdks/python"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Python
|
Python
|
||||||
@ -181,6 +187,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/dotnet"
|
href="https://docs.getunleash.io/reference/sdks/dotnet"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
.NET
|
.NET
|
||||||
@ -200,6 +207,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/php"
|
href="https://docs.getunleash.io/reference/sdks/php"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
PHP
|
PHP
|
||||||
@ -219,6 +227,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks"
|
href="https://docs.getunleash.io/reference/sdks"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
All SDKs
|
All SDKs
|
||||||
@ -255,6 +264,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/unleash-proxy"
|
href="https://docs.getunleash.io/reference/unleash-proxy"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Unleash Proxy
|
Unleash Proxy
|
||||||
@ -274,6 +284,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/javascript-browser"
|
href="https://docs.getunleash.io/reference/sdks/javascript-browser"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
JavaScript
|
JavaScript
|
||||||
@ -293,6 +304,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/react"
|
href="https://docs.getunleash.io/reference/sdks/react"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
React
|
React
|
||||||
@ -312,6 +324,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/next-js"
|
href="https://docs.getunleash.io/reference/sdks/next-js"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Next.js
|
Next.js
|
||||||
@ -331,6 +344,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/vue"
|
href="https://docs.getunleash.io/reference/sdks/vue"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Vue
|
Vue
|
||||||
@ -350,6 +364,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/ios-proxy"
|
href="https://docs.getunleash.io/reference/sdks/ios-proxy"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
iOS
|
iOS
|
||||||
@ -369,6 +384,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/android-proxy"
|
href="https://docs.getunleash.io/reference/sdks/android-proxy"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Android
|
Android
|
||||||
@ -388,6 +404,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/flutter"
|
href="https://docs.getunleash.io/reference/sdks/flutter"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Flutter
|
Flutter
|
||||||
@ -422,6 +439,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://www.getunleash.io/"
|
href="https://www.getunleash.io/"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
getunleash.io
|
getunleash.io
|
||||||
@ -441,6 +459,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://twitter.com/getunleash"
|
href="https://twitter.com/getunleash"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Twitter
|
Twitter
|
||||||
@ -460,6 +479,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://www.linkedin.com/company/getunleash"
|
href="https://www.linkedin.com/company/getunleash"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
LinkedIn
|
LinkedIn
|
||||||
@ -479,6 +499,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://github.com/Unleash/unleash"
|
href="https://github.com/Unleash/unleash"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
GitHub
|
GitHub
|
||||||
@ -498,6 +519,7 @@ exports[`should render DrawerMenu 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://slack.unleash.run"
|
href="https://slack.unleash.run"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Slack Community
|
Slack Community
|
||||||
@ -586,6 +608,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/node"
|
href="https://docs.getunleash.io/reference/sdks/node"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Node.js
|
Node.js
|
||||||
@ -605,6 +628,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/java"
|
href="https://docs.getunleash.io/reference/sdks/java"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Java
|
Java
|
||||||
@ -624,6 +648,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/go"
|
href="https://docs.getunleash.io/reference/sdks/go"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Go
|
Go
|
||||||
@ -644,6 +669,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/rust"
|
href="https://docs.getunleash.io/reference/sdks/rust"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Rust
|
Rust
|
||||||
@ -664,6 +690,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/ruby"
|
href="https://docs.getunleash.io/reference/sdks/ruby"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Ruby
|
Ruby
|
||||||
@ -684,6 +711,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/python"
|
href="https://docs.getunleash.io/reference/sdks/python"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Python
|
Python
|
||||||
@ -703,6 +731,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/dotnet"
|
href="https://docs.getunleash.io/reference/sdks/dotnet"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
.NET
|
.NET
|
||||||
@ -722,6 +751,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/php"
|
href="https://docs.getunleash.io/reference/sdks/php"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
PHP
|
PHP
|
||||||
@ -741,6 +771,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks"
|
href="https://docs.getunleash.io/reference/sdks"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
All SDKs
|
All SDKs
|
||||||
@ -777,6 +808,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/unleash-proxy"
|
href="https://docs.getunleash.io/reference/unleash-proxy"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Unleash Proxy
|
Unleash Proxy
|
||||||
@ -796,6 +828,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/javascript-browser"
|
href="https://docs.getunleash.io/reference/sdks/javascript-browser"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
JavaScript
|
JavaScript
|
||||||
@ -815,6 +848,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/react"
|
href="https://docs.getunleash.io/reference/sdks/react"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
React
|
React
|
||||||
@ -834,6 +868,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/next-js"
|
href="https://docs.getunleash.io/reference/sdks/next-js"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Next.js
|
Next.js
|
||||||
@ -853,6 +888,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/vue"
|
href="https://docs.getunleash.io/reference/sdks/vue"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Vue
|
Vue
|
||||||
@ -872,6 +908,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/ios-proxy"
|
href="https://docs.getunleash.io/reference/sdks/ios-proxy"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
iOS
|
iOS
|
||||||
@ -891,6 +928,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/android-proxy"
|
href="https://docs.getunleash.io/reference/sdks/android-proxy"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Android
|
Android
|
||||||
@ -910,6 +948,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://docs.getunleash.io/reference/sdks/flutter"
|
href="https://docs.getunleash.io/reference/sdks/flutter"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Flutter
|
Flutter
|
||||||
@ -944,6 +983,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://www.getunleash.io/"
|
href="https://www.getunleash.io/"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
getunleash.io
|
getunleash.io
|
||||||
@ -963,6 +1003,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://twitter.com/getunleash"
|
href="https://twitter.com/getunleash"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Twitter
|
Twitter
|
||||||
@ -982,6 +1023,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://www.linkedin.com/company/getunleash"
|
href="https://www.linkedin.com/company/getunleash"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
LinkedIn
|
LinkedIn
|
||||||
@ -1001,6 +1043,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://github.com/Unleash/unleash"
|
href="https://github.com/Unleash/unleash"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
GitHub
|
GitHub
|
||||||
@ -1020,6 +1063,7 @@ exports[`should render DrawerMenu with "features" selected 1`] = `
|
|||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://slack.unleash.run"
|
href="https://slack.unleash.run"
|
||||||
|
rel="noreferrer"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
Slack Community
|
Slack Community
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Vitest Snapshot v1
|
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||||
|
|
||||||
exports[`returns all baseRoutes 1`] = `
|
exports[`returns all baseRoutes 1`] = `
|
||||||
[
|
[
|
||||||
|
@ -31,7 +31,11 @@ export const SegmentProjectAlert = ({
|
|||||||
<StyledUl>
|
<StyledUl>
|
||||||
{Array.from(projectsUsed).map(projectId => (
|
{Array.from(projectsUsed).map(projectId => (
|
||||||
<li key={projectId}>
|
<li key={projectId}>
|
||||||
<Link to={`/projects/${projectId}`} target="_blank">
|
<Link
|
||||||
|
to={`/projects/${projectId}`}
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
|
>
|
||||||
{projects.find(({ id }) => id === projectId)?.name ??
|
{projects.find(({ id }) => id === projectId)?.name ??
|
||||||
projectId}
|
projectId}
|
||||||
</Link>
|
</Link>
|
||||||
@ -50,6 +54,7 @@ export const SegmentProjectAlert = ({
|
|||||||
strategy.id
|
strategy.id
|
||||||
)}
|
)}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
>
|
>
|
||||||
{strategy.featureName!}{' '}
|
{strategy.featureName!}{' '}
|
||||||
{formatStrategyNameParens(strategy)}
|
{formatStrategyNameParens(strategy)}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// Vitest Snapshot v1
|
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||||
|
|
||||||
exports[`renders an empty list correctly 1`] = `
|
exports[`renders an empty list correctly 1`] = `
|
||||||
[
|
[
|
||||||
|
Loading…
Reference in New Issue
Block a user