transitland / feed-registry

a directory of public-transit operators and their authoriative data feeds; a view into the Transitland v1 Datastore API
https://transit.land/feed-registry/
MIT License
19 stars 1 forks source link

when editing an existing feed, only include attributes that have been changed in the changeset JSON payload #358

Closed drewda closed 8 years ago

drewda commented 8 years ago

When users edit an existing feed, the changeset that is created includes all attributes. This makes it somewhat hard for @stevevance and others to review edits in the Dispatcher interface--it's not easily apparent which attributes are actually being changed from their prior values.

Within the Dispatcher interface, @irees implemented an approach that only included "dirty" (changed) attributes when Ember Data creates changeset JSON payloads. @meghanhade when you and Ian both have time, let's figure out how to use the same pattern in Feed Registry "add a feed."