krmmkr commented on issue #41498:
URL: https://github.com/apache/superset/issues/41498#issuecomment-5317528507

   A. Unified Filter State
   
   The implementation preserves Superset's unified filter state architecture:
   
   State Source of Truth: All filter interactions (whether from the vertical 
bar, horizontal bar, or in-canvas filter card) dispatch directly to the root 
Redux dataMask store via updateDataMask(filterId, dataMask).
   Execution: Charts do not distinguish whether a filter's query payload 
originated from the sidebar or from a canvas slicer card.
   Global Synchronization: Global "Clear All" and Cross-Filters continue to 
operate seamlessly across both canvas and filter bar controls.
   
   image.png
   
   B. In-Canvas Filter Component (FilterHolder)
   
   A new layout type Filter Card is integrated into the dashboard builder:
   
   Drag-and-Drop: Users can drag the Filter component from the builder 
component panel and drop it into any Row, Column, or Tab.
   Filter Binding: Select which native filter configuration binds to the canvas 
card.
   Responsive Resizing (ResizableContainer): Fully resizable horizontally and 
vertically with a full-width bottom drag handle.
   
   Sample Screenshots:
   
   1. New Filter Card Layout element
   image.png
   2. Regular Native filters
   image.png
   3. Native filters can be chosen when we add Filter Card Component to 
Dashboard Canvas
   image.png
   4. Once a Filter is selected (Filter 1 here), they disappear from the 
Vertical / Horizontal Filter bar and show up only in Dashboard canvas. When 
this canvas element is deleted, then they show up in the Global Vertical / 
Horizontal Filter bar.
   image.png
   
   Please let me know your comments and feedbacks if anything needs to be fixed 
or improved
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to