Skip to content

New welcome page #5327

@betodealmeida

Description

@betodealmeida

The current welcome page — the page the user is redirected to when visiting the Superset root URL — is not functional, since it shows a list of dashboards for all users sorted by modification time. As Superset adoption grows inside a company, the welcome page becomes even less useful, with a reduced signal to noise.

At Lyft we discussed using a dashboard as the welcome page for our users, with a special configurable widget that displays tagged content. This requires some additions to Superset:

Tags

Saved queries, charts and dashboards would be able to be tagged by owners, using a react-tag-autocomplete. This would help with the organization of content, allowing users to create "virtual workspaces" (a feature that has been requested from our users), and would also be surfaced in a global search input.

These assets would also have "implicit" system tags, created and updated automatically. For example, a dashboard created by me (@betodealmeida) and favorited by @mistercrunch would have these system tags:

  • type:dashboard
  • owner:betodealmeida
  • favorited_by:mistercrunch

Note that we use a colon as the separator. Regular, user-added, tags would be prohibited from having colons in their names.

Tagged object viewer (viz type or native dashboard)

A new dashboard widget would be created, either as a new visualization type or as a native dashboard component. This allows users to specify a list of tags, select object types (queries, charts, dashboards). Resulting matches would be shown in a table, with links:

screen shot 2018-07-02 at 3 38 58 pm

Welcome dashboard

Admins would be able to create a dashboard, and have it as a template for new users — every new user would own a copy of that dashboard. This is useful for displaying company metrics, display welcome messages (using the Markup widget), and have a better onboarding experience.

This would be achieved by adding a variable to config.py, e.g., WELCOME_DASHBOARD_TEMPLATE, pointing to a dashboard id.

Custom welcome page

Currently users are redirected to http://example.com/superset/welcome when visiting the root URL for Superset. This would be configured in config.py, and in our deployment would point to the welcome dashboard.

Non-goals

Redesign user page

We all seemed to agree that the user page (http://example.com/superset/profile/$username/) is not very functional and could be improved. This is not part of this proposal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    inactiveInactive for >= 30 dayslyftRelated to Lyft

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions