Commit Graph

309 Commits

Author SHA1 Message Date
Pascal Precht c8bd4f19e3
cleanup(cockpit/TextEditorContractsToolbar): remove unused `Icon`
In https://github.com/status-im/embark-area-51/commit/c8339c074 we started using
Font Awesome Icons, so this is a leftover.
2018-10-23 11:12:50 +02:00
Pascal Precht e692e7b19e
fix(cockpit/sevices/api): properly send query parameters for get requests
Ever since we moved to using Axios in 20831179fc,
we haven't properly sent GET parameters along with the requests.

This is because Axios exposes two different properties to send params
along different http verb methods.
2018-10-23 11:12:49 +02:00
Anthony Laibe a1c33a23a2
Remove tabler-react 2018-10-23 11:12:49 +02:00
Anthony Laibe 627fec5b49
Use cards in contract deployment 2018-10-23 11:12:48 +02:00
Pascal Precht 8740c8c0c9
fix(cockpit/Layout): ensure Layout render doesn't throw
In https://github.com/status-im/embark-area-51/commit/62964c8ce we've introduced a
regression where are two errors are thrown when `Layout` component is rendered:

- one for NavItem not having a key property
- one for margin-top not being a supported style property on Container

This commits fixes both.
2018-10-23 11:12:48 +02:00
Anthony Laibe ba5e479ae8
PR feedback 2018-10-23 11:12:48 +02:00
Anthony Laibe 2c74c2aa30
Add identicon 2018-10-23 11:12:48 +02:00
Pascal Precht 98fc1ab51e
fix(cockpit/AppContainer): allow bootstrap with query params
Cockpit allows for authentication via a `token` query parameter a la

```
http://localhost:8000/embark?token=xxxx-xxxx-xxxx-xxxx
```

So far, this was the only query parameter cockpit knew about, which is
why the algorithm during bootstrap always assumed that, if we have
query parameters, there has to be a `token` query parameter.

However, since 20831179fc, this turns out to be a problem. The hashing algorithm
for the request headers will throw, when `token` is not defined, which
can be possible with future features that add new query parameters.

This can be easily reproduced by bootstrapping/refreshing Cockpit using
any arbitrary query string parameter that is not `token`.

With this commit we ensure that we only perform query string authentication
when a `token` parameter is available.
2018-10-23 11:12:48 +02:00
Pascal Precht 8562a3f6c8
feat(cockpit): enable query param authentication in development mode
Prior to this commit it wasn't possible to authenticate using the
`token` query param as the `host` used for authentication doesn't
match the one of the Embark host.
2018-10-23 11:12:47 +02:00
Anthony Laibe ff0d7d20df
Better format element of explorer 2018-10-23 11:12:47 +02:00
Anthony Laibe 4e23acb558
PR feedback 2018-10-23 11:12:47 +02:00
Anthony Laibe 3844d864e7
Apply PR feedback 2018-10-23 11:12:47 +02:00
Anthony Laibe a4d4278dc9
Adding option to switch deployment pipeline 2018-10-23 11:12:47 +02:00
Anthony Laibe 83a9fd4ed0
Add debugger line highlight 2018-10-23 11:12:00 +02:00
Iuri Matias d5cd0b0ff7
address code review 2018-10-23 11:12:00 +02:00
Pascal Precht 923bacf22f
feat(cockpit): introduce transaction decoder component
This commit adds a new component to decode and analyze transactions.
It's similar to the transaction component that's already available,
with the difference that it takes advantage of the ReactJson tree
view for better analysis experience.
2018-10-23 11:12:00 +02:00
Anthony Laibe fb29e5a7c8
Add/remove breakpoints 2018-10-23 11:12:00 +02:00
Iuri Matias d1cb157da1
remove unsued variables 2018-10-23 11:11:59 +02:00
Iuri Matias 315413a87e
transform card view into a card; remove duplicated names per tab 2018-10-23 11:11:59 +02:00
Iuri Matias b86761e83d
restrict logs; switch order in dashboard; don't limit height in contracts box 2018-10-23 11:11:58 +02:00
Iuri Matias b06d224883
fix services & processes; improve UI 2018-10-23 11:11:58 +02:00
Iuri Matias 167cf50db5
move console to embark tab; add search box to top bar 2018-10-23 11:11:57 +02:00
Iuri Matias c2eaa80923
add icons to top bar navigation 2018-10-23 11:11:15 +02:00
Iuri Matias 6fd6988b0f
ui fixes 2018-10-23 11:11:14 +02:00
Andre Medeiros edb8c99af3
Send params in data 2018-10-23 11:11:14 +02:00
Pascal Precht eb412c026b
feat(cockpit/utils): introduce components to sign and verify messages 2018-10-23 11:11:14 +02:00
Jonathan Rainville 1c85d898b7
fix search box css in dark theme 2018-10-23 11:04:02 +02:00
Jonathan Rainville cf294d8bb2
move explorer search to its own file 2018-10-23 11:04:01 +02:00
Jonathan Rainville 29ec199195
review comments 2018-10-23 11:04:01 +02:00
Jonathan Rainville 5cfe208f6f
little fixes 2018-10-23 11:04:01 +02:00
Jonathan Rainville 224a5bd3fd
fix css a bit and submit on enter press 2018-10-23 11:04:01 +02:00
Jonathan Rainville 56ebd94d6d
add loading message on search 2018-10-23 11:04:01 +02:00
Jonathan Rainville 7ea2cb2ed6
show error if it fails 2018-10-23 11:04:01 +02:00
Jonathan Rainville 847e20d092
change page on search result 2018-10-23 11:04:00 +02:00
Jonathan Rainville 890dc50768
conflict in reducer and sagas 2018-10-23 11:04:00 +02:00
Pascal Precht a53976ad3d
uiux(login): introduce dark-theme for login screen
This introduces a new dark-theme file for the login screen
and ensures that it keeps the contrast ratio in tact when
switching themes.

Notice that it simply overrides the component styles which are
expected to be light-theme by default. That's because we don't
maintain equivalent SCSS files for the light-theme at the moment.

Fixes #114
2018-10-23 11:04:00 +02:00
Jonathan Rainville 66a371466d
conflict in explorer layout 2018-10-23 11:04:00 +02:00
Anthony Laibe 6e24b0eb85
Remove uneeded handler 2018-10-23 11:04:00 +02:00
Anthony Laibe 2d287c43f3
Ignore badly formatted message 2018-10-23 11:03:59 +02:00
Anthony Laibe 2a9262c4b9
Adding filter 2018-10-23 11:03:59 +02:00
Anthony Laibe 96c3575e75
Add Contract Events to UI 2018-10-23 11:03:59 +02:00
Anthony Laibe 5fa118ae2e
Event function filt 2018-10-23 11:02:54 +02:00
Anthony Laibe a118fc1017
Remove extra spaces between logs 2018-10-23 11:02:53 +02:00
Iuri Matias eb8de02ed0
refactor json object check 2018-10-23 11:02:53 +02:00
Iuri Matias 4020d4d6c1
detect is log is an object and display json view 2018-10-23 11:02:53 +02:00
Iuri Matias b126871a95
first stab at getting nice json output in the logs 2018-10-23 11:02:53 +02:00
Jonathan Rainville 639ede7b77
conflict in package json 2018-10-23 11:02:52 +02:00
Jonathan Rainville 5e1d60882d
review comments for storage 2018-10-23 11:02:09 +02:00
Jonathan Rainville 0b16b028b4
remove comments in scss files 2018-10-23 11:02:09 +02:00
Jonathan Rainville 2edbef81e4
conflict in constants 2018-10-23 11:02:09 +02:00