You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "justinpark (via GitHub)" <gi...@apache.org> on 2023/11/14 19:59:32 UTC

[PR] fix(explore): redandant force param [superset]

justinpark opened a new pull request, #25985:
URL: https://github.com/apache/superset/pull/25985

   ### SUMMARY
   The chartDataUrl contains an empty `force` parameter due to `null` value from `getUrlParam(URL_PARAMS.force)`.
   This commit cleans out the redundant force parameter for the falsy value case.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   
   Before:
   
   ![Screenshot 2023-11-14 at 11 51 39 AM](https://github.com/apache/superset/assets/1392866/37da1154-4354-459f-8885-c2bed98565ae)
   
   After:
   
   ![Screenshot 2023-11-14 at 11 52 01 AM](https://github.com/apache/superset/assets/1392866/1f72c89b-ea8f-498c-996f-44e7fe504d42)
   
   ### TESTING INSTRUCTIONS
   Go to any dashboard and check the url parameter for `/api/v1/chart/data` 
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


-- 
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


Re: [PR] fix(explore): redandant force param [superset]

Posted by "john-bodley (via GitHub)" <gi...@apache.org>.
john-bodley commented on PR #25985:
URL: https://github.com/apache/superset/pull/25985#issuecomment-1811191583

   Thanks for the cleanup @justinpark, removing the bare `force` parameter helps greatly with the readability as previously it was akin to saying `force=false` which was somewhat misleading.


-- 
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


Re: [PR] fix(explore): redandant force param [superset]

Posted by "justinpark (via GitHub)" <gi...@apache.org>.
justinpark merged PR #25985:
URL: https://github.com/apache/superset/pull/25985


-- 
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