You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "villebro (via GitHub)" <gi...@apache.org> on 2025/11/10 16:15:15 UTC

Re: [PR] fix(permalink): exclude edit mode from dashboard permalink [superset]

villebro commented on code in PR #35889:
URL: https://github.com/apache/superset/pull/35889#discussion_r2511170819


##########
superset-frontend/src/utils/urlUtils.ts:
##########
@@ -188,7 +188,7 @@ export function getDashboardPermalink({
   includeChartState?: boolean;
 }) {
   const payload: JsonObject = {
-    urlParams: getDashboardUrlParams(),
+    urlParams: getDashboardUrlParams(['edit']),

Review Comment:
   I think we should include `edit` in `URL_PARAMS` and later `RESERVED_DASHBOARD_URL_PARAMS`:
   - https://github.com/apache/superset/blob/ae63f647710f86bc120c2e7a25ca2ea87aa75448/superset-frontend/src/constants.ts#L25
   - https://github.com/apache/superset/blob/ae63f647710f86bc120c2e7a25ca2ea87aa75448/superset-frontend/src/constants.ts#L115-L120 ? I think 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org