Clean up account dashboard owner:"Full Name" link
The code to format an operator like owner:$NAME already mostly exists
to support other types of queries, like projects. Reuse that code in
PageLinks rather than building it from scratch again.
Update the rules in PageLinks about what strings must be quoted to be
the exact character class used by Query.g to parse the string. A bare
operator can be any sequence of characters not in the NON_WORD class.
Delete some now unused code related to the old AccountDashboard link.
Default the owner link to status:open. This is faster for servers to
answer, as the set of open changes is often much smaller than all
changes owned by a user. Its also indexed through byOwnerOpen(). Users
that want to see the closed, merged or abandoned changes by the owner
should update the query string to specify what they want to view.
Change-Id: I697cac913e264ade70b314e37317b76e26283b02
5 files changed