Code Monkey home page Code Monkey logo

docs's People

Contributors

0xpranjal avatar akegaviar avatar arnav13081994 avatar avinashbo avatar cthtuf avatar d2phap avatar daviddl9 avatar dependabot[bot] avatar dhruv-2003 avatar easeev avatar ginstagram avatar granderstark avatar hayorov avatar inoob26 avatar jona-sc avatar kutysam avatar maxitosh avatar nanspro avatar neewy avatar nikitosnikn avatar pekopt avatar soos3d avatar sozinm avatar suhailkakar avatar syahrul12345 avatar thomasralee avatar xkeywordx avatar zaslavskii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs's Issues

Bolt

Figure out what Bolt is and publish to docs

Chainstack Docs UI update

Summary

The docs site currently doesn't match the UI and brand of Chainstack much in terms of colours and fonts.

We should make some small tweaks to align our properties more from a visual standpoint so that our brand is strong and persistent across the whole experience for users who interact with us.

Initiative

Brand and style consistency
Usability

Requirements

Update the UI on the docs site to be more inline with the rest of the Chainstack properties. This includes:

  • Header logo, contents and colour
  • Global font family, colours and sizing
  • Side navigation colours

Out of scope:
We won't touch the design/layout of the documentation content itself

Stakeholders

@easeev
@mcbzz

Implement CI/CD

  1. Latest version to docs.dev.chainstack.com
  2. Prod version to docs.chainstack.com

UI update for header and nav

Summary

Problem
We do not have consistency in styling with the Chainstack docs site compared to the rest of the platform's header and side nav.

Solution
Update the following items on the Docs site:

  • Header logo, contents and colour
  • Side navigation styling

References

Reference Link
Designs Figma

Requirements

Header

  1. Add the Chainstack Docs logo to the header
  2. Update the styling for the search bar and 'try free' CTA
  3. Add a link to the console
  4. Review sizing and styling of the top header (incl. padding, borders, drop shadow, etc.)

Side nav

  1. Change the background colour to light blue/grey
  2. Remove borders
  3. Change triangles to carets
  4. Review spacing, sizing, and states (unselected, hover and selected)

Documentation for v1.0

Algolia search results produce 404 links

Investigate & fix.

Current behavior example:

  1. Type "feedback" in the search field
  2. See five results. Only one of them is a valid link

Probably has to do with legacy structure indexed.

Typos in docs

There are several typos that exist in the new content found on the Chainstack docs.

  1. Under 'Application Development', the wrong article is each time a node is mentioned.
  • Deploy an MultiChain node on Chainstack, and make a note of the connection details for the node.

  • Deploy an Quorum node on Chainstack, and make a note of the connection details for the node.

  1. Under 'Academic certificates on Ethereum

-"In this tutorial we will be writing a academic certificate generating DApp and will deploy it on public Ethereum node using Chainstack." This sentence structure feels odd in general.

-This is an ownable contract. It is implemented in a way that only authority can generate a certificate and only the contract owner can transfer his authority. (is this correct? personally not sure- should it be someone authorized?)

  • This is our main contract. It will handle the generation and verification of certificates.

  • generates a certificate by calculating a hash of student name and details

  1. In general, we are using the oxford comma in all our communications, which are missing in the new docs pages

Corda Tools

Interacting with nodes in a compatibility zone.

Academic certificates on public Ethereum tutorial

Introduction

Chainstack is multi-cloud, multi-protocol Platform-as-a-Service. It automates DevOps process for public and consortium blockchain development. You can configure and deploy Ethereum, Quorum or MultiChain node using any cloud provider of your choice just with a few clicks.

You can try Chainstack for free here.

What needs to be done?

Your goal is to create a tutorial for new and existing Chainstack users that outlines the process of launching an application for public Ethereum. On a high level this tutorial should include 3 parts:

  1. Deploying and connecting to the node
  2. Writing and compiling a DApp
  3. Interacting with the smart contract

General requirements

  • 1000-2000 words tutorial with pictures and Markdown formatting
  • Incorporated into the VuePress website under the Tutorials section which should come after Guides
  • Open-sourced code including Solidity smart contracts
  • Has to be working with Chainstack in production

DApp requirements

Smart contract in this tutorial should be a simplified version of a typical blockchain notarization application with the following functionality:

  • Issue academic certificate
    • Can be called by particular accounts
    • Returns a hash of data (two strings: student name, credential details)
    • Stores hashed information on the blockchain
  • Verify a certificate
    • Can be called by anyone
    • Checks if the credential is indeed correct provided a cryptographic certificate and original data

The tutorial has to use Truffle and Solidity for smart contracts.

You can use this example for the smart contract logic. Platform documentation can be used for the reference.

Add "Edit on GitHub"

Add "Edit on Github" link to the docs.

Reasoning: fast feedback and contribution engagement

Food supply Quorum tutorial error "authentication needed: password or unlock"

@ThomasRalee while working updating the docs to reflect the protected Quorum APIs, I tested the Quorum food supply tutorial and it's not deploying anymore.

