Medi: more detailed specs on medieval map
Spent a couple of hours sketching how to implement the search-and-report capabilities they want, rather than the graphic characteristics of the map itself.
Each record includes:
- id : key, likely also used to link to image data
- location : may end up being more than one field
- isArtArch, isEvent, isGeog, isHistory, isPeople : booleans
- title : open textfield
- topic(s) : not sure what this means, is it a list or open text
- details : open text area, may end up being more than one field
Text Query
- simple : texfield to query title, category and details fields
- advanced : controls for each significant field
- two report types
- to map (cause certain cities to become ofInterest)
- to table (location, title, category, truncated details, full details, maybe see in map)
Map of Europe
- Location hotspots have three possible states:
- default
- ofInterest (result of text query returning report to map)
- selected (user has clicked on it)
- on click
- return previous selected location to default or ofInterest status
- make this the selected location on map
- update report box with titles for selected location by category
Report Box
- Name of selected Location
- N (5) major categories
- art and archictecture
- event
- geography
- history
- people
- Each category accommodates sublist of titles of articles
- which belong to hilited location on map
- appropriate boolean's value is true
?Ability to limit which categories appear in report box
E.g. If user is doing text query for ArtArch, and then clicks on ofInterest location X on map:
- should the report box show the other categories for records which have titles in those categories?
Could which categories to show in report be some kind of config?
- on the report box or on the map
- settable from the text query
There are a couple of use-cases:
1) user clicks on location on map - it gets hilited and a "results" box lists the topic titles for records in the db associated with that city, and those topics are sorted into one of five major categories (art, history, geography, events, people). The user clicks on a topic title in the results box and the full details of that record are displayed somehow.
2) user does a simple text query and certain fields in each record in the db are searched. Results are displayed as a table (not sure how much of each record is displayed in table), possibly with each location found displyed as "ofInterest" in the map. Each record may have a button that hilites that record's location on the map as "selected".