SachaG
2a60fc729f
Simplify framework-demo code; add default value for withList’s queryName; export individual graphql-related methods; remove events package’s dependency on posts; add Utils.performCheck; move contents of search package to posts; add getViewableFields collection helper and use it in getParameters
2017-03-18 15:59:31 +09:00
xavcz
e07c844710
provide better error messages for Embedly & Mailchimp
2017-02-11 12:27:32 +01:00
xavcz
bf51a05d65
allow form.hidden to be a boolean or a function (which should return a boolean)
2017-02-08 10:48:17 +01:00
xavcz
eb2644ad8a
Form: display nicer, multiple & internationalizable (encode -> decode) errors, ensure that state updates are queued; in general prefer Error to Meteor.Error, clean some dead code
2017-02-02 15:15:51 +01:00
xavcz
1e2d43662d
form api, embedly url, fix posts autovalues
...
- Form API: updateCurrentValue(fieldName, fieldValue) => updateCurrentValues(newValues: {[fieldName]: fieldValue}) to update one or more fields at once;
- changes on EmbedlyURL: use of currentValues instead of autofilledValues, fix the use of 'media' field on new & edit (assigned server-side in async callback)
- fix Posts schema's autoValue logic: moved to callbacks (it worked on new docs but not triggered on edits)
2017-01-23 15:50:55 +01:00
xavcz
99548ca918
fix list filtering: de-couple pagination terms & props terms in withList; re-enable form cleaning: performed only if the form has not been unmounted; remove annoying eslint warnings
2017-01-13 18:17:08 +01:00
xavcz
5303b4f4df
SmartForm: if 'field.value' is an array of (non-objects / object with no _id key), fallback to item itself; XxxForms: 'mutationFragment' prop where needed, remove deprecated 'queryToUpdate' prop
2017-01-13 09:21:07 +01:00
xavcz
ad007ac003
disable for now: manual reset/clear of the form (it's done by unmounting/mounting again without us controlling it)
2017-01-11 13:49:25 +01:00
Sacha Greif
f810c7166b
Wrap PostsList with withCurrentUser instead of wrapping PostsItem (move it one level up); get rid of ContextPasser and pass closeModal as props instead of context;
2017-01-10 17:49:03 +09:00
xavcz
0d2ab862c8
SmartForm's prefilledProps
effective on initialization of the form (autofilled values) and not on submit
2017-01-04 09:36:56 +01:00
Sacha Greif
62368a0d48
NovaForm -> SmartForm
2016-12-20 09:27:16 +09:00
Sacha Greif
dd0df7dfc5
Telescope.utils -> Utils
2016-12-12 11:34:28 +09:00
Sacha Greif
292a5e5566
various fixes: upgrade react-apollo; handle array fields in forms; fix "daily" view
2016-12-12 09:55:24 +09:00
xavcz
2638023f4e
harmonize apollo branch to be on v0.27.5
2016-12-08 23:48:16 +01:00
xavcz
37f4bdaf91
Telescope.components.Foo -> Components.Foo, same for related components utils like registerComponent, getRawComponent & replaceComponent
2016-12-06 18:06:29 +01:00
Sacha Greif
868194de59
id -> documentId in single document resolver; various fixes
2016-11-30 16:54:58 +09:00
xavcz
ddd71eebd1
withCurrentUser belongs to nova:users
2016-11-29 14:08:24 +01:00
Sacha Greif
384cc3ccc2
small fixes
2016-11-27 08:39:25 +09:00
Sacha Greif
fc8837ff51
more cleaning up and reorganizing packages
2016-11-26 11:33:27 +09:00
Sacha Greif
6fbfe4399b
simplify structure of mutation HoCs, improve form component names
2016-11-26 11:17:43 +09:00