Skip to content

Commit c639b65

Browse files
authored
chore: add new story in SyncLogViewer with wellpicks (#2813)
Added a new story to show an example of discrete logs with wellpicks
1 parent 16ab080 commit c639b65

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

typescript/packages/well-log-viewer/src/SyncLogViewer.stories.tsx

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ const stories: Meta = {
8888
component: SyncLogViewer,
8989
title: "WellLogViewer/Demo/SyncLogViewer",
9090
argTypes: argTypesSyncLogViewerProp,
91-
tags: ["no-screenshot-test"],
9291
parameters: {
9392
docs: {
9493
description: {
@@ -497,8 +496,25 @@ export const DiscreteLogs: StoryObj<typeof TemplateWithSelection> = {
497496
render: (args) => (
498497
<TemplateWithSelection {...args} wellLogCollections="DiscreteLogs" />
499498
),
499+
tags: ["no-screenshot-test"],
500500
};
501501

502+
export const DiscreteLogsWithWellPicks: StoryObj<typeof TemplateWithSelection> =
503+
{
504+
args: {
505+
...facies3WellsArgs,
506+
wellpicks: exampleWellPicks,
507+
wellpickFlatting: ["Hor_4"],
508+
},
509+
// wellLogCollections is used to retrieve the well log sets from the getWellLogCollections() function
510+
render: (args) => (
511+
<TemplateWithSelection
512+
{...args}
513+
wellLogCollections="DiscreteLogs"
514+
/>
515+
),
516+
};
517+
502518
export const DiscreteLogsWithUndefined: StoryObj<typeof TemplateWithSelection> =
503519
{
504520
args: { ...facies3WellsArgs },
@@ -509,6 +525,7 @@ export const DiscreteLogsWithUndefined: StoryObj<typeof TemplateWithSelection> =
509525
wellLogCollections="DiscreteLogsWithUndefined"
510526
/>
511527
),
528+
tags: ["no-screenshot-test"],
512529
};
513530

514531
export const DiscreteLogsWithIndividualVisibleRange: StoryObj<
@@ -540,6 +557,7 @@ export const DiscreteLogsWithIndividualVisibleRange: StoryObj<
540557
wellLogCollections="DiscreteLogsWithIndividualDomains"
541558
/>
542559
),
560+
tags: ["no-screenshot-test"],
543561
};
544562

545563
export const DiscreteLogsWithIndividualDomainAndVisibleRange: StoryObj<
@@ -574,6 +592,7 @@ export const DiscreteLogsWithIndividualDomainAndVisibleRange: StoryObj<
574592
wellLogCollections="DiscreteLogsWithIndividualDomains"
575593
/>
576594
),
595+
tags: ["no-screenshot-test"],
577596
};
578597

579598
const verySimpleTemplate: TemplateType = {
@@ -726,4 +745,5 @@ export const LogsWithDifferentSets: StoryObj<typeof Template> = {
726745
render: (args) => (
727746
<Template {...args} wellLogCollections="LogsWithDifferentSets" />
728747
),
748+
tags: ["no-screenshot-test"],
729749
};
78.2 KB
Loading

0 commit comments

Comments
 (0)