SETI / rms-opus

PDS OPUS - Outer Planets Data Search Tool
Apache License 2.0
10 stars 7 forks source link

Dictionary app redesign #188

Open basilleaf opened 8 years ago

basilleaf commented 8 years ago

Originally reported by: lisa ballard (Bitbucket: basilleaf, GitHub: basilleaf)


in each search widget you can click the little 'i' and get the dictionary entry and a 'more info' link, that link is broken..

this is because it links to the dictionary app which seems to be all out of whack on the new production server.. it is an old php app and needs to be replaced.. I think it is already half way there with the dictionary django app.. but maybe in the mean time remove the link to the old broken thing in opus


rfrenchseti commented 6 years ago

Debby is working on this project.

dstopp commented 6 years ago

Notes about new design: Database: 3 sources for data: • PSDD data • JSON file • Entered by hand New dictionary database schema – indexed on term+context • Term • Context • Definition • Expanded definition • Image URL for the expanded definition • More info URL <full definition, url to a picture/pdf> • More info label • Modified flag – set on any human intervention/edit including entries entered by hand New DB – Hierarchy – this DB will keep track of the hierarchical relationship of definition context. Indexed on Parent. • Parent • Child Create a utility to import the PSDD data from https://pds.jpl.nasa.gov/tools/dictionary.shtml into the new dictionary database schema, making sure not to overwrite anything that has been human-modified. Note: PDSParser.py. Create a utility to import the JSON file to populate the specific definitions from the data import. Utilize the fields pi_dict_name, pi_dict_context, description. If a field is missing, null or empty, post a warning message. Update the admin interface to allow editing of the database, including adding new definitions.

Code modifications • All tooltips should hover • Tooltips should show expanded def/full def options • Dictionary defs should show expanded def/full def options • Create url hierarchy: o …/host/dictionary// o …/host/dictionary/search/ o …/host/dictionary/json// Where : full/exp. Default w/out type will give regular definition Search: returns page w/the search results from the string Json: returns just data in usable format for tootips, etc • Fix the current url of dictionary/dictionary • Change the definitions to be in hierarchical form, using Hierarchy db to determine order. Will present data in a tree view; if the parent is null, child is at base level

rfrenchseti commented 6 years ago

Downgrading priority because the dictionary page is basically there and the (i) tooltips are working.

rfrenchseti commented 5 years ago

Raising the priority again so that we can have better help strings in the new UI.

rfrenchseti commented 5 years ago

We could use http://qtip2.com/ as a way to make fancier tooltips.