superset icon indicating copy to clipboard operation
superset copied to clipboard

[SIP-42] Option to set a user's profile as their welcome page

Open altef opened this issue 6 years ago • 8 comments

Please make sure you are familiar with the SIP process documented (here)[https://github.com/apache/incubator-superset/issues/5602]

[SIP] Proposal for an option to set a user's profile as their welcome page

Motivation

In certain situations a user's profile page may be more useful than Superset's default welcome page. And while the welcome dashboard is a nice feature, the option to use the user's profile page might be nice. It lists their favourite dashboards, rather than a single dashboard (like the welcome dashboard) or all dashboards they can access (like the default welcome page).

Proposed Change

I propose we add a config setting to allow this, defaulting to false so as not to impact any existing installs.
WELCOME_WITH_USER_PROFILE = False

Welcome dashboards can still take precedence, if supplied - all this will do is swap out the default welcome page for the user's profile page.

New or Changed Public Interfaces

The only change should be exposing an additional config setting.

New dependencies

None.

Migration Plan and Compatibility

None necessary.

Rejected Alternatives

For our use-case we attempted using the welcome dashboards, but they did not suit our purpose. An iframe could have worked, however there seems to be no jinja access to the user id there so we can't easily differentiate between users.

altef avatar May 13 '20 00:05 altef

I'm not super clear on if this warrants a SIP, but it does impact the configuration which is specifically mentioned in the list of things to be SIPed. Apologies if this in fact was inappropriate.

altef avatar May 13 '20 00:05 altef

Thanks for your submission! As you pointed out in your description, it probably doesn't warrant a SIP. Either way, I'm for this change as it will be behind a flag with a default of the current behavior.

craig-rueda avatar May 13 '20 15:05 craig-rueda

SIP-34 includes a design for a new landing/home page experience. While this proposed change does not directly conflict with the direction of SIP-34, due to the config flag, we should evaluate this proposal within that context.

robdiciuccio avatar May 13 '20 16:05 robdiciuccio

@betodealmeida did some work in the past where each user gets their own dashboard as a landing page. That dashboard would be cloned from a template, and contain object lists based on on tags. A cool idea.

mistercrunch avatar May 14 '20 00:05 mistercrunch

Longer term the vision is to fit the SIP-34 design that @robdiciuccio mentionned

mistercrunch avatar May 14 '20 01:05 mistercrunch

That would be nice, especially if combined with some form of dashboard-level permissions, though I guess that's probably not part of that SIP?

altef avatar May 14 '20 04:05 altef

I think given the ambiguity, the amount of time this has been in discussion, and how long it's been, we can call this closed for now. There's been a lot of work on the Homepage, and the Profile features/location are on the roadmap for revisit/redesign/rebuild. We'll make it all better, and address at least some of your concerns in this effort :)

rusackas avatar Apr 21 '21 20:04 rusackas

Since this issue is closed due to inactivity, we'll also consider the SIP/proposal process closed as well. If you want to rekindle this proposal, please re-open this Issue, and send a new [DISCUSS] thread to the dev@ mailing list. Thank you!

rusackas avatar Dec 08 '22 18:12 rusackas