Page MenuHomePhabricator

Define in a single place the pseudoname of unnamed queries
Open, LowPublic

Event Timeline

Framawiki triaged this task as Low priority.
Vvjjkkii renamed this task from Define in a single place the pseudoname of unnamed queries to a6aaaaaaaa.Jul 1 2018, 1:04 AM
Vvjjkkii raised the priority of this task from Low to High.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from a6aaaaaaaa to Define in a single place the pseudoname of unnamed queries.Jul 2 2018, 9:35 AM
CommunityTechBot lowered the priority of this task from High to Low.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.

It's worth mentioning that at least one component of this issue is the fact that all whitespace query names are allowed, which is actually what causes the blank entries to show up in the recent queries view. This should probably be disallowed and also migrated to use a default query name. (Or implement a default query name on the web UI side.)

The more immediate problem than the repetition - as reported in both current duplicates - is that if you add a title and then either blank it or replace it with whitespace, it doesn't go back to "Click to add title..." on the query's page (example) and "Untitled query #54382" at /query/runs/all and the user's list of queries, it's blank on all three, and it's unclickable on the latter two.

Example blanked query; it'll remain at the top of the Draft Queries section of /Cryptic (which unfortunately starts many pages down) for the forseeable future.

Generated html on the /runs/all page is <td><a href="/query/93577"> </a></td> (with the number of spaces varying), and on user pages,

<li class="query-item">
    <a class="query-title" href="/query/93577"> </a>
    <small>21 seconds ago</small>
</li>