asadovka / cyb_web2 Goto Github PK
View Code? Open in Web Editor NEWbrowser
browser
use bulma css
group links
There are no single container for each backend component that we need to reach from frontend API, and maintaining list of container dependencies for every backend component in multiple places is too much of a hassle.
We've already got up.sh
script, so let's make it handle dependencies and leave in docker-compose.yml
only containers for cyber-ui
itself.
Conventions needed for staging server setup:
/devops/staging/docker-compose.yml
up.sh
then pulls all repos and runs docker-compose.yml
up for every component.
CI loop is too long for Web UI. Too much time is wasted waiting for new version to appear at staging.
In this CircleCI job - https://circleci.com/gh/cyberFund/cyber-ui/17#tests/containers/0 - fetching dependencies takes 30 seconds.
added 1173 packages in 28.084s
npm
dependencies during container buildIt looks brilliant here
make ethereum block and transaction items
change pager to load more
show system it item
make api call for items type(blocks transaction address)
use bulma table
change diagram => just line
Now we have two docker images for frontend and chaingear api. Need public stage server for testing configuration. Need script to build containers, and run container configuration on staging server.
As a potential repository contributor I need to find out the source that builds cui-browser
. See also https://github.com/cyberFund/cyber-ui/commit/2ae7e74cb6f0989705ec69e4bf9cadc73086d06e why having different names for software repo and its image is inconvenient.
Until we have our frontend split into several containers, there is no need in convention like in cyber-markets
that is used to split market components into pieces. "Foolish consistency is the hobgoblin of little minds".
https://www.python.org/dev/peps/pep-0008/#a-foolish-consistency-is-the-hobgoblin-of-little-minds
https://drive.google.com/file/d/1_tSxHHBz5v3M1RQzxe8CzA_TDZjmIht8/view
As analyst I want to get all transactions for specific address (ETH). By @Snedashkovsky.
We've discussed that downloading CSV is way better than clicking through pages and gathering data through them. We may even just expose CSV export to API. The link for to download that CSV from API would still be useful in UI.
One of the most important objects has been forgotten 🥇
Should be on the main menu
To keep our frontend independent from backend(s), which are:
We've discussed with @Pechalka and @litvintech that we will not proxy requests to API from client through frontend
container, because that means that requests from client application in browser will go to the frontend
server first and then to backend
. It creates unnecessary bottleneck and increases moving parts for API management (access control, throttling, etc.).
So, we agreed to configure endpoints in config.json
file for web application, which will be generated from environment variables:
@litvintech as a staging user, can not connect to our staging server, because he uses HTTPSEverywhere extension.
https://insight.bitpay.com/
make base html => tabs 2 tables
use search api for update
in current spring we can not search by address
Use bulma cards
As a user I want to know price change (or better % dynamics) in USD of 5 tokens from my portfolio for certain period (week). I want to see tokens, current price is not obligatory, but period is good. @SiarheiSadau
Tokens page is for price monitoring, comparing between tokens (selected actual ones).
An order should be the following:
make button back
use table from bulma
if transaction page show status as bulma tag
api should return supply and volume
show big chart
group links like cyber.fund
use bulma tables
do not show statistic yet
https://blockchain.info/
1 api
get data by transaction
api should return price and change in btc usd eth, supply and volume
Comments from @mguryeva about mobile design:
/tokens
/crowdsales
/cybernode
API
and get explanation
More comments from Marina - mobile
functionality should match desktop
:
We need a quick status indicator that show that API URL are offline or misconfigured. This may grow up into separate Cybernode
tab on UI interface, but right now anything on the main page would do.
As a wish, it would be nice to get this panel extendable, so that anybody could easily add more indicators or checks against backend API there. By modifying code and sending PR, or in other convenient way.
use this lib https://vx-demo.now.sh/axis
use rest market api
Ideally should install yarn automatically
@Pechalka asked to rebuild latest container on DockerHub on every commit. This means CircleCI config should be updated for the project.
2 api
in current sprint we do not integrate api for address
This is th basic concept of main token monitor page:
This is th basic concept of main token monitor page:
https://drive.google.com/file/d/1ImT4HTkLOQyH9BZTyLFVOGEqmFhyXAbD/view?usp=sharing
Updates for first release:
Further development:
Work blockers:
In #9 we've made a quick manual deploy of our staging server. Now that mars came down again we need to repeat the setup.
And then automate it.
3 api:
data fro block
transaction by block with pagination
csv list of transactions by block
hide procents
coming soon coinmarketcap
make api cal for search api
coming soon for profile block
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.