Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Landing Page v1.0 #4463

Merged
merged 8 commits into from
Feb 27, 2018
Merged

New Landing Page v1.0 #4463

merged 8 commits into from
Feb 27, 2018

Conversation

hughhhh
Copy link
Member

@hughhhh hughhhh commented Feb 22, 2018

Updated Landing Page with new tabs 💯

ss_landing_page

Reference #4376

@kkalyan
Copy link
Contributor

kkalyan commented Feb 23, 2018

this is great, would love to see 'my dashboards' (created by the user) in a different tab or as part of favorites tab.

@hughhhh
Copy link
Member Author

hughhhh commented Feb 23, 2018

@kkalyan Just updated the gif with the new design

@hughhhh hughhhh changed the title [Wip] New Landing Page New Landing Page v1.0 Feb 23, 2018
Copy link
Member

@mistercrunch mistercrunch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor comments.

<Col md={8}><h2>Datasources</h2></Col>
</Row>
<hr />
{/* <ChartsTable search={this.state.search} /> */}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the empty placeholders? I'm thinking it's better to not have the empty tabs than having them.

<DashboardTable search={this.state.search} />
</Panel>
<Tabs defaultActiveKey={1} id="uncontrolled-tab-example">
<Tab eventKey={1} title="Recently Viewed">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lots of free text that should be wrap for i18n as in t('Translate this')

from superset import db


def bootstrap_user_data(given_username=None):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

given_username is confusing to me as it sounds like "Given Name" which means something else. It would be ok to receive username and to go username = username or g.user.username on the first line

@@ -2,3 +2,4 @@
from . import core # noqa
from . import sql_lab # noqa
from . import annotations # noqa
from . import utils # noqa
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this necessary? shouldn't be since no views should be registered here

)
roles = {}
permissions = defaultdict(set)
for role in user.roles:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the welcome page you don't need all that in the payload, maybe this utility function should have a include_perms=False arg. Man I wish we had GraphQL instead of having to change the backend logic...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯 on the graphQL

@mistercrunch
Copy link
Member

LGTM though the build is red :(

@mistercrunch mistercrunch merged commit 11ea83e into apache:master Feb 27, 2018
michellethomas pushed a commit to michellethomas/panoramix that referenced this pull request May 24, 2018
* Updated welcome landing page

* fixed test and linting

* linting

* addressing comments

* fix test

* fix test

* remove unneeded var

* add magic comments
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
* Updated welcome landing page

* fixed test and linting

* linting

* addressing comments

* fix test

* fix test

* remove unneeded var

* add magic comments
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.24.0 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.24.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants