Commit Graph

29 Commits

Author SHA1 Message Date
Jaco Greeff
de78c703f5
Bump dev (incl. lint fixes) (#304) 2020-04-01 18:49:49 +02:00
Jaco Greeff
0be206d4e0
Bump dev, adjust JSX props (#303) 2020-04-01 13:39:47 +02:00
Jaco Greeff
c9f4c2e4a6
Provide metadata from external source (#288)
* Provide metadata from external source

* Listing via metadata interface

* Updates

* UI update

* Storage & end-to-end
2020-03-26 11:01:33 +01:00
Amaury Martiny
89dad985fb
Pull out extension-base (#271)
* Create a extension-base package

* Fix lint and test

* Update to beta.3

* Yarn install

* Update package

* Fix merge errors

* Remove useless single-entry folders

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-03-21 11:07:11 +01:00
Jaco Greeff
3f2e1ae172
Swap createType to registry.createType (#268) 2020-03-16 16:03:42 +01:00
Jaco Greeff
7efd915506
Bump deps (#216) 2020-01-06 15:27:25 +01:00
Ivan Rukhavets
85db56cd0f Redesign (#203)
* Inject theme using styled-components' ThemeProvider (#3)

* Apply colors from design, styles refactoring (#5)

* Add new tip and accounts screen without accounts (#7)

* Sync with upstream (#10)

* Use Nunito font (#11)

* Create account first page (#14)

* Customizable identicon (#13)

* Inline buttons (#16)

* Welcome screen styling (#17)

* Account creation second step (#15)

* Add new header (#20)

* change welcome screen (#19)

* Account screen (#18)

* Update from upstream (#21)

* Window title (#25)

* New authorize (#24)

* Refactor and remove unnecessary stuff from theme (#22)

* refactor add  accounts screen (#29)

* Export and forget screens, change general padding to 24px (#27)

* Signing screen (#26)

* Import account screens (#31)

* Change header with settings (#28)

* Refactor button and mnemonic (#30)

* Restyle checkbox (#33)

* Remove opacity from background; add borders (#32)

* Code style polishing (#34)

* Move fileMock to __mocks__ (#35)

* Add light theme (#36)

* Small design changes (#38)

* Change background color (#39)

* Sync with upstream (#41)

* Update screenshots in readme

* [CI Skip]  0.14.0-beta.7

skip-checks: true

* fix error for display menu (#42)

* fix display of authorization (#43)

* firefox scrol (#45)

* small change for rename account (#44)

* Sync with upstream

* Print and back button (#48)

* delete print button and change cancel to back button

* Set body color (#49)

* Fix the fix of account rename (#52)

* Update generic sign screen (#47)

* Improve UI/UX design (#53)

* [CI Skip]  0.14.0-beta.10

skip-checks: true

* Improve QR code recognition on dark theme (#54)

* Add proper tx/sign texts and headers (#55)

Co-authored-by: Kamil Dąbrowski <kamil@ethworks.io>
2019-12-20 10:06:43 +01:00
Caio
411e1f1ed1 Implement signRaw (#196) 2019-12-06 15:49:37 +01:00
Jaco Greeff
8ff647bb4d
Bump deps (incl. API with registry) (#201)
* Bump deps (incl. API with registry)

* Use sigle registry per chain

* Localized registries

* Linting cleanups
2019-11-26 13:42:26 +01:00
Jaco Greeff
1f858a8024
Button alignment (#182)
* Button alignment

* Adjust test for new button layouts

* Bump deps
2019-10-24 15:48:38 +02:00
Jaco Greeff
1e248093c2
Cleanup details rendering (#151)
* Cleanup details rendering

* Pass request genesisHash to rendering
2019-09-15 20:47:53 +02:00
Jaco Greeff
4945417982
Mobile signer support (via Qr) (#134)
* Add typings to messages

* Fix eslint (after merge)

* Mobile signer support (via Qr)

* Bump common

* Pass through genesisHash

* Ok, well, it does something... not recognized

* Bump ui

* Exclude build from lint

* **

* Display accounts with prefix from genesisHash

* Adapth for object via scan interface

* Bump deps

* Split address recoding

* Cleanup decoding readability

* Display chain affinity overlay

* -1 prefix dropdown description

* Add generator command

* Fix TypeScript error

* Lint

* Consistent naming

* Better promise error handling

* Small consistency updates

* Constraint handle typings as much as tsc will allow

* State naming

* Typo in cheain descriptions

* Add signature handler (unused)

* e2e roundtrip

* remove (useless) dev 0.5.1 chain

* Insert ActionBar

* Revert to empty Props interfaces

* SeedLengths type

* Add type to transport subscription message

* nit

* Typecheck passing callback to sendMessage when none expected

* Bump api

* Small lint fixes

* Bump  api

* Not sure it works... but linting passes

* Split public/private

* Alphabetical

* Don't show button on no media

* Remove unneeded resolve - NOT hacking around linting

* Pass edited name through to accounts component

* genesisHash alignments

* Remove KeyringJson

* SignRequest with account

* Align with master naming

* Some manual merges

* Manual (small) conflict resolution

* Fixup extension account mapping

* Remove ununsed messages (less code = better)

* Update comment around generation

* Add copy-to-apps script (debugging)
2019-09-06 13:03:55 +02:00
Jaco Greeff
e20b6e0f16
Split messages into pub/pri (#139)
* Split messages into pub/pri

* Cleanup types for contexts

* genesisHash to edit/create

* (Auth|Sign)Request to record (not tuple)

* Align naming with messages

* Pass account with SignRequest

* Ordering

* Ordering
2019-09-06 10:52:57 +02:00
Axel Chalon
251417b50e Add typings to messages (#130)
* Add typings to messages

* Fix eslint (after merge)

* Fix TypeScript error

* Lint

* Consistent naming

* Better promise error handling

* Constraint handle typings as much as tsc will allow

* Revert to empty Props interfaces

* SeedLengths type

* Add type to transport subscription message

* nit

* Typecheck passing callback to sendMessage when none expected

* Type subscription cb and replace KeyringJson w/ InjectedAccount

Use InjectedAccount for `accounts.list`, `accounts.subscribe`
2019-09-05 16:11:01 +02:00
Jaco Greeff
0d1485db6b
Replace with* with useContext as applicable (#135) 2019-09-01 16:07:52 +02:00
Jaco Greeff
92f749c8ab
Typescript-eslint 2 (#132)
* Setup

* Linting fixes
2019-08-31 09:20:00 +02:00
Jaco Greeff
dd1f9dfacd
Update API to interfaces types (#110)
* Update API to interfaces types

* new GenericCall
2019-07-29 14:25:00 +02:00
Jaco Greeff
0aefb66d92
Update with signPayload for injected signer (#106)
* Update with signPayload for injected signer

* Bare-minimum in interface

* Cleanup linting

* Remove unused (atm) permissions
2019-07-24 16:16:22 +02:00
Jaco Greeff
c70d9a0e63
Swap to eslint (#72)
* 626 problems (430 errors, 196 warnings)

* A start.

* < 200

* 80

* 0
2019-07-12 20:09:44 +02:00
Jaco Greeff
da16a494e8
Make it work with apps (#74)
* Make it work with apps

* Update package.json
2019-07-12 19:58:22 +02:00
Jaco Greeff
a94836977a
Extend message/request ids as string (#48)
* Extend message/request ids as string

* Only decode the current method (as meta available)

* Dep-dup id generation
2019-06-03 13:58:33 +02:00
Jaco Greeff
d8728e473e
Display requests with Iconbox (#32)
* Display requests with Iconbox

* Make (X) clickable

* Remove cc-test-reporter
2019-05-26 14:56:18 +02:00
Jaco Greeff
f241e7191d
Introduce the enable() interface (prompts user) (#20)
* Introduce the enable() interface

* Provider

* Add auth requests to state

* injector comments

* Background extension list, spprove & reject

* Cleanups

* Untested, but the UI parts are there (test next)

* linting

* Not pretty, but seems to auth

* Small styling adjustments

* Adjust Box layout slightly

* Small styling adjustments

* signing -> transactions

* isDanger for links

* Styling defaults
2019-05-23 12:43:55 +02:00
Jaco Greeff
4a2768cee8
Display genesis (or chain, if known), update deps (#19)
* Display genesis (or chain, if known), update deps

* Build optimizations
2019-05-22 13:16:40 +02:00
Jaco Greeff
cdf5579b8e
Rework context with HOCs (#16)
* Rework context with HOCs

* Type for signing requests list
2019-05-21 17:25:39 +02:00
Jaco Greeff
aaf2adbaa8
Adjust some styling (#12)
* Adjust some tyling

* Add danger button color

* Make a's focussable

* Tiny icon peeking move
2019-05-21 13:47:43 +02:00
Jaco Greeff
8c25cb3e39
Swap to using context for accounts & requests (#6)
* Swap to using context for accounts & requests

* Move event handlers
2019-05-20 18:02:20 +02:00
Jaco Greeff
93b135d685
Forget confirmation & account name editing (#4)
* Forget confirmation & account name editing

* Update ActionBar padding
2019-05-20 15:56:11 +02:00
Jaco Greeff
0b6bcd2bb9 Initial commit aka code from heaven 2019-05-20 12:40:44 +02:00