Giter Club home page Giter Club logo

nautilus-cloud-ui's People

Contributors

bhaskarkishore avatar navi-arneja avatar nike682631 avatar siddharthv1 avatar taaseen-ali avatar vishakh avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nautilus-cloud-ui's Issues

Update UI text

Update the following test

  • Conseil Alphanet Node => Conseil Testnet Node
  • Tezos Alphanet Node => Tezos Testnet Node
  • Append :443 to the Conseil URL

Update UI registration workflow

Update the frontend code to match the new flow of user registration w.r.t ToS acceptance (along with other attributes such as newletter opt in) as described in Cryptonomic/Nautilus-Cloud#58.

The new registration workflow is described below.

  1. FE (Front End / UI) sends git hub code to endpoint /users/github-init as before.
  2. If user is registered, /users/github-init endpoint responds with a new payload like this:
{
    "header": {
        "payloadType":"REGISTERED"
     },
    "payload": {
        "userId": 1,
        "userEmail": "[email protected]",
        "userRole": "user",
        "registrationDate": "2019-11-20T08:56:55.067Z",
        "accountSource": "github"
    }
}

If the header field is set to REGISTERED, the FE can read the payload field for the User object and proceed to the next UI screen as before.

  1. If the user is not registered, the /users/github-init endpoint responds with a payload like:
{
    "header": 
     { 
       "payloadType":"REGISTRATION"
    },
    "payload": {
        "registrationAttemptId":"4362652f-6089-45e6-8c86-18fb01b3902b"
     }
}

If the header field is set to REGISTRATION, the FE should prompt the ToS / Newsletter dialog to the user. Only if the user clicks the accept terms button the following payload should be sent via POST to /users/register.

{
   "registrationAttemptId":"c4e158da-6ef4-49f8-9f1c-30af76ded501",      // Value from previous "REGISTRATION" payload.
    "tosAccepted":true,                          // True always when user accepts terms
    "newsletterAccepted": true              //  Depends on if user ticked newsletter checkbox
}
  1. /users/register upon successful registration will respond with the following payload:
{
    "header": {
        "payloadType":"REGISTERED"
     },
    "payload": {
        "userId": 1,
        "userEmail": "[email protected]",
        "userRole": "user",
        "registrationDate": "2019-11-20T08:56:55.067Z",
        "accountSource": "github"
    }
}

If there is an error while registering a 403 error will be returned.

Change cookies to tokens in frontend

In the backend I'm working on a support for tokens and deprecating cookies. Cryptonomic/Nautilus-Cloud#65
The way this will work:

  • during login backend will respond with Set-Authorization header and a token XYZ
  • each next request will need to have Authorization header with token XYZ
  • when called logout endpoint backend will respond with the Set-Authorization and an empty string as a token
  • invalid tokens will cause endpoints to respond with 403 Forbidden

Update text and links in UI

Update the following text in UI

  • Rename web tab to node
  • "Simple way to make sequal-like queries of the Tezos blockchain." => "Make sophisticated queries against the Tezos blockchain."
  • "Easy and secure transactions, delegation, and smart contracts deployment" => "Easy and secure wallet for Tezos with smart contract support"
  • Fix T&O and PP links
  • Change title to "Nautilus Cloud Beta"
  • Change "Full suite of tools to develop and deploy decentralized applications on Tezos" ==> "A full suite of tools to develop and deploy Tezos applications"
  • Change "Explore Tezos data with Arronax blockchain analytics tool" ==> "Explore Tezos data with the Arronax blockchain analytics tool"
  • Change "Develop on cloud with us now, deploy on dedicated instances for production" ==> "Develop on the Cloud with us now, decentralize in production"
  • Change "We have provided reliable Tezos infrastructure from the launch of the network in 2018" => "Cryptonomic has provided reliable Tezos infrastructure since the Tezos launch"
  • Change "Explore products build on Nautilus Cloud" => "Explore products built on Nautilus Cloud "
  • "Start developing on Tezos" (Bottom Login Button text) => "Access Tezos network now"
  • "Send me Cryptonomic newsletter" => "I permit Cryptonomic to send me periodic emails about service updates and policy changes."
  • Store T&O and PP links in the config file.

Login redirect

NC should load the account page instead of the landing page is there is a valid authenticated session already present in the browser.

UX improvements

  • disable horizontal scroll on home page
  • enforce dev/prod box ordering
  • copy button needs "copied" tooltip
  • list port for the conseil URL
  • URL order should be such that conseil URL is on top of the API key
  • remove trailing / from the URLs
  • URL boxes routinely do not show for random people in the wild, Brave browser seems to be most prone to this

api get different level

`
let header = await conseiljs.TezosConseilClient.getBlockHead(conseilServer, conseilServer.network).then(h => h).catch(console.error);

`
one time level = 1758298
one time level = 1758985

why change so many times? ...... any update on-chain or sdk

A method for publishing documents

We're going to move away from Medium as a place where we publish our tutorials. NCUI should have some process where we can add content in markdown format and it would get added to the site.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.