Custom app title persists on tab/window when navigating to another app

  • Goal: Display a custom application title in the browser's tab, depending on which record the user is currently looking at

  • Steps:

  1. Create an application with a query
  2. Set the custom title for that application by binding it to a value in the query's result
  3. Add a button in that application that navigates to a second app (it might need to have the custom title feature disabled, I haven't tested this)
  4. View the custom title app and navigate to the second app by clicking the button
  5. Observe the custom title persists in the second app, rather than display the second app's name in the tab title

Hello @kevinsplx!

Sorry you are having this issue, I have a couple ideas on how we might be able to remedy this.

Could you share screen shots on how you have "Enable custom title" set up in the first and second app? Or a gif of the set up and the tab name not changing?

My first guess would be to use a separate variable and have the custom title be assigned to that variable. Potentially making a distinction between having a differently named variable in each app to avoid confusion.

As setting it to a more dynamic value in a query result might require you to re-run the query or not have a value if the query does not run when expected.

Or even hard coding the values if there are only a few options. But if you need to be dynamic then we just need to make sure the value given to "Enable custom title" is updating properly.

I just did some testing and I was able to get the tab name to change from a hard coded variable to the current users name.

CleanShot 2024-10-04 at 17.26.48

Let me know if you are able to replicate the behavior as shown in the gif above :crossed_fingers:

The other though I had would be to use Multipage apps! They are a recent release and have pages that users can navigate between, you can read more about them on our docs here if needed.