Page-level queries/javascript no longer there

  • Goal: Trying to run page-level queries and javascript that existed a few days ago and when the app was built out.

  • Steps: Open app -> select the page that has the queries on the pages tab -> open code section -> page-level queries/javascript section is not there

  • Details: When we set up the app, we had page-level queries and javascript setup and running fine (last tested end of last week) and at some point this week the page-level section just disappeared and none of the pieces that trigger it work anymore. I've checked the change history and the only thing that has changed is the automated migrations retool runs.

  • Screenshots:
    Screenshot 2024-10-18 at 11.05.57 AM

  • App json export: (too large to paste and forum wont let me upload json)

1 Like

Hey @Jaden_Giordano ! We made an update to the UI this week to introduce resizable windows, and sometimes the default window size is really small for page tree. Are you by chance seeing it at the bottom, like this? If so, you can drag it up to see the content of pages tree again, and the height of the container should persist going forward.

At the bottom of this screenshot, you can see a page2 clicker, you can drag that container up.

2 Likes

@Darya_Verzhbinsky Thanks for the quick response! Ah I see now, yea looks like the reason it broke was because some auto migration stuff from another user maybe having the tab open from an old state.

On a note of a feature request then, it would be nice if they auto opened when you are on a page.

Thanks again for the help, everything is resolved now at least!

1 Like

I have a kinda similar issue (or at least related) - i can not see the queries of my global section anymore. I have to manually search for them and this is the case for all the pages.

Also, on one perticular page, I have queries of the page sections that simply won't show up (this page was creating by importing a module)

The new queries I create I can see, but all the old ones I can't. But I still can access them when searched manually.

@Darya_Verzhbinsky similar issue here. I have used import app as a page and none of the code from the imported app is visible in the code panel. Resizing panels does not solve the issue.

Hey @Jc1 and @Mariusz_Kolaszewski! Just wanted to check in and see if the issues you've shared here have persisted and still need to be addressed.

Hi @Darren yes they have and I am still trying to sort this out with the help from @Jennifer_Zhang.

1 Like

Hello @Darren Indeed, the problem is persisting. I still can't see my page queries for the module that I imported as a page.

@Jc1 I don't think you should be able to import a module as a page. :thinking: