Skip to content

Commit

Permalink
fix: ensure navigation api uses proper data for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Jan 28, 2021
1 parent 3ea7698 commit 8facfa1
Showing 1 changed file with 52 additions and 78 deletions.
130 changes: 52 additions & 78 deletions plugins/gatsby-source-newrelic-sdk/src/navigationApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,8 @@ const entityGuid = 'Mxka102Ak';
const location = navigation.getOpenEntityLocation(entityGuid);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
],
},
Expand Down Expand Up @@ -149,9 +148,8 @@ const launcher = {
const location = navigation.getOpenLauncherLocation(launcher);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
{
label: 'Example 2',
Expand All @@ -172,9 +170,8 @@ const launcher = {
const location = navigation.getOpenLauncherLocation(launcher);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
],
},
Expand Down Expand Up @@ -203,9 +200,8 @@ const nerdlet = {
const location = navigation.getOpenNerdletLocation(nerdlet);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
{
label: 'Example 2',
Expand All @@ -220,9 +216,8 @@ const nerdlet = {
const location = navigation.getOpenNerdletLocation(nerdlet);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
],
},
Expand Down Expand Up @@ -251,9 +246,8 @@ const overlay = {
const location = navigation.getOpenOverlayLocation(overlay);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
],
},
Expand All @@ -280,9 +274,8 @@ const entityGuid = 'Mxka102Ak';
const location = navigation.getOpenStackedEntityLocation(entityGuid);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
],
},
Expand Down Expand Up @@ -311,9 +304,8 @@ const nerdlet = {
const location = navigation.getOpenStackedNerdletLocation(nerdlet);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
{
label: 'Example 2',
Expand All @@ -328,9 +320,8 @@ const nerdletWithState = {
const location = navigation.getOpenStackedNerdletLocation(nerdletWithState);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
{
label: 'Example 3',
Expand All @@ -345,9 +336,8 @@ const nerdletWithState = {
const location = navigation.getOpenStackedNerdletLocation(nerdletWithState);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
],
},
Expand Down Expand Up @@ -376,9 +366,8 @@ const nerdlet = {
const location = navigation.getReplaceNerdletLocation(nerdlet);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
{
label: 'Example 2',
Expand All @@ -390,9 +379,8 @@ const nerdlet = {
const location = navigation.getReplaceNerdletLocation(nerdlet);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
{
label: 'Example 3',
Expand All @@ -407,9 +395,8 @@ const nerdlet = {
const location = navigation.getReplaceNerdletLocation(nerdlet);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
],
},
Expand Down Expand Up @@ -441,9 +428,8 @@ const entityGuid = 'Mxka102Ak';
navigation.openEntity(entityGuid);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
],
},
Expand Down Expand Up @@ -481,9 +467,8 @@ const launcher = {
navigation.openLauncher(launcher);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
{
label: 'Example 2',
Expand All @@ -504,9 +489,8 @@ const launcher = {
navigation.openLauncher(launcher);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
],
},
Expand Down Expand Up @@ -542,9 +526,8 @@ const nerdlet = {
navigation.openNerdlet(nerdlet);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
{
label: 'Example 2',
Expand All @@ -559,9 +542,8 @@ const nerdletWithState = {
const location = navigation.getOpenNerdletLocation(nerdletWithState);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
],
},
Expand Down Expand Up @@ -597,9 +579,8 @@ const overlay = {
navigation.openOverlay(overlay);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
],
},
Expand Down Expand Up @@ -632,9 +613,8 @@ const entityGuid = 'Mxka102Ak';
navigation.openStackedEntity(entityGuid);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
],
},
Expand Down Expand Up @@ -670,9 +650,8 @@ const nerdlet = {
navigation.openStackedNerdlet(nerdlet);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
{
label: 'Example 2',
Expand All @@ -687,9 +666,8 @@ const nerdletWithState = {
navigation.openStackedNerdlet(nerdlet);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
{
label: 'Example 3',
Expand All @@ -704,9 +682,8 @@ const nerdletWithState = {
navigation.openStackedNerdlet(nerdlet);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
],
},
Expand Down Expand Up @@ -740,9 +717,8 @@ const nerdlet = {
navigation.replaceNerdlet(nerdlet);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
{
label: 'Example 2',
Expand All @@ -754,9 +730,8 @@ const nerdlet = {
navigation.replaceNerdlet(nerdlet);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
{
label: 'Example 3',
Expand All @@ -771,9 +746,8 @@ const nerdlet = {
navigation.replaceNerdlet(nerdlet);
`.trim(),
options: {
live: false,
},
live: false,
preview: false,
},
],
},
Expand Down

0 comments on commit 8facfa1

Please sign in to comment.