Add row detail functionality (issue #173)#176
Conversation
is quite a hack.. need to understand where to put the code added to socrata-fields.js
Zoom to filtered data
66 add field desc to table
pure copy and paste job, refactoring should come later
timwis#150 add zoom functionality to datetime
timwis#151 show % of filter in balloon of bar chart
timwis#151 fix bug I introduced when working on this feature
Bring vizwit/marks:master into marks:dev
156 load gist to editor
|
@marks this looks great. The only suggestion I have is perhaps If you haven't used underscore templates before, it's pretty easy: just ex: var RowDetailsTemplate = require('../templates/row-details.html')
var templateMarkup = RowDetailsTemplate({foo: 'bar', baz: 'quz'})
$('#row-details').html(templateMarkup)And the template can render variables or even execute JS logic (example). Seems like a good fit for the |
|
Definitely-- will do. Thanks! Mark Silverberg
|
|
@timwis as always, good suggestion to keep the code clean. I made the change and think this is ready to be merged. Agree? |
Addresses issue #173
@timwis - reverted commit that brought in lots of other crud. If you look at
Files Changedit should show the net changes