{"push_id":1290104445,"size":3,"distinct_size":1,"ref":"refs/heads/mcaskill-merge-widget-data","head":"15fa2567119edb3e066285bd14e82786a1912ffe","before":"341925b765b72cedccfe77a03634f55b3a114f4a","commits":[{"sha":"a7dddb4d8e6c7de1a58fb13feaa4ce10f49b5653","author":{"name":"Joel Alphonso","email":"7b2e9f54cdff413fcde01f330af6896c3cd7e6cd@joeldesign.ca"},"message":"fix dual_select concat grunt task","distinct":false,"url":"https://api.github.com/repos/locomotivemtl/charcoal-admin/commits/a7dddb4d8e6c7de1a58fb13feaa4ce10f49b5653"},{"sha":"6ed76a7b3511976111ac8f478c564fbd2b4062de","author":{"name":"Chauncey McAskill","email":"750115fa8cf5ee9d42cef8d7d7399f2d4eb00ff8@gmail.com"},"message":"Fixed AbstractSelectableInput::isChoiceSelected()\n\nThe ‘value’ should be used to check if the choie is selected.","distinct":false,"url":"https://api.github.com/repos/locomotivemtl/charcoal-admin/commits/6ed76a7b3511976111ac8f478c564fbd2b4062de"},{"sha":"15fa2567119edb3e066285bd14e82786a1912ffe","author":{"name":"Chauncey McAskill","email":"77309b88f5f71f72523fa8fb51014167cdec7d17@locomotive.ca"},"message":"[ci skip] Added extra-data merging from request or model\n\nBefore, merging of data from the HTTP request or the object model was done without possibility to ignore. This commit proposes new methods for configuring how and from where a widget’s data comes from. The TableWidget and ObjectFormWidget have been updated to take advantage of these configurable/optional extra data sources.\n\nBasic customization of additional data sources:\n```\n{\n  \"type\": \"charcoal/admin/widget/table\",\n  \"collection_ident\": \"qux\",\n  \"obj_type\": “charcoal/cms/section\",\n  \"data_sources\": [ \"request\", \"object\" ]\n}\n```\n\nWhere `request` and `object` are valid sources (defined in `AdminWidget::acceptedDataSources()` which are invoked as `dataFrom<Source>()` on the widgets, if present.\n\nA “merge strategy” can be defined by passing the data sources as an associative array of callables.\n\n```\n\"data_sources\": { \"request\": \"myCustomDataSource\", \"object\": \"array_merge_recursive\" }\n```\n\nWhere `myCustomDataSource` and `array_merge_recursive` are functions used to merge data. The `myCustomDataSource`, in the context of `TableWidget` and `ObjectFormWidget`, is a method you'd define on your `Section` model.","distinct":true,"url":"https://api.github.com/repos/locomotivemtl/charcoal-admin/commits/15fa2567119edb3e066285bd14e82786a1912ffe"}]}
{"actor":{"display_login":"mcaskill"}}