|
@@ -20,6 +20,7 @@ import {
|
|
|
updateProjects,
|
|
|
} from 'app/actionCreators/globalSelection';
|
|
|
import {DEFAULT_STATS_PERIOD} from 'app/constants';
|
|
|
+import AlertActions from 'app/actions/alertActions';
|
|
|
import BackToIssues from 'app/components/organizations/backToIssues';
|
|
|
import Header from 'app/components/organizations/header';
|
|
|
import HeaderItemPosition from 'app/components/organizations/headerItemPosition';
|
|
@@ -98,6 +99,20 @@ class GlobalSelectionHeader extends React.Component {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
+ const hasSentry10 = new Set(this.props.organization.features).has('sentry10');
|
|
|
+
|
|
|
+ if (hasSentry10)
|
|
|
+ AlertActions.addAlert({
|
|
|
+ message:
|
|
|
+ 'Hi! You are seeing some new changes to Sentry as a member of our early adopter program. Click to read more.',
|
|
|
+ type: 'info',
|
|
|
+ url:
|
|
|
+ 'https://forum.sentry.io/t/new-product-changes-now-available-for-preview/5805',
|
|
|
+ neverExpire: true,
|
|
|
+ noDuplicates: true,
|
|
|
+ id: 'visibility-changes-alert-message',
|
|
|
+ });
|
|
|
+
|
|
|
const hasMultipleProjectFeature = this.hasMultipleProjectSelection();
|
|
|
|
|
|
const stateFromRouter = getStateFromQuery(this.props.location.query);
|