You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/04/08 23:17:36 UTC

[GitHub] [superset] michellethomas opened a new issue, #19631: Cannot configure filter scopes for filter box filter with only time grain dropdown

michellethomas opened a new issue, #19631:
URL: https://github.com/apache/superset/issues/19631

   When I create a filter box filter with only a time grain dropdown, I am unable to configure the filter scopes when added to a dashboard. If the filter box has time grain and time range filters, it works. There is a frontend error when trying to set the filter scope for time grain only filter because the filterKey only includes the chart_id, it does not include the column that is expected in `getChartIdAndColumnFromFilterKey`. I'm not sure where that information should be coming from or why it is not correctly added. Maybe someone who knows more about the dashboard filters can take a look.
   
   #### How to reproduce the bug
   
   1. Create a filter box chart
   2. Select "Show time grain dropdown"
   3. Add the filter to your dashboard
   4. Try to configure the filter scope and select the filter box chart to scope
   5. See error in the console
   
   ### Expected results
   Checked filter box to scope filters
   
   ### Actual results
   Nothing happens, error in console
   
   ![image](https://user-images.githubusercontent.com/817955/162545014-1886d8d0-6821-4089-a368-63d68570d884.png)
   
   The filterKey is just the chart_id, it does not include the column that is expected in `getChartIdAndColumnFromFilterKey`. I'm not sure why the filterKey is not getting created correctly to include the column information. When I also add the time_range filter, this issue does not happen, only when time_grain is added on its own.
   
   ### Environment
   
   I'm a few weeks behind master
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [ ] I have reproduced the issue with at least the latest released version of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   ### Additional context
   
   Add any other context about the problem here.
   


-- 
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.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: [I] Cannot configure filter scopes for filter box filter with only time grain dropdown [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #19631: Cannot configure filter scopes for filter box filter with only time grain dropdown
URL: https://github.com/apache/superset/issues/19631


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


[GitHub] [superset] vinhhap commented on issue #19631: Cannot configure filter scopes for filter box filter with only time grain dropdown

Posted by GitBox <gi...@apache.org>.
vinhhap commented on issue #19631:
URL: https://github.com/apache/superset/issues/19631#issuecomment-1103474887

   I'm having the same problem


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


[GitHub] [superset] rusackas commented on issue #19631: Cannot configure filter scopes for filter box filter with only time grain dropdown

Posted by GitBox <gi...@apache.org>.
rusackas commented on issue #19631:
URL: https://github.com/apache/superset/issues/19631#issuecomment-1376382579

   The filter box is effectively on a road to deprecation, so I don't foresee this getting fixed anytime soon. 
   
   @john-bodley do you think there's any hope of someone addressing this, or shall we mark it a "won't fix"?


-- 
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: [I] Cannot configure filter scopes for filter box filter with only time grain dropdown [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #19631:
URL: https://github.com/apache/superset/issues/19631#issuecomment-1946861066

   Filterbox is dying imminently with 4.0. Closing this as it won't be picked up.


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