Commit Graph

108 Commits

Author SHA1 Message Date
YJ
57800cdb83 Fixes #103: Convert functional components to pure (#135)
* ui-signer pureComponentify

* ui-react pureCompify

* Status queue prop

* ui-app Button

* ui-app InputExtrinsic

* apps, app-rpc, ui-app, ui-react

* app-extrinsics, app-explorer, apps

* fixes for tslint

* more linter fixes

* Update index.tsx

* Update index.tsx

* Update Nonce.tsx

* Update index.tsx

* Update Results.tsx

* Update index.tsx

* Update Queries.tsx

* Update NodeInfo.tsx

* Update index.tsx

* Update Item.tsx

* style fixes

* TSLINTs
2018-07-13 07:40:31 +02:00
Travis CI
6a694f7c5b [CI Skip] 0.18.16 2018-07-12 17:49:31 +00:00
Travis CI
8e23cd04d7 [CI Skip] 0.18.15 2018-07-12 15:53:56 +00:00
Travis CI
d8940c9f49 [CI Skip] 0.18.14 2018-07-11 15:25:40 +00: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
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
Travis CI
dd3ee80349 [CI Skip] 0.18.8 2018-07-03 15:00:48 +00:00
Travis CI
da2ce5a2a5 [CI Skip] 0.18.7 2018-06-28 15:25:37 +00: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
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
Travis CI
235b671d11 [CI Skip] 0.18.2 2018-06-26 10:15:09 +00: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
Travis CI
875275c2b9 [CI Skip] 0.17.14 2018-06-14 16:41:09 +00: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
Travis CI
6312cf4270 [CI Skip] 0.17.9 2018-06-12 11:46:10 +00:00
Travis CI
c83c37cfb4 [CI Skip] 0.17.8 2018-06-12 09:00:45 +00:00
Travis CI
57b77db310 [CI Skip] 0.17.7 2018-06-11 16:09:47 +00:00
Travis CI
2c0918581d [CI Skip] 0.17.6 2018-06-11 07:13:11 +00:00
Travis CI
34b17880a3 [CI Skip] 0.17.5 2018-05-31 13:31:05 +00:00
Travis CI
acfc1facbd [CI Skip] 0.17.4 2018-05-31 12:05:21 +00:00
Travis CI
2cccf30f00 [CI Skip] 0.17.3 2018-05-30 10:13:38 +00:00
Jaco Greeff
d45642e3f6
Fix address defaultValue/value, hide testing accounts (#66)
* Fix address defaultValue/value

* @flow cleanups

* Remove debug info

* Properly hide dev chain addresses (default)

* Close https://github.com/polkadot-js/apps/issues/68

* Don't allow pre-existing accounts and addr

* Failsafe on conversion check

* Don't try to encode arrays

* Display decoded Proposals as text
2018-05-30 12:07:45 +02:00
Travis CI
bae287ad3c [CI Skip] 0.17.2 2018-05-29 18:00:21 +00:00
Jaco Greeff
f0a8370ea2 Update dependencies 2018-05-29 19:55:05 +02:00
Travis CI
71d3c2e706 [CI Skip] 0.17.1 2018-05-29 15:38:11 +00:00
Jaco Greeff
ba36eede0b
Include ui-* packages in repo (development speed) (#65)
* Include ui-* packages in repo (development speed)

* Bump

* Bump

* Cleanup dependencies
2018-05-29 17:33:29 +02:00
Travis CI
4d1156bbfb [CI Skip] 0.7.2 2018-05-29 14:43:39 +00:00
Travis CI
c35c8c0731 [CI Skip] 0.7.1 2018-05-29 12:38:30 +00:00
Jaco Greeff
a4531a50d6
Update for latest @polkadot/params (#64)
* Update for latest @polkadot/params

* Allow passing in of WS_URL environment

* Cleanup block display

* Update dependencies
2018-05-29 14:34:23 +02:00
Travis CI
6881f555da [CI Skip] 0.6.12 2018-05-28 20:36:29 +00:00
Jaco Greeff
540a39ff48
Use apiSupport & apiConnected from withApi (#63) 2018-05-28 22:31:24 +02:00
Travis CI
bcd7867ba7 [CI Skip] 0.6.11 2018-05-28 16:46:51 +00:00