Vaughn Iverson

Results 412 comments of Vaughn Iverson

Sortable is pretty neat. file-collections on the client are just Minimongo collections like any other Mongo collection, so code that works for a vanilla Meteor/Mongo collection _should_ also work for...

Hi, I've taken a look at this and have figured out why it's failing... The bottom line is that packages that monkey-patch and shadow the Meteor provided global `Mongo.Collection` are...

Yes, you can use a traditional file upload button instead of drag-and-drop. You can do so either using resumable.js or an old fashioned form-based mime/multipart POST upload. If you search...

A bit more poking around lead me to discover that Sortable _does_ use a custom method call to update the collection server-side (because Meteor restricts client update selectors to a...

I think a lot of this is growing pains for Meteor. There is a lot of work being done right now to hack preexisting solutions (like Sortable) into Meteor. This...

I have an idea that may make this possible... Rereading this issue: https://github.com/meteor/meteor/issues/3271 I think it may be possible / desirable to enable a "local-only update" on the client for...

@Digital-Thor FYI, I just implemented the above idea of `fc.localUpdate()` on this file-collection branch: https://github.com/vsivsi/meteor-file-collection/tree/local_update I'm testing now to see if I can use that to make Sortable work.

Okay, so I've gotten really close with this. I can now rearrange the file list, and both client and server-side methods are being called with no update errors. The final...

I've forked your repo and added my changes: https://github.com/vsivsi/Adding-Sortable-to-Meteor-File-Collection To make this work, you need to use the `local_update` branch of file-collection, which you probably don't know how to do:...

If you do the above, don't be alarmed when you see this: ``` ############################################################### ## WARNING from vsivsi:defender package: ## Meteor function: Meteor.Collection has been modified! ############################################################### ``` This whole...