Note that I specify the .env in the following format (just in case, I don't think this is the issue):

RPC1='https://user-name:[email protected]'
PK1='TRANSACTION_MANAGER_PUBLIC_KEY'
RPC2='https://user-name:[email protected]'
PK2='TRANSACTION_MANAGER_PUBLIC_KEY'
RPC3='https://user-name:[email protected]'
PK3='TRANSACTION_MANAGER_PUBLIC_KEY'

Whenever I run node public.js it's failing with:

(node:8646) UnhandledPromiseRejectionWarning: Error: Returned error: authentication needed: password or unlock
    at Object.ErrorResponse (/root/fuck/node_modules/web3-core-helpers/src/errors.js:29:16)
    at /root/fuck/node_modules/web3-core-requestmanager/src/index.js:140:36
    at XMLHttpRequest.request.onreadystatechange (/root/fuck/node_modules/web3-providers-http/src/index.js:96:13)
    at XMLHttpRequestEventTarget.dispatchEvent (/root/fuck/node_modules/xhr2-cookies/dist/xml-http-request-event-target.js:34:22)
    at XMLHttpRequest._setReadyState (/root/fuck/node_modules/xhr2-cookies/dist/xml-http-request.js:208:14)
    at XMLHttpRequest._onHttpResponseEnd (/root/fuck/node_modules/xhr2-cookies/dist/xml-http-request.js:318:14)
    at IncomingMessage.<anonymous> (/root/fuck/node_modules/xhr2-cookies/dist/xml-http-request.js:289:61)
    at IncomingMessage.emit (events.js:214:15)
    at endReadableNT (_stream_readable.js:1178:12)
    at processTicksAndRejections (internal/process/task_queues.js:77:11)
(node:8646) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:8646) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Error: Returned error: authentication needed: password or unlock
    at Object.ErrorResponse (/root/fuck/node_modules/web3-core-helpers/src/errors.js:29:16)
    at /root/fuck/node_modules/web3-core-requestmanager/src/index.js:140:36
    at XMLHttpRequest.request.onreadystatechange (/root/fuck/node_modules/web3-providers-http/src/index.js:96:13)
    at XMLHttpRequestEventTarget.dispatchEvent (/root/fuck/node_modules/xhr2-cookies/dist/xml-http-request-event-target.js:34:22)
    at XMLHttpRequest._setReadyState (/root/fuck/node_modules/xhr2-cookies/dist/xml-http-request.js:208:14)
    at XMLHttpRequest._onHttpResponseEnd (/root/fuck/node_modules/xhr2-cookies/dist/xml-http-request.js:318:14)
    at IncomingMessage.<anonymous> (/root/fuck/node_modules/xhr2-cookies/dist/xml-http-request.js:289:61)
    at IncomingMessage.emit (events.js:214:15)
    at endReadableNT (_stream_readable.js:1178:12)
    at processTicksAndRejections (internal/process/task_queues.js:77:11)

This probably has to do with web3 version 1.2.1.

I'm assigning this issue to you for the time being. Please let me know how this can be fixed and I'll update the tutorial.

Update new Docs design

User story #46

Checklist

Header bar

  • Add the Chainstack Docs logo to the header
  • Update the styling for the search bar and 'try free' CTA
  • Add a link to the console
  • Review sizing and styling of the top header (incl. padding, borders, drop shadow, etc.)
  • Mobile view

Side nav

  • Change the background colour to light blue/grey
  • Remove borders
  • Change triangles to carets
  • Review spacing, sizing, and states (unselected, hover and selected)
  • Mobile view

Opening a section in a new browser tab does not work

The problem

Opening most (but not all) sections in a new browser tab (eg CMD-click on macOS) shows the contents of docs/README.md instead of the proper section.

Steps to reproduce

  1. Go to https://docs.chainstack.com/tutorials/academic-certificates-on-ethereum
  2. maOS: CMD-click, Windows: CTRL-click (I think) on the Asset tokenization on Ethereum section in the sidebar.

Actual result

The rendered text in the new tab is from docs/README.md instead of the actual section.
In this new tab none of interactive elements load, so you can't browse and click the sidebar either.

Expected behaviour

A new tab opens with the proper section and the sidebar is interactive.

Environment

  • OS: macOS Mojave Version: 10.14.6
  • Browser:
    • Chrome Version 76.0.3809.100 (Official Build) (64-bit)
    • Safari Version 12.1.2 (14607.3.9)
    • Opera Version:62.0.3331.119
  • The issue both with dev and prod.

Additional context

This happens with most of the sections in the scenario but not all.

From testing, I think the pattern is this (same both on dev and prod):

Fails:

  1. Open a section that's not in the first group:
    eg https://docs.chainstack.com/tutorials/academic-certificates-on-ethereum

  2. CMD/CTRL-click on any other section that's not in the first group
    eg Projects > Consortium.

Works:

  1. Open a section that's not in the first group:
    eg https://docs.chainstack.com/tutorials/academic-certificates-on-ethereum

  2. CMD/CTRL-click on any section that's in the first group
    eg Guides > Getting started. You will also notice here that it loads docs/README.md for a split second before switching to Getting started

Note Local builds work fine.

screencast-2019-08-23-11-48-43

Try a CorDapp

Try building and running a CorDapp for docs tutorial

Template how-to/operations sections & brush up

Trying to find the best structure and a unified experience for all docs sections.

I must template all how-to/operations sections and unify them under the template.

Examples:

Considerations:

  • Unformatted numbered steps do not expand when clicking the section, which is probably a good experience
  • Numbered lists can be linked to but they expand when H2, which may not be a good experience

Need to think, discuss, template, and then brush up.

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.