Commit Graph

13380 Commits

Author SHA1 Message Date
Travis CI
8e23cd04d7 [CI Skip] 0.18.15 2018-07-12 15:53:56 +00:00
Jaco Greeff
84e5ab8cbb
Fix index change not updating for 0 (#142)
* Fix index change not updating for 0

* Update resolutions
2018-07-12 17:48:22 +02:00
Travis CI
d8940c9f49 [CI Skip] 0.18.14 2018-07-11 15:25:40 +00:00
Jaco Greeff
5dc348304c
Encode consensus.setStorage(KeyValueStorage[]) (#131)
* Start of override KeyValueStorage

* All Upload of KV storage data

* Update dependencies

* KV parse & submission

* Cleanup display of storage queries

* Bump dependencies (incl. KV decoding fix)
2018-07-11 17:19:56 +02:00
Travis CI
cea9d9cbc5 [CI Skip] 0.18.13 2018-07-11 12:55:01 +00:00
Luke Schoen
62b1158c69 fix: Fixes #130 latest rust reports chains differently (#133)
* fix: Detect chain specs that enable test environment and dev accounts Issue #130

* test: refactor moving chain checker into meaningful function name

* fix: Detect check specs requiring backward compatibility encoding for Issue #130

* remove comment

* remove comment and restore source maps

* fix: Fix the license information in test files

* refactor: Move cases into array with meaningful array. Cater for numbers

* refactor: Reduce how condensed the code is

* refactor: Use Polkadot isUndefined helper

* refactor: Move RegEx instantiation outside function so not called every time

* refactor: Move new utility functions and associated tests into ui-react-rx/src/util

* fix: Update to cater for renaming of poc-2 to staging

See commit updates since `poc-2` has been renamed to `staging` 3426552c76
2018-07-11 14:50:01 +02:00
Travis CI
b96c450774 [CI Skip] 0.18.12 2018-07-11 06:54:14 +00:00
YJ
aaf7286042 stricter types (#134) 2018-07-11 08:49:35 +02:00
Travis CI
0f5b461fd5 [CI Skip] 0.18.11 2018-07-10 08:38:30 +00:00
Jaco Greeff
c03a4473f6
Expand the example, indicating validators with sorting (#129) 2018-07-10 10:32:00 +02:00
Travis CI
378fed132c [CI Skip] 0.18.10 2018-07-09 11:42:56 +00:00
Jaco Greeff
3fb85094a6
Example & tutorial (#127)
* Add tutorial step 001

* Update LICENSE header

* Query storage via HOC

* Tut 003, read proposals

* Tut 004 replacing HOC

* Pull Intentions & Proposals together

* Add final image

* Cleanup unused methods

* Source links

* Remove unused var
2018-07-09 13:38:31 +02:00
Travis CI
8d41e8ada9 [CI Skip] 0.18.9 2018-07-05 13:31:10 +00:00
Jaco Greeff
6538e71a01
Fix ts-ignore for Trans component (#126) 2018-07-05 15:25:15 +02:00
Travis CI
dd3ee80349 [CI Skip] 0.18.8 2018-07-03 15:00:48 +00:00
Jaco Greeff
f561d6c4fa
Fix storage select (#123) 2018-07-03 16:55:56 +02:00
Travis CI
da2ce5a2a5 [CI Skip] 0.18.7 2018-06-28 15:25:37 +00:00
Jaco Greeff
349c35cf41
Fix extrinsic submissions (#111)
* Update parent when values have changed

* Fix linting

* Cast for correct signature

* Cater for correct "Bytes" for submitExtrinsic
2018-06-28 17:19:18 +02:00
Travis CI
b805bccf5f [CI Skip] 0.18.6 2018-06-28 14:36:55 +00:00
Chevdor
70fe02d128 Add missing locale resources (#109)
* Add missing locale resources

* Add a few other locale reouces for 'en'
2018-06-28 16:31:43 +02:00
Travis CI
2f19a06d5b [CI Skip] 0.18.5 2018-06-28 05:16:31 +00:00
Chevdor
8bdb71dd9c Add nvmrc (#107) 2018-06-28 07:11:58 +02:00
Travis CI
25ea6ad657 [CI Skip] 0.18.4 2018-06-27 10:47:31 +00:00
Jaco Greeff
f523383216
Add TSLint (#106) 2018-06-27 12:43:07 +02:00
Travis CI
4b5c3733ad [CI Skip] 0.18.3 2018-06-26 15:48:52 +00:00
Jaco Greeff
6cafd1492a Update dependencies 2018-06-26 17:43:45 +02:00
Travis CI
235b671d11 [CI Skip] 0.18.2 2018-06-26 10:15:09 +00:00
Jaco Greeff
f2d234b591
Fix parameter updates (#105) 2018-06-26 12:10:41 +02:00
Travis CI
75b3a9759b [CI Skip] 0.18.1 2018-06-25 16:07:53 +00:00
Jaco Greeff
078e2e431a
Support enumerable accounts (#102)
Covert to TypeScript
2018-06-25 18:02:47 +02:00
Travis CI
249962e453 [CI Skip] 0.17.15 2018-06-19 08:10:26 +00:00
Luke Schoen
5277cf0c71 Update Readme with Yarn version requirement (#100)
To avoid issues with installation it is necessary to install a compatible version of Yarn.
It was highlighted [here](https://github.com/polkadot-js/apps/pull/78) that Yarn 1.0 included workspaces, and we are successfully using Yarn 1.3.2 for Travis CI, so propose to request users to ensure they are using a version later than that to avoid and problems.
For instance, I was using Yarn 0.24.6 and it [wouldn't install the sub-package dependencies](https://github.com/polkadot-js/apps/pull/78) nor would it [run a necessary binary](https://github.com/polkadot-js/apps/issues/98), but after upgrading to Yarn 1.7.0 those issues were resolved.
2018-06-19 10:05:57 +02:00
Travis CI
875275c2b9 [CI Skip] 0.17.14 2018-06-14 16:41:09 +00:00
Luke Schoen
2360c2e4f5 fix: Fixes #70 by Rename Submit Extrinsic to Submit Transaction (#85)
* fix: Fixes #70 by Rename Submit Extrinsic to Submit Transaction

* fix: Rename Extrinsic modal button from Submit Extrinsic to Submit Transaction
2018-06-14 18:36:24 +02:00
Travis CI
bb6562b46b [CI Skip] 0.17.13 2018-06-13 20:37:48 +00:00
Jaco Greeff
9c89026e6e
Copyright project authors (#95)
* Copyright project authors

* Add contributors
2018-06-13 22:32:49 +02:00
Travis CI
5b87995d14 [CI Skip] 0.17.12 2018-06-13 14:49:34 +00:00
Luke Schoen
5296c4fee1 fix: Fixes #88 buttonbar style cornering on Accounts and Addresses pages (#90)
* fix: Fixes #88 buttonbar style cornering on Accounts and Addresses pages

- Add right corners to Forget
- Add left corners to Reset

* refactor: Move overrides for buttonbar corner styles into shared resource

* fix: Add newline to end of file

* refactor: Refactor using PostCSS variables, nesting, and import

* refactor: Move variables into partials subfolder. Apply CSS when preceding sibling is spacer

* fix: Remove unnecessary comma to pass CI linting

* fix: Add initial divider with no padding to apply corners conditionally

There is no CSS selector combinator that allows conditional styling of an element conditional upon "subsequent" sibling elements existing. This is a work-around whereby a dummy divider with no padding is added to the start of the button group such that the custom corner overrides only apply to button groups that contain a 1st and 3rd element that are dividers. Only options for conditional styling dependent on "preceding" sibling elements currently exist that are compatible across browsers (i.e. 'Adjacent sibling combinator' by use of `+` and 'General sibling combinator' by use of `~`, see below reference for details).

Another alternative solution that was considered by not deemed generic enough was to conditionally apply the custom cornering only to button groups that are contained within a classname that contains the text "--Editor", on the assumption that the Forget, Reset, Save button group would only be used within a nesting containing such a wildcard value (as is currently the case)
```
div [class*="--Editor"] {
  .ui--Button-Group {
    .ui.buttons {
      .button:nth-child(1) {
        border-top-right-radius: $small-corner;
        border-bottom-right-radius: $small-corner;
      }
      .ui.button.compact.mini.basic + .button:nth-child(3) {
        border-top-left-radius: $small-corner;
        border-bottom-left-radius: $small-corner;
      }
    }
  }
}
```

Reference: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors

* fix: Resolve linting CI errors

* fix: Add missing dependencies to package.json to pass CI

* refactor: Move widthless divider into base Group component

* refactor: Move button group custom cornering styles
2018-06-13 16:42:03 +02:00
Travis CI
2e98b92cf1 [CI Skip] 0.17.11 2018-06-13 07:23:43 +00:00
Luke Schoen
d7319e809b config: Enable source maps in development for front-end debugging (#84)
* config: Enable source maps in development for front-end debugging

* feat: Switch to source map for dev env as used by create react app
2018-06-13 09:18:35 +02:00
Travis CI
61e7d21b84 [CI Skip] 0.17.10 2018-06-13 07:16:42 +00:00
Luke Schoen
934d2b912a feat: Fixes #75. Add edit icon from semantic-ui to account name input field (#83)
* feat: Fixes #75. Add edit icon from semantic-ui to account name input field

Adding an edit icon that is embedded in the account name input field makes it more obvious to the user that the input field isn't read-only, and that there is a way to "click before doing" (i.e. editing the input field that is identified as being editable before the ability to save changes is granted). Some users may click the edit icon itself thinking it toggles the ability to edit the input field, whilst others may just recognise that the edit icon means the input field is editable. In either case just having the edit icon should suffice as being the initial "call to action" for a user wishing to edit the input field, and since the Reset and Save buttons illuminate when the account name is modified, they'll recognise that a further step is required to save their changes.

* resolve introduced ESLint and Flow errors

* fix: Move attributes up so they are in alphabetical order

* fix: Remove unnecessary classenames. Edit icon stays within input field
2018-06-13 09:08:13 +02:00
Travis CI
6312cf4270 [CI Skip] 0.17.9 2018-06-12 11:46:10 +00:00
Jaco Greeff
bb3c44fb13 Merge master 2018-06-12 13:41:46 +02:00
Jaco Greeff
cacc08b93c Update dependencies 2018-06-12 13:34:07 +02:00
Travis CI
c83c37cfb4 [CI Skip] 0.17.8 2018-06-12 09:00:45 +00:00
Jaco Greeff
96a5330d86
Add yarn & node to engines (#91)
* Add yarn & node to engines

* yarn ^1.3.2

* Update dependencies
2018-06-12 10:55:23 +02:00
Travis CI
57b77db310 [CI Skip] 0.17.7 2018-06-11 16:09:47 +00:00
Jaco Greeff
e77363ba1b
Upgrade dependencies (#87)
* Upgrade dependencies

* Update getting started

* Attemp test-case for https://github.com/polkadot-js/apps/issues/81

* Fix small typos
2018-06-11 18:05:23 +02:00
Travis CI
2c0918581d [CI Skip] 0.17.6 2018-06-11 07:13:11 +00:00