Commit Graph

1384 Commits

Author SHA1 Message Date
Amaury Martiny
825a962323 Fix small layout issues (#7500)
* Fix layout bug

* Change position of red signing label
2018-01-08 17:43:55 +01:00
Amaury Martiny
c6b0db61e7 Show all accounts on Topbar (#7498)
* Show all accounts in the top bar

* Update to latest js-shared

* Add comments

* Update refs and remove dapp-dapp-accounts
2018-01-08 16:21:52 +01:00
Jaco Greeff
ce69c4e6ea
Fix css lint (updated stylelint) (#7471) 2018-01-05 12:48:35 +01:00
Jaco Greeff
c417f01a23
Signer updates from global Redux state (#7452)
* Remove unused layout

* Update to use pending from Redux

* Update @parity/shared
2018-01-04 13:13:15 +01:00
Jaco Greeff
8405edab41
Fix status layout (#7432) 2018-01-03 10:49:52 +01:00
Amaury Martiny
3fa7d09b5e Fix dappIcon & Fix Signer Pending (#7338)
* Move signerPending inside this repo

* Use latest version of dappIcon

* Tell babel to ignore node_modules in tests
2017-12-19 17:54:09 +01:00
Tomasz Drwięga
5713bb2099 Fix embeded transport. (#7326) 2017-12-19 10:34:34 +01:00
Jaco Greeff
5cb53ddd8d
UI package bump (#7318)
* Bump js-ui

* Fix css for status plugins
2017-12-18 12:53:40 +01:00
Jaco Greeff
509038c987
Fix inject.js & Signer store duplication (#7299)
* Remove extension mappings

* Remove duplicated pending stores
2017-12-15 17:52:45 +01:00
Jaco Greeff
6587dfecc0
Wallet subscriptions & refresh (#7283)
* Update to @parity/api 2.1.7

* Update packages

* Update after signer API alias
2017-12-15 12:48:51 +01:00
Jaco Greeff
4d28facf5e
Some padding around dapp image (#7276) 2017-12-13 14:49:40 +01:00
Jaco Greeff
053c009cdb
Expand available middleware methods (#7275)
* Expand available methods

* Updated with expanded groupings
2017-12-13 12:02:31 +01:00
Amaury Martiny
1851453f00 New Homepage (#7266)
* Purify dappCard style

* Add support for pinning apps

* Add a section to show pinned apps

* Cleaner code

* Bump dependency versions

* Small tweaks

* Avoid double scrollbars

* Small style updates

* Bump parity/shared version
2017-12-12 17:35:21 +01:00
Jaco Greeff
777bce8a13
Remove extraneous id hashing (#7269)
* Remove extraenous id hashing

* Update with latest js-shared
2017-12-12 12:09:24 +01:00
Jaco Greeff
11b0cb8da8
Simplify status + content display (#7264) 2017-12-12 11:25:57 +01:00
Jaco Greeff
9202ccccf7
UI redirect to 127.0.0.1 when localhost requested (#7236)
* JS redirect from localhost -> 127.0.0.1

* ui-no-validation for 127.0.0.1

* Update with tests
2017-12-11 16:50:20 +01:00
Brennan Novak
b25f93dda5 usability improvements to security token Dialog #7112 (#7134) 2017-12-11 12:59:24 +01:00
Jaco Greeff
16d6f98d7c
Don't display unneeded notifications (#7237)
* Cleanup overlay transparency

* Don't display "waiting in signer" messages
2017-12-11 11:05:24 +01:00
Amaury Martiny
f6f7a87dc6 Fix/Update method permissions (#7233)
* Use hex everywhere as appId

* Extract requestGroup sub item from clarity

* Change size of icon in SignerPending
2017-12-07 15:10:54 +01:00
Jaco Greeff
b1517654e1
Rework dapps list (#7206)
* Rework dapps list

* Update box sizing

* Remove non-passed-in prop

* PR comments

* Re-adjust key
2017-12-06 15:47:32 +01:00
Amaury Martiny
7d0780d723 Make Signing Requests more visible (#7204)
* Add a signerPending component with popup

* Add text when no requests

* Remove lock icon

* Fix lint

* Create separate component from RequestItem

* Render different types of transaction

* Remove blue View button

* Remove useless code
2017-12-06 10:44:50 +01:00
Jaco Greeff
1291a24e4e
Update FirstRun for UI-2 (#7195)
* WIP

* Update after @parity/ui update

* Update to latest

* Update semver for @parity

* Update & -> &
2017-12-05 10:44:34 +01:00
Amaury Martiny
83ff213f6c New account selector UI in top bar (#7179)
* Add a dropdown popup for account selector

* Install sui latest version for hideOnScroll bug fix

* Update ui

* Update package-lock after rebase

* Require parity/ui v3.0.3

* Pass accountStore as props

* Require parity/ui v3.0.4
2017-12-04 12:09:08 +01:00
Amaury Martiny
2a7b2c7e32 React 16 (#7174)
* Update packages to use React 16

* Rollback to react-router v3

* Use component instead of pure one

* Remove warning about mobx

* Make webpack load css from @parity/ui

* Update enzyme to support react16

* Fix lint

* Use @parity/ui v3

* Update refs of plugin-signer-* deps

* Exclude plugin-signer-* from babel processing

* Reupdate refs to old method

* Update refs again
2017-12-01 12:30:13 +01:00
Jaco Greeff
cebf493dce
Cleanup top bar, add Home icon for navigation (#7118)
* Localise images to config.js file

* Remove sample status plugin (commented)

* Update image references from config

* Remove Unknown capability & Capable (only display actions)

* Update to @parity/ui 2.2.14

* Add Home icon on statusbar (go back)

* 2.2.14 -> 2.2.x

* Builtin dapp icons where dappreg not available
2017-11-22 14:56:12 +01:00
Marek Kotewicz
309254348b
Merge pull request #7100 from paritytech/jg-dapp-localUrl
Local dapp development URL
2017-11-21 20:42:51 +01:00
Jaco Greeff
fcee1c0ac8
Remove unused and duplicated files in js-old (#7082)
* Cleanup v1 build process, application-only

* Remove built-in dapps from build (duplicated)

* User @parity/api instead of local version

* Update references to @parity/abi

* Remove unused js-old api/abi folders

* Remove duplicated v1 jsonrpc

* Cleanup unused routes

* Update manifest with wallet image

* Update wallet logo

* Re-add missing test.sh

* Update rpc mocks

* Update tests for Providers

* Use flex for iframe & status

* Additional cleanups (Home screen for embed)

* Keep statusbar fixed (and non-overallping with dapps)
2017-11-21 17:38:06 +01:00
Amaury Martiny
570fc56af7 Optimize & group dapp requests (#7083)
* Group similar methods in same grouping

* Add a shell_getMethodGroups API

* Small code clean changes

* Fix bug dapp.name not showing

* Additional error handling

* Store sources in own map

* Remove observable variables where not needed

* Refactor code and fix bug dapp not showing on approve
2017-11-21 15:50:38 +01:00
Jaco Greeff
e7543f656a Remove debug log 2017-11-21 15:17:05 +01:00
Jaco Greeff
20f8943eb3 Cleanup debug info 2017-11-21 15:04:47 +01:00
Jaco Greeff
e67b05e632 Use query-string for search parsing 2017-11-21 12:31:34 +01:00
Jaco Greeff
ac722e9e50 Add appId as needed to local dapps 2017-11-20 13:37:52 +01:00
Jaco Greeff
0bf48e94cc Properly display Signer errors (Snackbar display popup) (#7053)
* Update to fixed @parity/ui (Errors component)

* Update ParityBar radius to align with Snackbar/Errors

* Update to latest @parity/ui

* Update dependencies @parity/signer-plugin-*

* Really pull in @parity/signer-plugin-* deps
2017-11-15 11:28:42 +01:00
Jaco Greeff
2e6cf8e04b
Add mui for embed compilation (#7049) 2017-11-13 18:34:51 +01:00
Jaco Greeff
3833f87256
Complete token merge, remove unused files (#7037)
* Either js or js-old to have changes to trigger push-cargo

* Complete merge of token changes (code move to js-shared)

* Update setting variable
2017-11-13 13:44:51 +01:00
Jaco Greeff
ce1609726f
Update v1 Wallet Dapp (#6935)
* Start removing duplicated functionality (v1 inside v2)

* Update compilation targets

* Update locks

* Fix js-old build

* Update with removed extra references

* Adapt dev.{parity,web3}.html for extra debug info

* Update dependencies

* Remove Tooltips

* Update dependencies

* Only inject window.ethereum once

* Fix versions to 2.0.x for @parity libraries

* Update to @parity/api 2.1.x

* Update for @parity/api 2.1.x

* Freeze signer plugin dependency hashes

* Fix lint

* Move local account handling from API

* Update for 2.2.x @parity/{shared,ui}

* Update API references for middleware

* Install updated dependencies

* Update for build

* Always do local builds for development

* Remove unused hasAccounts property

* Fix Windows build for js-old

* Adjust inclusing rules to be Windows friendly

* Explicitly add --config option to webpack

* Add process.env.EMBED flag for Windows compatability

* Revert embed flag

* Fix build

* Merge changes from beta

* Update packages after merge

* Update Accounts from beta

* Update with beta

* Remove upgrade check

* Fix CI build script execution

* Make rm -rf commands cross-platform

* Remove ability to deploy wallets (only watch)

* Update path references for js-old (Windows)

* Render local dapps first

* Cleanup dependencies
2017-11-13 09:31:08 +01:00
Tomasz Drwięga
aaeb5d4cd7 Fixes for parity-extension (#6990)
* Fix extension support.

* Fix environment variables on windows.

* Fix package-lock.json

* Fix build issues.
2017-11-09 13:20:26 +01:00
Jaco Greeff
f282823e78 Shell updates (bonds, updated Dapps) (#6897)
* Remove stage-0

* Re-add stage-0 for `export default from './xyz';`

* Add background loading image

* Add window.isParity for parity-specific actions

* inject bonds (temporary)

* Remove loading text overlay

* Remove background around logo

* Remove debug log

* Fix account selection (correct component used)

* Update with changed dapp dependencies

* Add oo7 to list of babel node_module targets

* injectObjects -> onDappLoad
2017-10-25 16:54:41 +02:00
David Dorgan
bdf1e6afcc Revert "Sync parity-ewf with parity"
This reverts commit f7ba063b22.
2017-10-24 13:31:58 +01:00
David Dorgan
f7ba063b22 Sync parity-ewf with parity 2017-10-24 12:31:50 +01:00
Tomasz Drwięga
bfcf4c4281
Merge branch 'master' into td-ui-2 2017-10-19 15:46:15 +02:00
Jaco Greeff
fdbf6bf7d6 Refresh cached tokens based on registry info & random balances (#6818)
* Refresh cached tokens based on registry info & random balances

* Don't display errored token images
2017-10-19 14:18:21 +02:00
Tomasz Drwięga
304b067417
Support both versions. 2017-10-17 18:10:59 +02:00
Tomasz Drwięga
0f8fb62581
Integrate old UI. 2017-10-17 16:09:43 +02:00
Jaco Greeff
9e4c1fe6af Update warning layout 2017-10-16 15:51:55 +02:00
Afri Schoedon
b63c3a66ca Fix sign data typo, ref #6737 (#6750) 2017-10-16 10:08:36 +02:00
Nicolas Gotchac
78146e903d Fix badges not showing up (#6730)
* Fix badges not showing up

* Always fetch meta data first [badges]
2017-10-12 22:17:59 +02:00
Nicolas Gotchac
3e7b775961 Fix tokens and badges (#6725)
* Update new token fetching

* Working Certifications Monitoring

* Update on Certification / Revoke

* Fix none-fetched tokens value display

* Fix tests
2017-10-12 20:09:44 +02:00
Jaco Greeff
edbbd42d80 Check vouch status on appId in addition to contentHash (#6719)
* Check vouch status on appId in addition to contentHash

* Simplify var expansion
2017-10-12 19:28:56 +02:00
Jaco Greeff
7feb82c242 Display vouched overlay on dapps (#6710)
* Remove .only

* Add vouch overlays to dapps

* Cleanup address

* Only run where we have a contentHash

* GitLab kickstart
2017-10-11 21:05:50 +02:00