googlearchive / firebase-util

An experimental toolset for Firebase
http://firebase.github.io/firebase-util
MIT License
276 stars 67 forks source link

Update to SDK 3.0 #96

Open ayoseturru opened 8 years ago

ayoseturru commented 8 years ago

Firebase Util Scroll doesn't work with Firebase SDK 3.0.

Could you update the code?

Thanks in advice

katowulf commented 8 years ago

Unlikely to be done in the next month or two. Sorry.

lmadeira commented 8 years ago

Do you known if there is any other alternative to infinite scroll for Firebase? My upgrade plan is stuck with this firebase-util lib.

katowulf commented 8 years ago

An alternative would be to create an array, query Firebase, push items into it, and when you get a request to load the next set, create a new query and push more items. Otherwise, you'll need to wait until Scroll is updated or submit a PR.

jdgarciatorrejon commented 8 years ago

This would be nice. Currently there are no alternative to this simply great tool.

gartorware commented 8 years ago

+1 I have started trying to make this compatible with 3.0 in a fork, but code is really hard, a very well done job!

thiagoantunes commented 8 years ago

+1

gartorware commented 8 years ago

Ok, i got a working version on my fork https://github.com/GartorwareCorp/firebase-util . It still needs more functional testing but so far is looking good. Just clone and do:

and then use files inside dist folder.

I have updated Readme.md with code changes needed as well.

I'm still working updating tests (default gulp task is not working because of this). I will do more when I have more free time. Since I haven't worked with this test framework before I'm still wondering how to do the setup and teardown stuff to accomplish the new firebase initialization required :P

Please remember that this is a very alpha lol.

Regards.

thiagoantunes commented 8 years ago

[redacted]

katowulf commented 8 years ago

@thiagoantunes please file your own issue rather than replying to a tangentially related discussion. The best place to discuss bugs with the fork would be on the fork itself. Make sure you have actually included the Firebase cdn in your project.

thiagoantunes commented 8 years ago

Ok,

sorry.

brdonath commented 8 years ago

Waiting for this awesome tool to upgrade my firebase code. :)

625alex commented 8 years ago

Pretty please!

harellevy commented 8 years ago

+1

JijeshP commented 8 years ago

+1

maxinminax commented 8 years ago

+1

Nightbr commented 8 years ago

@gartorware Awesome work man! Can you make a PR? Thanks in advance!

gartorware commented 8 years ago

Sorry but I can't. I started to port tests as well but it took longer than I think at first because I think mockfirebase needs to be ported too. I started to do it but then I got involved in another project on my work so I have no enough time to do it. Without tests we don't know if the library is doing its job rightly (there are ~170 test failing, most of them because setup references are undefined :confounded: )

willycamargo commented 8 years ago

@gartorware I really liked your work! Thanks a lot! I'll try work on these tests and review the code (if needed)

gabriel-anglada commented 8 years ago

+1

txipi commented 8 years ago

+1

haydermabood commented 8 years ago

+1

md-rashid commented 8 years ago

any updates on this yet ?

Nightbr commented 8 years ago

We are waiting for mockfirebase support the new SDK: https://github.com/katowulf/mockfirebase/issues/109#issuecomment-241211131

MathieuDuboy commented 8 years ago

Still no way to use Scroll with firebase SDK 3 ?

sivaramsi commented 7 years ago

Becoz of this I couldn't update to SDK 3

di3goleite commented 7 years ago

+1

nurfgun commented 7 years ago

+1

hongsheng-razoo commented 7 years ago

+1

florianbepunkt commented 7 years ago

+1

katowulf commented 7 years ago

Check out this fiddle for an example of doing joins with the new SDK.

SamarRizvi commented 7 years ago

Any update @katowulf so that Scroll can work.

ekaram commented 7 years ago

i used this to replace my firebase.util.Scroll: https://gist.github.com/ekaram/f016d43346fed01765eaa0c2d9c7fe7d

may not be most efficient, but it works

gigocabrera commented 7 years ago

+1

AdrienDC commented 7 years ago

+1

LetsDoIt- commented 7 years ago

+1

blairjo commented 7 years ago

Hi,

Are there any plans to upgrade this package to support the latest firebase versions? It's been a year now since the firebase 3 release... The utils package is incredibly useful, specifically (for me) the normalized collections, but if there are no plans to continue it then it would be good to know so we can make other plans.

Thanks.

d1b1 commented 7 years ago

+1

sunylyons commented 7 years ago

@ekaram the link you posted as your workaround is dead, would you mind sharing your solution?

@katowulf any update on scroll for fb3, is that happening you think? thx

quarantaquatro commented 6 years ago

+1

is this area dead? Since +6 month no update or what I am missing here?

625alex commented 6 years ago

+1