aboutsummaryrefslogtreecommitdiffstats
path: root/notes
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-04-13 11:13:39 +0100
committerEdmund von der Burg <evdb@mysociety.org>2011-04-13 11:13:39 +0100
commit90c05378d5b870b94865189f7b72583ac5022c94 (patch)
tree98a2ef22f0420759bc8c58f67d732fa21a15bc14 /notes
parent23c8cc3c0f7f728e069429dfb3db7eaddd0bcc62 (diff)
Moved some of the location smarts from '/report/new' to '/around'
Diffstat (limited to 'notes')
-rw-r--r--notes/location_related_flow.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/notes/location_related_flow.txt b/notes/location_related_flow.txt
new file mode 100644
index 000000000..5af3c88f0
--- /dev/null
+++ b/notes/location_related_flow.txt
@@ -0,0 +1,23 @@
+--- '/' ---
+
+ Homepage has a search form that submits to /around. There is no location
+ processing done on the home page. Any queries sent to the homepage are
+ redirected to /around.
+
+--- '/around' ---
+
+ SEARCH: allows user to search for a location using postcode or other text.
+ If nothing matched error shown. If multiple match show alternatives.
+
+ LIST: If a search could be resolved to a lat/lon, or a lot/lon was in query
+ show matches near that location.
+
+ PARTIAL: If there is a partial token show a message when searching. When a
+ match is found redirect to '/report/new' for the partial to be completed.
+
+--- '/report/new' ---
+
+ Requires a lat/lng, or a tile click, or a partial report with a location
+ stored. If no location can be deteremined redirects back to '/around'. All
+ form information is lost but the partial token is preserved.
+