bit-nation / bitnation-pangea-react Goto Github PK
View Code? Open in Web Editor NEWPangea Jurisdiction Alpha client v. 03 frontend repository
License: MIT License
Pangea Jurisdiction Alpha client v. 03 frontend repository
License: MIT License
To follow the Airbnb guidelines: https://github.com/airbnb/javascript
Increase the percentage of code covered by tests.
Do a similar test as in web
in future, we will be adding lot of Native code, so we need to upgrade/change dev stack
Wouldn't it be better to have a Pangea specific README and the long React instructions in a separate .md?
We need this library in our project to use it as a base for all our ui element's.
Including also a circular profile picture at the top
Hi, since i ejected the project I am getting an error in the "panthalassa_integration" branch during when I run npm run build
. I am not able to reproduce this error. Maybe someone with more react native experience is able to do so. If you have any question's feel free to ask.
Edit:
That's the error:
Module not found: Error: Can't resolve 'invariant' in './BITNATION-Pangea/react\node_modules\react-redux\es\components'
In order to effectively collaborate, especially with remote contributors, its tremendously helpful to establish explicit policies regarding issues, pull requests, contribution guidelines, processes, tooling and documentation.
As a complete bitNation noob, I've been digging through the code a bit and docs to find my way around. I've found some docs, but it took a little bit, and looking through the issues, I didn't have a clear place to jump in or know their status or progress. To serve my own needs, and hopefully those of the current and future contributors I'd like to put forward a proposal.
These are the initial items that have stood out to me, I don't want to stand on anyone's toes, and as a complete newcomer to the project, I absolutely may have missed something. Please provide feedback.
This is clearly something we'd need to agree to as a community, I would be happy to tackle some of these, I know you guys are super busy at the moment, but its certainly not something I think any one person can do/should do and maintain on their own.
ex: Material Design, Bootstrap, Semantic UI
Following the mockups
Create "After intro" screen containing:
Top:
Burger menu - Home - Chat Icon - Settings icon (?)
Should the expo.io testing be removed from the README, since we're not using expo.io anymore?
Now it is in the root dir, we should move it under containers folder, just need to figure out how Expo/Create-React is referencing it and then change.
In order to manage visibility of the stable vs currently in progress code, facilitate collaboration, and protect the production environment, it's often useful to maintain a development branch, (and auto protect the master) so that all PR's are opened against the currently in-progress code on development, and master is always a representation of whats in production.
master
as a production, and protect with status checks and privileged reviewer (in github settings)development
branch for current work in progressfeature/<your-feature-name>
or fix/<issue-or-bug>
) against developmentmaster
merge checksdevelopment
branchThis is related to #27
With basic inputs and placeholders
Integrate https://coveralls.io/ with pangea to display the codecoverage online.
A coverage command exist. Use npm run test:coverage
to collect coverage.
I am getting a wired error when i try to integrate Panthalassa with this project.
The error:
Unable to resolve ./asn1/api" from ".//node_modules/panthalassa-ts/Panthalassa.js
: could not resolve /Users/florian/project/BITNATION-Pangea-react/node_modules/panthalassa-ts/asn1/api' as a folder: it did not contain a package, nor an index file","name":"UnableToResolveError","type":"UnableToResolveError","errors":[{}]},"type":"bundling_error"}
Steps to repoduce:
npm install
npm run ios
and you will see an error.Additional information:
We are using browserify to generate the bundle file. I don't think it's a problem with browserify since i just tested it in the web and there it works. Maybe it's a problem with browserify and react native. Also have a closer look at this part of the error: from ".//node_modules/panthalassa-ts/Panthalassa.js
: the import statement is wired. .//node_modules
looks like an error.
Screens routing handle just one function.
It will be correct, to add native router library
Suggest: https://reactnavigation.org/docs
We need the icons designed by Ampillo to be included in the react native base icon set.
From Nations -> Nation X
With placeholders
Log:
duplicate manual mock found:
Module name: ErrorUtils
Duplicate Mock path: /Users/dfranca/workspace/bitnation/BITNATION-Pangea-react/node_modules/react-native/Libraries/Core/__mocks__/ErrorUtils.js
This warning is caused by two manual mock files with the same file name.
Jest will use the mock file found in:
/Users/dfranca/workspace/bitnation/BITNATION-Pangea-react/node_modules/react-native/Libraries/Core/__mocks__/ErrorUtils.js
Please delete one of the following two files:
/Users/dfranca/workspace/bitnation/BITNATION-Pangea-react/node_modules/react-native/node_modules/fbjs/lib/__mocks__/ErrorUtils.js
/Users/dfranca/workspace/bitnation/BITNATION-Pangea-react/node_modules/react-native/Libraries/Core/__mocks__/ErrorUtils.js
When I try to follow the README instructions to launch the project, I get the following error when running step 5: npm run start:native.
Here is the error:
npm info it worked if it ends with ok
npm info using [email protected]
npm info using [email protected]
npm ERR! Linux 4.9.49-moby
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "start:native"
npm ERR! node v6.11.2
npm ERR! npm v3.10.10
npm ERR! missing script: start:native
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR! /src/app/npm-debug.log
We need a footer component for your app. It will be a this one with the icons (only the icons, no text).
The Balsamiq mockup has a variety of screens that reflect the end-product's approved aesthetic.
We need to extract the following from them:
Reviewing and testing components can become tedious and time-consuming as the codebase grows. While we've got component render tests setup, it would be useful to establish a component test page and style guide for UAT as suggested by @jetpack3331
this could allow for easier management, testing and iteration of the components / styles.
This is a kind of tracker for the task's that need to be done for release 0.3
Using rkt or [Docker(https://www.docker.com/)
Since we are targeting a LOT of devices, it make sense to have automated integration test's that run on multiple simulator and real devices.
The benefits are less manual testing and early discovery of bugs (before we ship the software).
Since we are creating our new layout we should remove the old menu etc. BUT keep the image as a background.
Don't forget to remove additional code like services etc.
Include how to test the app from the expo.io webpage
Include information about the Airbnb guidelines eslint
Panthalassa is our backend (not a common one, it's runs on the device). Since we are signing eth transaction we have to save private key's on the device. A user can decide to encrypt them. So if panthalassa sign's a transaction AND the private key is encrypted panthalassa will emit and event e.g. "eth:decrypt-private-key". Pangea will listen to this event and has to provide a way to enter a password in order to decrypt the key. So we need a ui for this.
It is important that the alert contain's the following:
Another strange react native error on ios:
npm run ios
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.