mirror of
https://github.com/apache/superset.git
synced 2026-04-18 23:55:00 +00:00
[landing] Making Dashboards the first/default tab (#4553)
This commit is contained in:
committed by
Maxime Beauchemin
parent
2e780e4034
commit
01e0a2f071
@@ -25,25 +25,7 @@ export default class App extends React.PureComponent {
|
||||
return (
|
||||
<div className="container welcome">
|
||||
<Tabs defaultActiveKey={1} id="uncontrolled-tab-example">
|
||||
<Tab eventKey={1} title={t('Recently Viewed')}>
|
||||
<Panel>
|
||||
<Row>
|
||||
<Col md={8}><h2>{t('Recently Viewed')}</h2></Col>
|
||||
</Row>
|
||||
<hr />
|
||||
<RecentActivity user={this.props.user} />
|
||||
</Panel>
|
||||
</Tab>
|
||||
<Tab eventKey={2} title={t('Favorites')}>
|
||||
<Panel>
|
||||
<Row>
|
||||
<Col md={8}><h2>{t('Favorites')}</h2></Col>
|
||||
</Row>
|
||||
<hr />
|
||||
<Favorites user={this.props.user} />
|
||||
</Panel>
|
||||
</Tab>
|
||||
<Tab eventKey={3} title={t('Dashboards')}>
|
||||
<Tab eventKey={1} title={t('Dashboards')}>
|
||||
<Panel>
|
||||
<Row>
|
||||
<Col md={8}><h2>{t('Dashboards')}</h2></Col>
|
||||
@@ -62,6 +44,24 @@ export default class App extends React.PureComponent {
|
||||
<DashboardTable search={this.state.search} />
|
||||
</Panel>
|
||||
</Tab>
|
||||
<Tab eventKey={2} title={t('Recently Viewed')}>
|
||||
<Panel>
|
||||
<Row>
|
||||
<Col md={8}><h2>{t('Recently Viewed')}</h2></Col>
|
||||
</Row>
|
||||
<hr />
|
||||
<RecentActivity user={this.props.user} />
|
||||
</Panel>
|
||||
</Tab>
|
||||
<Tab eventKey={3} title={t('Favorites')}>
|
||||
<Panel>
|
||||
<Row>
|
||||
<Col md={8}><h2>{t('Favorites')}</h2></Col>
|
||||
</Row>
|
||||
<hr />
|
||||
<Favorites user={this.props.user} />
|
||||
</Panel>
|
||||
</Tab>
|
||||
</Tabs>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user