aboutsummaryrefslogtreecommitdiffstats
path: root/notes
diff options
context:
space:
mode:
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.
+