Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 10 18:27
  • Sep 06 16:52

    chasenlehara on gh-pages

    Updating the site Updating the site Updating the site and 3 more (compare)

  • Sep 06 16:45

    chasenlehara on master

    Update for the September 2019 s… (compare)

  • Sep 04 17:10
    matthewp edited #1198
  • Sep 04 17:04
    matthewp labeled #1198
  • Sep 04 17:04
    matthewp labeled #1198
  • Sep 04 17:01
    matthewp opened #1198
  • Sep 03 12:24
    coveralls commented #1197
  • Sep 03 12:24
    coveralls commented #1197
  • Sep 03 12:04
    greenkeeper[bot] labeled #1197
  • Sep 03 12:04
    greenkeeper[bot] opened #1197
  • Sep 03 12:04

    greenkeeper[bot] on cross-spawn-7.0.0

    fix(package): update cross-spaw… (compare)

  • Aug 30 09:02
    greenkeeper[bot] commented #1191
  • Aug 30 09:02

    greenkeeper[bot] on commander-3.0.1

    fix(package): update commander … (compare)

  • Aug 27 21:35
    chasenlehara labeled #1196
  • Aug 27 21:35
    chasenlehara assigned #1196
  • Aug 27 21:35
    chasenlehara opened #1196
  • Aug 27 14:52
    matthewp labeled #1195
  • Aug 27 14:52
    matthewp labeled #1195
  • Aug 27 14:52
    matthewp labeled #1195
Chasen Le Hara
@chasenlehara
Our community survey goes out today! We’re going to talk about it LIVE in just a few minutes: https://www.youtube.com/watch?v=UxBJtHm4Km0
Chasen Le Hara
@chasenlehara
Hey everyone, we’re hosting our first online meetup on February 14th at 9 am Pacific Time! We’ll have a handful of short talks on a variety of interesting topics, plus time afterwards to chat and put the meet in meetup.
Also, we’re now on Slack too! I posted about it on our forums: https://forums.donejs.com/t/you-re-invited-to-bitovi-s-community-slack/1018
You can join the Slack here: https://tinyurl.com/BitoviCommunitySlack
Sam
@CrusaderJellyfish
Does anyone know if there is an example anywhere of integrating a donejs application with firebase authentication?
Chasen Le Hara
@chasenlehara
@CrusaderJellyfish I don’t think I’ve seen anything with Firebase auth, just the CDN https://donejs.com/Guide.html#set-up-firebase
Chasen Le Hara
@chasenlehara
Today’s the last day to vote in our latest community survey! 🗳 https://www.surveymonkey.com/r/bitovi-feb-2019
Chasen Le Hara
@chasenlehara

Join our first online meetup now! 🎉 We have a great lineup of speakers on topics including Chrome extensions, Velocirender, DevOps, and recursive React components.

Register here: https://zoom.us/meeting/register/0f9a68cba6f5846e66858a512be5123a

Join here: https://zoom.us/j/351415253

Sam
@CrusaderJellyfish
How should one handle a clicking OFF an element
like closing a dropdown menu when someone clicks off of it?
Kevin Phillips
@phillipskevin
@CrusaderJellyfish normally I would handle this by setting up a click handler on the window
that would close the dropdown
Sam
@CrusaderJellyfish
Yeah, I would too. Is that really the component driven can way?
Kevin Phillips
@phillipskevin
yeah, I think so
just do it in the connectedCallback of the component
Sam
@CrusaderJellyfish
Ah perfect example. Thank you.
Kevin Phillips
@phillipskevin
there's actually a better example here: https://canjs.com/doc/guides/testing.html#DOMEvents
you can put the window listener in the property itself
that's the way to go @CrusaderJellyfish
Sam
@CrusaderJellyfish
Excellent. I will definitely give this a try. Thanks for the prompt response. :-D
Kevin Phillips
@phillipskevin
:thumbsup: hope it works out
Chasen Le Hara
@chasenlehara
Our next online meetup is going to be on Thursday, March 21st! Register here and check out the videos from our last meetup: https://www.bitovi.com/blog/save-the-date-march-21st-for-our-next-online-meetup-and-videos-from-februarys-meetup
Sam
@CrusaderJellyfish
I'm having a problem with DoneJS aggressively caching everything ... including the resolved state of application initialization promises ...
is there a way to turn off caching?
even if its just at the level of specific attributes?
Chasen Le Hara
@chasenlehara
Is the problematic caching in SSR or on the client side?
What’s an example of the app init promises… fetching configuration or something like that?
BTW almost everyone’s moved to our Slack: https://www.bitovi.com/community/slack
You’ll get a response from more people there :D
Sam
@CrusaderJellyfish
I think its on the client side, but I'm not certain. I'm running JavaScript/Client Side authentication with using the Google Firebase Auth
I wrap a promise around the call that checks if the session is still active
and without fail, the promise, initially loads as resolved so matter what I try, since that was its last state before reload, and when it kicks off again, it triggers the update
Chasen Le Hara
@chasenlehara
since that was its last state before reload, and when it kicks off again, it triggers the update
Sam
@CrusaderJellyfish
I'll have to look into slack then :-D
Chasen Le Hara
@chasenlehara
Would you mind explaining “when it kicks off again, it triggers the update” more?
Sam
@CrusaderJellyfish
It takes Firebase a number of seconds to respond
So, {{ fb_promise.isResolved }} is always true no matter what I do unless I add it as a new attribute (or change its name), and then the very first time it loads, it 'isPending' once. When the promise resolves each subsequent time again (the .then is triggered), it hits the code as it should.
Since I can toggle the name of the attribute and it isn't hitting the problem, I'm leaning towards it being a caching issue
I found an example in the recipes of using Google Youtube auth a similar way. I'll have to compare how I'm doing it with Firebase with how its written for that, but in the mean time ... is there no way to turn off client side caching?
Chasen Le Hara
@chasenlehara
There’s not a switch for caching like that. If the request was being made with something like can-connect’s super-map, I’d say to switch to base-map, but it doesn’t sound like the request is through can-connect (is it?)
Sam
@CrusaderJellyfish
Nope
its just a wrapper around Firebase's API code itself
Chasen Le Hara
@chasenlehara
I have to drop offline for a bit, but I’ll be back later. Someone would probably respond more quickly in Slack.
Sam
@CrusaderJellyfish
I'll poke around a bit more. I must be missing something basic
Thanks!
Chasen Le Hara
@chasenlehara
The next thing I’d want to see is some of the promise code… I don’t think I fully understand how the promise starts off as resolved.
…and yup, happy to help!