materialsproject/pymatgen-db — pull request #4 by migueldiascosta (2014-04-07 09:14:54+00:00)
Title: Properties field in the webui

Selecting properties to show could be made more user friendly if a list of possible properties is shown. One way of doing this is using jQuery's AutoComplete, which is already being imported.

Here, I used a hard coded list for the available properties. Since mongodb is schemaless, having a full list here would require querying the database. I suppose the most efficient way to do this would be to update a "schema" collection with any new properties each time a document is inserted (?).

Cheers,
Miguel