Comments (2)
Thanks for detailed reply @antonymilne , I agree with all you said.
It would be useful for our user research if you could explain a bit more how you might imagine this working, e.g. would you like the file to be persisted somewhere or just update things on screen in an ephemeral way?
Well, to take my use case as an example, what I wanted to build is a interface where users could upload an Excel file with known schema (i.e. column names) and it would draw a dashboard based on that. Each user upload their own version of such file in their session, and it's not shared with other users' sessions.
from vizro.
Hello @yury-fedotov, thanks very much for raising this issue - as you say, it's been asked before (actually also in #281) and I've added it to our tracker which now shows that at least 3 independent people have requested this functionality so hopefully we can bump its priority up.
Definitely I think it's a reasonable ask and it could expand usage of vizro, and I'm keen to add it as a feature. One reason it hasn't been added already, other than lots of things on the backlog with competing priorities, is that it's not quite as simple as it might sound. As alluded to in my response on #281, Dash somewhat muddies the water here because it supports at least two different ways to upload a file, and then what's also not clear on the Vizro side is what to do with the file once it has been uploaded.
It would be useful for our user research if you could explain a bit more how you might imagine this working, e.g. would you like the file to be persisted somewhere or just update things on screen in an ephemeral way? Would the uploaded file have an affect on other user's sessions or not? (As a general rule, putting something together that works for a toy project locally is much easier than coming up with a robust solution here. So if you're the only user of the dashboard and you don't care about security it's much easier to solve this upload problem. But on vizro we need to design everything robustly to work statelessly and securely so that we can scale to production with many untrusted concurrent users easily, which does make it harder to implement functionality.)
And what makes it even more complex is that Vizro solution should have a YAML API to define that widget in addition to the Python workflow.
This bit is actually not so hard since it's basically done for us by the magic of pydantic! Once we have a vizro model worked out, so long as it has field types that easily convert to JSON, this basically comes for free 🙁
from vizro.
Related Issues (20)
- CSS of AG Grid `floatingFilter` option buggy HOT 1
- AgGrid doesn't work with `persistence` props HOT 2
- Add a tabbed navigation to move between `vizro-core` and `vizro-ai` docs HOT 1
- Can I add an icon to a button HOT 2
- Check all links in docs and make them more accessible HOT 15
- Enabling in-depth user interaction through input widgets HOT 7
- typo in explore-components/#22-add-further-components HOT 1
- False negative on hatch run test inside container environment HOT 3
- Custom AG Grid function overwrites pandas.DataFrame provided as input with an empty pandas.DataFrame HOT 2
- __call__ function within models/_components/graphy.py passing parent function kwargs unintentionally HOT 11
- Minor typo in "Explore Vizro" tutorial HOT 1
- Contribution guidelines link leads to `404` HOT 1
- Relationship analysis chart in demo has no flexibility in Y axis HOT 10
- Multiple Series Line Chart Updates HOT 2
- New features available for dcc.Loading HOT 1
- trendline options None not works. HOT 5
- Does Vizro AI support Azure Open AI gpt-4-32k? HOT 2
- Change the Number of Components from Parameters HOT 1
- Issue with dark/light mode and the graphics in mobile version HOT 1
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 vizro.