Page MenuHomePhabricator

Query title is not shown on page load
Open, Needs TriagePublic

Description

T225883 added support for displaying query titles in the query service, but the title is not shown on page load. That could be opening a link from another person or any situation where a tab reloads (e.g. manual reload, after a browser restart, after suspending and unsuspending a tab, after closing and reopening a tab).

To reproduce:

Open this example query
Expected result: The query title is shown on the page and in the page title.
Actual result: The query title is not shown in either place.

Run the query
Expected result: The title is shown in both places.
Actual result: The title is shown in both places, as expected.

Refresh the page
Expected result: The query title is still shown in both places.
Actual result: The query title is no longer shown in either place.