Skip to content

Commit

Permalink
change text
Browse files Browse the repository at this point in the history
Signed-off-by: Anan Zhuang <[email protected]>
  • Loading branch information
ananzh committed Jun 9, 2021
1 parent c086703 commit 70bca94
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const addBasePathMock = jest.fn((path: string) => (path ? path : 'path'));
const mockFeatures = [
{
category: 'data',
description: 'Try our sample data.',
description: 'Get started with sample data, visualizations, and dashboards.',
showOnHomePage: true,
icon: 'indexOpen',
id: 'home_tutorial_directory',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,8 @@ class TutorialDirectoryUi extends React.Component {
constructor(props) {
super(props);

// temporarily set tabs to empty due to no available data instructions
// to users. this part will be added back once we have instructions
// and sample code snippets that can instruct users to add data
// TODO: Enable the tabs once we have instructions
// and sample code snippets to instruct users to add data
this.tabs = [
//{
// id: ALL_TAB_ID,
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/home/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export class HomePublicPlugin
defaultMessage: 'Add sample data',
}),
description: i18n.translate('home.tutorialDirectory.featureCatalogueDescription', {
defaultMessage: 'Try our sample data.',
defaultMessage: 'Get started with sample data, visualizations, and dashboards.',
}),
icon: 'indexOpen',
showOnHomePage: true,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import { FeatureCatalogueCategory } from 'src/plugins/home/public';
const mockFeatures = [
{
category: FeatureCatalogueCategory.DATA,
description: 'Try our sample data.',
description: 'Get started with sample data, visualizations, and dashboards.',
showOnHomePage: true,
icon: 'indexOpen',
id: 'home_tutorial_directory',
Expand Down

0 comments on commit 70bca94

Please sign in to comment.