Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use query from another page #1523

Open
2 tasks done
oliviertassinari opened this issue Jan 6, 2023 · 4 comments
Open
2 tasks done

Use query from another page #1523

oliviertassinari opened this issue Jan 6, 2023 · 4 comments
Labels
feature: Queries Making new API requests new feature New feature or request

Comments

@oliviertassinari
Copy link
Member

oliviertassinari commented Jan 6, 2023

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Summary 馃挕

I would like to be able to use queries from one screen on another one.

Examples 馃寛

In https://master--toolpad.mui.com/deploy/cl6rqzry10009arlv9sto6qja/pages, we aim to get all the tables to 0 rows. Rows are GitHub issues or GitHub PRs. There are quite a few pages to open as a 1-tier support agent, it's cumbersome. It would be great if we could create an "overview" that tells you, as an agent, where to focus your attention on.

Motivation 馃敠

No response

@oliviertassinari oliviertassinari added new feature New feature or request status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jan 6, 2023
@oliviertassinari oliviertassinari changed the title Be able to use queries outside of the pages Use queries from another page Jan 6, 2023
@oliviertassinari oliviertassinari changed the title Use queries from another page Use query from another page Jan 6, 2023
@oliviertassinari oliviertassinari added waiting for 馃憤 Waiting for upvotes and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jan 6, 2023
@Janpot
Copy link
Member

Janpot commented Jan 6, 2023

Alternatively, what you may want is to have a single page and a tab component to create your different views?
You want to share things across pages, but maybe there shouldn't be different pages to begin with?

@oliviertassinari
Copy link
Member Author

@Janpot I think that tabs could be another solution, yes. As long as these tabs can have their own URLs.

@prakhargupta1
Copy link
Member

prakhargupta1 commented Mar 13, 2023

It is solved for the pro-code queries as all functions of queries.ts are now available across all pages, server-side.
But this issue is still relevant for client-based queries.

@prakhargupta1 prakhargupta1 added this to the pro-code beta milestone Mar 13, 2023
@oliviertassinari
Copy link
Member Author

@prakhargupta1 True, I suspect that we can easily solve this with the pro-code integration now. Once we have client-based queries, we could import from a shared file.

@prakhargupta1 prakhargupta1 removed the waiting for 馃憤 Waiting for upvotes label Apr 28, 2023
@prakhargupta1 prakhargupta1 removed this from the stable-v1 milestone Jun 19, 2023
@prakhargupta1 prakhargupta1 added the feature: Queries Making new API requests label Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: Queries Making new API requests new feature New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

3 participants