When no locations have been created yet, the locations application shows a fairly unhelpful piece of "No locations found." text at /locations/.
Instead, it would be nice to show a more friendly state for new users, like this one:
https://secure.phabricator.com/maniphest/?nux=1
If you've already created some locations, you can access this UI in these ways:
- Implement T12007 first, then destroy all the locations you created.
- Enable phabricator.developer-mode, then use Use Results → Show New User State in the upper right.
- Hack the code so the Query returns no results.
To improve this UI:
- Implement LocationsLocationSearchEngine->getNewUserBody(). You can follow ManiphestTaskSearchEngine as an example.
- Take a screenshot of the improved NUX and include it in your test plan.