Skip to content

Commit

Permalink
feat: CLIN-2923 improve Pro Label by adding tooltip option
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviercperrier committed Nov 6, 2024
1 parent f49d6c7 commit 666c257
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions storybook/stories/Components/QueryBuilder/QueryBuilder.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import QueryBuilder, { IQueryBuilderProps } from '@ferlab/ui/core/components/QueryBuilder';
import { setQueryBuilderState } from '@ferlab/ui/core/components/QueryBuilder/utils/useQueryBuilderState';
import { IRemoteComponent } from '@ferlab/ui/core/data/sqon/types';
import { Meta, Story } from '@storybook/react';
import React from 'react';
import { MdPeople } from 'react-icons/md';
import QueryBuilder, {
IQueryBuilderProps,
} from "@ferlab/ui/core/components/QueryBuilder";
import { setQueryBuilderState } from "@ferlab/ui/core/components/QueryBuilder/utils/useQueryBuilderState";
import { IRemoteComponent } from "@ferlab/ui/core/data/sqon/types";
import { Meta, Story } from "@storybook/react";
import React from "react";
import { MdPeople } from "react-icons/md";

export default {
title: '@ferlab/Components/QueryBuilder/QueryBuilder',
Expand Down Expand Up @@ -612,7 +614,7 @@ setQueryBuilderState(withHeaderAndToolsAndPatternQbID, {
});
WithHeaderAndToolsAndPattern.args = {
id: withHeaderAndToolsAndPatternQbID,
title: "With header, tools and pattern (Can't use $ in the filter name)",
title: 'With header, tools and pattern (Can\'t use $ in the filter name)',
getResolvedQueryForCount: defaultResolveCountPromise,
fetchQueryCount: defaultFetchQuerCount,
headerConfig: {
Expand Down Expand Up @@ -653,9 +655,9 @@ WithHeaderAndToolsAndPattern.args = {
pattern: {
message: "Can't use $",
regex: '^.[^$]+$',
},
},
},
}
}
}
},
onRemoveFacet: (f: any) => f,
onChangeQuery: (f: any) => f,
Expand Down

0 comments on commit 666c257

Please sign in to comment.