Code Monkey home page Code Monkey logo

demo-client's Issues

Mulit/Single Select

  • if the selectable data has a range of only 1 a multiSelect should be converted to a singleSelect with closeOnSelect
  • Doublecheck if the "no data range" case is properly handled

Use texteditor as alternative for the ctype editor

We might want to add the old codemirror editor back as an alternative to the json ctype editor, because creating a ctype is a technical thing, whereas claiming is a user-facing thing (so here we should definitely use the editor).

They should both be using the same underlying data, so switching can be done on the fly and the editors update accordingly.

Refactor file structure

We want to use the directories components, container, and routes to manage our code.
Components and container have subdirectories with the component name and include all files necessary for that

New delegation when no cTypes

the current behavior of "new delegation" on cType oder delegation list view is unsatisfying. right now just nothing happens, there should be a message after pressing the button/action

disconnect from websocket connections

after finishing transactions with the blockchain, we have to actively disconnect the connection.

Alternative: keep a websocket connection for all transactions
Alternative 2: only allow 1 connection per client

refactoring CTYPE

CTYPE needs to be refactored

  • not derived from sdk.CType
  • it still expects __v & _id (to be removed in prototype-services)
  • attribute author actually contains the metaData.name of the author, should be the publicIdentity.address

It doesn't work with mashnet-node@develop

browser output like below:

2020-07-29 -00 55 35

2020-07-29 01:05:21 RPC-CORE: getMetadata (block: Hash): Metadata:: createType(Metadata):: U8a : failed on 'MagicNumber':: U8a: failed on 'MetadataEnum':: Unable to create Enum via index 11, in V0 , V1, V2, V3, V4, V5, V6, V7, V8 2020-07-29 01:05:21 API/DECORATOR: Error: FATAL: Unable to initialize the API: getMetadata (block: Hash): Metadata:: createType(Metadata):: U8a: failed on 'MagicNumber':: U8a: failed on 'MetadataEnum' :: Unable to create Enum via index 11, in V0, V1, V2, V3, V4, V5, V6, V7, V8

Save claim per user

Claims are currently saved without a connection to the selected user.
They have to be associated with him.

Docker build errros

Hello, I have a problem building the docker image.

Running docker build -t kilt/prototype-client . generated:

...
ts-loader: Using [email protected] and /app/tsconfig.prod.json
Failed to compile.

/app/node_modules/@types/webassembly-js-api/index.d.ts
(15,1): Definitions of the following identifiers conflict with those in another file: Imports, Exports, Module, Instance, Memory, Table, CompileError, LinkError, RuntimeError
error Command failed with exit code 1.

This message Definitions of the following identifiers conflict with those in another file is really strange. Please have a check. Thank you.

yarn start error

Hello, I have a problem running the source code.
Running yarn start generated:

./node_modules/@polkadot/util/node_modules/chalk/source/index.js
Module parse failed: Unexpected token (103:1)
You may need an appropriate loader to handle this file type.
const proto = Object.defineProperties(() => {}, {
...styles,
level: {
enumerable: true,

I don't know what happened. Could you please help me? Thanks.

Can not run demo-client. No exporter memeber 'BaseConverter'

Hi,
I can not run demo-client. No matter if I am using docker or yarn commands.

Error message:

/app/node_modules/@types/bs58/index.d.ts
(7,10): Module '"../../base-x/src"' has no exported member 'BaseConverter'.

I am using newest Ubuntu.
Npm version 6.9.0.
Node version 12.6.0

Timeout during 'create attestation'

Seems that the blockchain connection is not correctly setup within the component. The callback never kicks in, but the attestation is written on chain.

Contact caching

So far we have a really bulky contact caching. This should be handled a lot smarter.

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.