GitHub user dosubot[bot] added a comment to the discussion: Regarding the 
issues related to the homepage in Superset version 5.0.0

<!-- Answer -->
Permalinks generated via the dashboard share feature in Superset 5.0.0 are 
stable and deterministic—they remain valid and unchanged as long as the 
referenced dashboard exists and the permalink entry hasn't expired or been 
deleted. If the dashboard is deleted or its UUID changes, the permalink becomes 
invalid. By default, permalinks do not expire unless an expiration is set, but 
they represent a snapshot of the dashboard's state at the time of creation, not 
a dynamic view that updates with dashboard changes 
[[source](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/commands/dashboard/permalink/create.py#L39-L85)].

Superset does not support assigning different permalinks as default homepages 
for different users out of the box. The only built-in per-user homepage 
redirect is via the `welcome_dashboard_id` attribute, which is set for new 
users if you use the `DASHBOARD_TEMPLATE_ID` config. For more advanced per-user 
homepage logic (like redirecting users to different permalinks), you would need 
to implement a custom IndexView using `FLASK_APP_MUTATOR` in your 
`superset_config.py` 
[[discussion](https://github.com/apache/superset/issues/34575)].

For horizontal bar charts with multiple Y-axis dimensions, Superset only 
supports sorting by aggregated metric values (like sum, min, max, avg) or by 
specifying `order_by_cols` in the chart controls. There is no built-in way to 
sort the Y-axis by the raw values of a single dimension in multi-dimensional 
charts. The "sort query by" control only affects metric-based sorting, not 
dimension sorting—this is a known limitation and feature request in the 
community [[discussion](https://github.com/apache/superset/issues/33105)].

If you need per-user homepage redirects or more advanced sorting, it will 
require custom code or feature development.


<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*

---
<sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/99d8c92d-e165-4ffd-a850-32c30be0dcf0?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/99d8c92d-e165-4ffd-a850-32c30be0dcf0?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/99d8c92d-e165-4ffd-a850-32c30be0dcf0?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/99d8c92d-e165-4ffd-a850-32c30be0dcf0?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/99d8c92d-e165-4ffd-a850-32c30be0dcf0?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/99d8c92d-e165-4ffd-a850-32c30be0dcf0?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/99d8c92d-e165-4ffd-a850-32c30be0dcf0?feedback_type=other)</sup>

[![Chat with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&nbsp;[![Open
 in 
Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=Permalinks%20generated%20via%20the%20dashboard%20share%20feature%20in%20Superset%205.0.0%20are%20stable%20and%20deterministic%E2%80%94they%20remain%20valid%20and%20unchanged%20as%20long%20as%20the%20referenced%20dashboard%20exists%20and%20the%20permalink%20entry%20hasn%27t%20expired%20or%20been%20deleted.%20If%20the%20dashboard%20is%20deleted%20or%20its%20UUID%20changes%2C%20the%20permalink%20becomes%20invalid.%20By%20default%2C%20permalinks%20do%20not%20expire%20unless%20an%20expiration%20is%20set%2C%20but%20they%20represent%20a%20snapshot%20of%20the%20dashboard%27s%20state%20at%20the%20time%20of%20creation%2C%20not%20a%20dynamic%20view%20that%20updates%20with%20dashboard%20changes%20%5B%5Bsource%5D%28https%3A//github.com/apache/superset/blob/829e4d9
 
2d91ceae4b43b1ed3b063ffe45377799c/superset/commands/dashboard/permalink/create.py%23L39-L85%29%5D.%0A%0ASuperset%20does%20not%20support%20assigning%20different%20permalinks%20as%20default%20homepages%20for%20different%20users%20out%20of%20the%20box.%20The%20only%20built-in%20per-user%20homepage%20redirect%20is%20via%20the%20%60welcome_dashboard_id%60%20attribute%2C%20which%20is%20set%20for%20new%20users%20if%20you%20use%20the%20%60DASHBOARD_TEMPLATE_ID%60%20config.%20For%20more%20advanced%20per-user%20homepage%20logic%20%28like%20redirecting%20users%20to%20different%20permalinks%29%2C%20you%20would%20need%20to%20implement%20a%20custom%20IndexView%20using%20%60FLASK_APP_MUTATOR%60%20in%20your%20%60superset_config.py%60%20%5B%5Bdiscussion%5D%28https%3A//github.com/apache/superset/issues/34575%29%5D.%0A%0AFor%20horizontal%20bar%20charts%20with%20multiple%20Y-axis%20dimensions%2C%20Superset%20only%20supports%20sorting%20by%20aggregated%20metric%20values%20%28like%20sum%2C%20min%2C%20max
 
%2C%20avg%29%20or%20by%20specifying%20%60order_by_cols%60%20in%20the%20chart%20controls.%20There%20is%20no%20built-in%20way%20to%20sort%20the%20Y-axis%20by%20the%20raw%20values%20of%20a%20single%20dimension%20in%20multi-dimensional%20charts.%20The%20%22sort%20query%20by%22%20control%20only%20affects%20metric-based%20sorting%2C%20not%20dimension%20sorting%E2%80%94this%20is%20a%20known%20limitation%20and%20feature%20request%20in%20the%20community%20%5B%5Bdiscussion%5D%28https%3A//github.com/apache/superset/issues/33105%29%5D.%0A%0AIf%20you%20need%20per-user%20homepage%20redirects%20or%20more%20advanced%20sorting%2C%20it%20will%20require%20custom%20code%20or%20feature%20development.)&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.
 com/apache/superset/discussions/36221)

GitHub link: 
https://github.com/apache/superset/discussions/36221#discussioncomment-15102660

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to