Skip to content

Commit f2c28bf

Browse files
authored
add k6 forum migration banner (#1266)
* add k6 forum migration banner
1 parent 1a3e006 commit f2c28bf

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

gatsby-config.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require('dotenv').config({
77
path: `.env.${process.env.NODE_ENV}`,
88
});
99

10-
const shouldAnnouncementBannerBeShown = false;
10+
const shouldAnnouncementBannerBeShown = true;
1111

1212
const plugins = [
1313
'gatsby-transformer-sharp',
@@ -184,8 +184,12 @@ if (shouldAnnouncementBannerBeShown) {
184184
__dirname,
185185
'./src/components/shared/announcement-banner/announcement-banner.js',
186186
),
187-
text: 'Enhanced flexibility for multiple scenarios in your test. Check out the new Scenarios API.',
188-
link: 'https://k6.io/docs/using-k6/scenarios',
187+
text:
188+
// eslint-disable-next-line max-len
189+
'🎉 We are excited to announce that, starting on July 25th at 14:00 UTC, we will merge the k6 community forum with the Grafana community forum',
190+
link:
191+
// eslint-disable-next-line max-len
192+
'https://k6.io/blog/k6-forum-migration/',
189193
buttonText: 'Learn more',
190194
},
191195
// settings below have to match
@@ -199,7 +203,8 @@ if (shouldAnnouncementBannerBeShown) {
199203
},
200204
},
201205
storage: {
202-
name: 'k6-ab-was-shown',
206+
// changing storage name to force users to see the banner even if it was disabled
207+
name: 'k6-sb-was-shown',
203208
},
204209
};
205210
if (isProduction) {

0 commit comments

Comments
 (0)