question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

https://demo.toolpad.io/ data fetching feels limited

See original GitHub issue

Related to #592

I was hoping I could rebuild most of the mini-apps that I had created on the staging environment https://master--toolpad.mui.com/ in the demo environment: https://demo.toolpad.io/ but it’s not the case. This makes me wonder:

  1. Why not have the default fetch query? Right now, when I click on adding a new query, the select is empty.
Screenshot 2022-10-25 at 23 41 50
  1. Why not have a fetch function? If we are worried about the amplification network power that Toolpad can provide to bad actors, then we could limit the number of fetch calls that can be made inside the function. I think that we would also need to limit the number of queries that can be added to the page, because why close one door (fetch) when the other is open (multi queries)?
Screenshot 2022-10-25 at 23 42 32
  1. Why not have PostgreSQL? If there is a good reason for it, I think that we should allow people to pick it and then explain why it’s not available. Currently, it feels like the feature doesn’t exist.
Screenshot 2022-10-25 at 23 44 52
  1. Why not have Google Sheet? Same to 3.
Screenshot 2022-10-25 at 23 46 16

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:30 (30 by maintainers)

github_iconTop GitHub Comments

2reactions
prakhargupta1commented, Oct 26, 2022

Regarding the UX improvements. I would suggest that we do these changes:

  1. In the connections drop-down, just like we show in staging env, we should show:
  • Function
  • fetch
  • Postgres (disabled)
  • Google Sheets (disabled) For disabled ones we show a message that they are currently available in the self-host version only.
  1. Add query should not be a blank list. Like we show in the staging environment, we should show:
  • default fetch
  • default function
  • Movies API
  • Covid API
  • dog API
  1. Self-host button on top.
  2. When creating the app, show the message that ‘In case you need to revisit the app later please save the app URL’
1reaction
prakhargupta1commented, Dec 1, 2022

Ok. Let’s then add the message in the footer. That should be fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found