iLanguage/iField — pull request #230 by mecathcart (2012-06-27 19:10:10+00:00)
Title: Corpus Refactor

A few comments-- so we had 4 corpus views and they had different stuff in them, but if I understood correctly, we really only need 2 views (a read and an edit) and then we have different handlebars to deal with the condensed vs. fullscreen stuff. I kept them seperately for now because the embedded and the fullscreen had such different stuff in it that i was scared to break it if I tried to make the version that would hide/show the different handlebars. However, I did add another handlebars for corpus edit fullscreen.

I think that the corpus one is hard to tease apart the read vs. edit because the fullscreen view currently has stuff for both viewing and editing, i.e. the list of sessions and datalists is housed there, this is something thats not editable and doens't appear on the corpus edit embedded. However, there are the settings for datum fields and datum states which are editable. My instinct is to seperate these things and stick to a corpus read and a corpus edit, but I think its something that deserves some thought-- as cesine has mentioned in other issues.