Comments (6)
I understand the use case but I'd like to know what will happen if the user changes the viewport. In this case, you will have a widget showing data that might not match with the features displayed in the map. You could also have some widgets with interactivity set to true but, if you filter using these widgets, the other widgets will remain static. Should we mark/label the not interactive widgets in any way?
I think it is important to have also feedback from Product Design here: @javigil-geo @josegilg
from carto-react.
A property called filtering
/interactivity
just involves the filter that the widget applies, not the viewport filter. Viewport filter will be always applied since there's not an explicit prop for that, but that's what we're talking about.
When filtering
/interactivity
is disabled, the widget won't raised any event when the user clicks in a certain category. I don't think it needs some special kind of mark/label.
from carto-react.
OK, so the widgets are not really static. They are updated if the viewport changes or there are new filters applied to the source, right? If that's the case, I am not sure how it works with the concept of the analysis you are mentioning.
Let's wait to have the feedback from Product Design to see what they propose.
from carto-react.
They are static as far as you cannot interact with the widget. I know that static can have many meanings. Static widgets can be filtered by viewport filters and source filters, the only difference is that static widget cannot apply filters.
Okey, I'll wait.
from carto-react.
I think this makes a lot of sense. To be honest I think that we already had this feature on (I think we had it in the past). It's probably also quite easy to integrate
from carto-react.
I've already talked with @josegilg and we just need to make some minor changes to the widgets design, so the RFC is approved for implementation.
from carto-react.
Related Issues (20)
- FormulaWidget issue with mode global disabled HOT 14
- [RFC] Add a territory selector widget HOT 3
- [RFC] Save custom geometries created with the SpatialFilter HOT 2
- [RFC] Support for Drop a Pin HOT 3
- [RFC] Support for multi-language HOT 3
- [RFC] Comparative Widgets HOT 5
- [RFC] Save the state of the filters HOT 3
- [RFC] Spatial Filter HOT 11
- GeoJSON support in useCartoLayerProps HOT 1
- queryParameters HOT 7
- Remote executeModel doesn't work for POST requests HOT 4
- quadbinZoom error HOT 2
- Hygen is not working HOT 3
- [RFC] Widget size control HOT 1
- [RFC] Export AnimatedNumber component HOT 1
- [Bug] BarWidgetUI
- [RFC] Site Selection - Information element for widgets
- executeSQL function doesn't return the status error
- Allow passing decimal precision as a prop for CategoryWidgetUI HOT 4
- [Bug] ComparativeCategoryWidgetUI progress bar missing background color
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from carto-react.