Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 25 2020 23:58
    zahirbx commented #201
  • Jun 18 2019 15:28
    duhamelstuff commented #200
  • May 14 2019 00:37
    jhoncho commented #201
  • May 11 2019 18:19
    wrannaman opened #203
  • Apr 27 2019 07:40
    ArvindKer commented #201
  • Mar 25 2019 09:45
    TiangeHu2806 commented #202
  • Mar 24 2019 22:30
    bartonhammond commented #202
  • Mar 24 2019 21:19
    TiangeHu2806 opened #202
  • Mar 07 2019 19:03

    bartonhammond on master

    Fix build status (compare)

  • Jan 04 2019 14:19
    ckarmy opened #201
  • Sep 10 2018 10:20
    cafeasia3 edited #200
  • Sep 10 2018 10:14
    cafeasia3 opened #200
  • May 21 2018 14:27
    joshuachinemezu opened #199
  • May 04 2018 18:15
    Metroxe commented #182
  • Feb 21 2018 23:46
    siemiatj commented #198
  • Jan 02 2018 12:20
    vinodkumarkv34 commented #198
  • Nov 14 2017 02:35
    ycpatel813 commented #182
  • Nov 07 2017 15:38
    bartonhammond commented #197
  • Nov 07 2017 06:18
    aditya-vaddi commented #197
  • Oct 09 2017 06:15
    muthumani-prabhu opened #198
timLoewel
@timLoewel
Hello everyone. I am currently trying to figure out, how to use snowflake (Barton: Thank You for all your work!)
And I have one problem: when debugging my tests with npm run test-chrome in chrome there seem to be no source-maps applied? I only see some compiled code that is different from the original source.
Do I have to do anything to activate source maps?
Ioannis Kokkinidis
@SudoPlz
Hey guys, I really want to know what this line does if (!(state instanceof InitialState)) return initialState.mergeDeep(state); I can't for the love of mine figure it out...
found within the reducer
Any ideas?
@bartonhammond any clues?
Barton Hammond
@bartonhammond

This was brought up before in issue bartonhammond/snowflake#130 - I was hoping to get a PR that added the explanation. The main comment is this:

I have tested it and it's there for a reason! It's necessary because of Immutable. When serializing a state, it's saved as a plain object. But when deserializing it, it becomes a Map from Immutable instead of a Record. mergeDeep is there to reconstruct the Record.

Okeke Arthur Ugochukwu
@anextro
Hi guys
anyone here?
Feargal Walsh
@feargswalsh92
@anextro Yup!
Just started using snowflake
Feargal Walsh
@feargswalsh92
@bartonhammond Hi I'm trying to set up a Parse server on Heroku
image.png
When I try run the app to check if I can create a record I get this error
I successfully configured a remote parse dashboard
Barton Hammond
@bartonhammond
Hi Feargal - thanks for trying Snowflake. Could you share your src/lib/config.js file?
Joe Grotto
@mrgrotts
@bartonhammond I'm working with @feargswalsh92 on the same project, what's your email?
I just posted a description of the problem on this repo bartonhammond/snowflake-parse-heroku#1
Barton Hammond
@bartonhammond
Just got back from bike ride. I see the issue.
Joe Grotto
@mrgrotts
I don't think that is it, as we have tried setting the config.js to parseLocal too
Feargal Walsh
@feargswalsh92
image.png
@bartonhammond Sorry for the delay in getting this set up
Here's my config.js file
I was able to write to the database running locally
Through the app
Feargal Walsh
@feargswalsh92
But I'm still receiving the network request failed error when I run it remotely
Feargal Walsh
@feargswalsh92
Never mind fixed it, it was to do with the NSAppTransportSecurity settings in the info.plist file in xcode
Barton Hammond
@bartonhammond
Wasn't that already in Snowflake? I believe I addressed that sometime back and it would not have worked w/o it.
Feargal Walsh
@feargswalsh92
Yes but I had to modify it slightly, it might have been some other things that caused it to fix too I tried alot of stuff <key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>localhost</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
</dict>
</dict>
</dict>
There's a couple too many </dict> s on there
praba1989
@praba1989
Hi @bartonhammond
I need to some small changes for login structure is it possible?
Barton Hammond
@bartonhammond
You make a PR and I can look at it. What changes are you considering?
praba1989
@praba1989
Need align labels, input type are center
also need to set width ...
I tried to set width like
stylesheet.textbox.normal.width = 300
on LoginForm.js screen
it's works fine but when I hit sign in button it comes smaller width untill get a validation message
Barton Hammond
@bartonhammond
Ok. Good luck.
praba1989
@praba1989
but when I hit sign in button it comes smaller width untill get a validation message
when I hit sign in button my width values not working
praba1989
@praba1989
this is my new styles
stylesheet.textbox.normal.justifyContent = 'center'
stylesheet.textbox.normal.alignItems = 'center'
stylesheet.textbox.normal.textAlign = 'center'
stylesheet.textbox.normal.width = 300
stylesheet.textbox.normal.borderWidth = 0
stylesheet.textbox.normal.borderBottomWidth = 1
stylesheet.textbox.error.width = 300
stylesheet.textbox.error.borderBottomWidth = 1
stylesheet.textbox.error.justifyContent = 'center'
stylesheet.textbox.error.alignItems = 'center'
stylesheet.formGroup.normal.justifyContent = 'center'
stylesheet.formGroup.normal.alignItems = 'center'
stylesheet.formGroup.normal.width = 300
Barton Hammond
@bartonhammond
If you want to do changes, you'll have to work through all this. I won't be able to solve it for you. Sorry. It will be a good learning experience though, for you.
praba1989
@praba1989
ok Thanks
Federico Cocco
@fredc0088
Hi @bartonhammond I'm seeing you have a good familiarity with jest. I'm trying to create a dashboard showing test coverage from different sources. I have no clue how to extract percentage value like this: '--------------------|----------|----------|----------|----------|----------------|
File | % Stmts | % Branch | % Funcs | % Lines |Uncovered Lines |
--------------------|----------|----------|----------|----------|----------------|
All files | 60.39 | 0 | 44.44 | 62 | |
app | 21.74 | 0 | 0 | 21.74 | |
utils.js | 21.74 | 0 | 0 | 21.74 |... 33,35,43,50 |
app/actions | 67.18 | 0 | 50 | 69.29 | |
configurations.js | 61.9 | 0 | 41.18 | 65 |... 88,89,92,93 |
networks.js | 100 | 100 | 100 | 100 | |
profiles.js | 60 | 0 | 43.75 | 61.36 |... 86,88,92,93 |
templates.js | 64 | 0 | 44.44 | 66.67 |... 43,44,47,48 |
--------------------|----------|----------|----------|----------|----------------|'. Is there any way to obtain these values from something like the CoverageMap? thanks
hussainwali74
@hussainwali74
image.png
I am having this error while running npm start
what am I missing?
hussainwali74
@hussainwali74
image.png
@bartonhammond
this has taken my whole day
I have tried from different forks
Emiliano Greco
@neogreco

Hello there! im starting with jest and react native in a project that use amazon amplify api as a backend. I created a simple test file to test an api call and when it runs fails with this error " ReferenceError: navigator is not defined

  at Module.navigator (node_modules/@aws-amplify/analytics/dist/webpack:/lib-esm/Providers/AWSPinpointProvider.js:87:24)

....
"
Some idea of how to proceed with this?