Commit Graph

368 Commits

Author SHA1 Message Date
Iuri Matias 2821c3deb1 improve sidebars width 2018-10-24 17:20:36 -04:00
Iuri Matias 886b78f497
Merge pull request #158 from status-im/feature/move-contracts-page-to-explorer
Move contracts to explorer
2018-10-24 17:13:37 -04:00
Iuri Matias 90c033187d
Merge pull request #156 from status-im/features/explorer-pagination
Add pagination to explorer
2018-10-24 17:13:16 -04:00
Jonathan Rainville 60c07072cf review comments 2018-10-24 16:41:05 -04:00
Andre Medeiros d02edf869b Move contracts to explorer 2018-10-24 16:03:46 -04:00
Jonathan Rainville d8145e80b1 fix tabs 2018-10-24 16:03:40 -04:00
Jonathan Rainville e268c5b8c8 remove hard-coded color 2018-10-24 15:23:31 -04:00
Jonathan Rainville c50390fb01 fix dark-theme layout 2018-10-24 15:20:31 -04:00
Jonathan Rainville 90fafd0158 fix linting on the explorer 2018-10-24 15:09:32 -04:00
Jonathan Rainville 3d3ce559e9 add pagination to transactions too 2018-10-24 14:51:09 -04:00
Jonathan Rainville ab3fa97592 change page when clicking on it for blocks 2018-10-24 14:51:09 -04:00
Jonathan Rainville 8bdc8d41d4 start pagination at the end 2018-10-24 14:51:09 -04:00
Jonathan Rainville a1b18b74f8 conflict in css 2018-10-24 14:50:07 -04:00
Jonathan Rainville 6c92e7b24d display correct pagination whatever the page 2018-10-24 14:48:48 -04:00
Jonathan Rainville 09e21f3386 conflict in layout 2018-10-24 14:48:48 -04:00
Jonathan Rainville 78e9d3257d conflict in explorer 2018-10-24 14:48:48 -04:00
André Medeiros 5fd69b60fa
Merge branch 'develop_51' into restyle-code-editor-top-bar 2018-10-24 14:14:59 -04:00
Iuri Matias 7175bc506c
Merge pull request #153 from status-im/restyle-explorer
Restyle explorer
2018-10-24 14:13:11 -04:00
Iuri Matias 8e6272d75f fix merge conflict 2018-10-24 14:11:24 -04:00
Anthony Laibe f0eb03bf05 Add editor tabs 2018-10-24 14:02:31 -04:00
Andre Medeiros 690788899e Refactor the toggle to show it on the file tree 2018-10-24 13:57:57 -04:00
Andre Medeiros 69482bda42 Refactor the right navigation 2018-10-24 13:37:40 -04:00
Iuri Matias 21d1e1e423
Merge pull request #151 from status-im/chores/fix-class-and-remove-dup
Remove usage of class and duplicate component
2018-10-24 13:20:16 -04:00
Iuri Matias 5efda2c428 move debugger to sidebar; fix config issue 2018-10-24 13:10:31 -04:00
Jonathan Rainville 991066a1f5 use bootstrap border utility 2018-10-24 11:54:21 -04:00
Jonathan Rainville e456a76d19 better position columns 2018-10-24 11:01:03 -04:00
Jonathan Rainville 54ee9417db remove unused references 2018-10-24 10:56:36 -04:00
Jonathan Rainville ee3d23567e remove useless align class 2018-10-24 10:54:25 -04:00
Jonathan Rainville 28a1303adf conflict in explorer layout 2018-10-24 10:52:53 -04:00
Jonathan Rainville 3a1042d7a9 conflict in blocks and accounts 2018-10-24 10:46:58 -04:00
Jonathan Rainville bc0a89fd6d conflict in transactions 2018-10-24 10:45:06 -04:00
Jonathan Rainville 2ed2f9388b conflict in blocks 2018-10-24 10:42:06 -04:00
Anthony Laibe 31ea6cbbb1 Remove usage of class and duplicate component 2018-10-24 09:18:42 +01:00
Iuri Matias 29ebd9c8e0 update contract debugger to not user tabler react anymore 2018-10-23 21:52:47 -04:00
Iuri Matias 1d6da99e8f display last error found
display last line on tx

fix debugger call

listen to source event only after jumping to the end

keep track of last tx; add minimal debug feature; fix ast issue

initial debugger apis & ui integration

prevent crash when step is out of bounds; send all all available data in websocket

add debugger commands

fix line number tracking in editor; toggle breakpoints

replace timeouts with callbacks

add debugger manager & refactor

refactor debugger api

refactor cmd line debugger

reduce debugger decoupling

reduce debugger decoupling

fix debug buttons

trigger source update so api triggers ws event to update source location

move locals and contracts vars to a json view

improve debugger icons

simplify debugger data

update debug package

add command handler to get a contract given a tx; update debugger so it can get a contract by its tx instead of tracking latest txs only

update debugger package
2018-10-23 18:27:40 -04:00
Anthony Laibe 00a8d9baea Add toolbar to editor
Rename overview to detail

React to save file for local storage

Add switch for hidden files

move units to ether instead of wei

separate description from link itself which makes UI cleaner

remove unneded explorer header

switch nav menu color to white

replace contract address table with simple paragraph instead

improve contract functions page

improve contract functions view

style/fix functions tab

fix rebase issue

re-style contracts sidebar

improve contract detail sidebar
2018-10-23 16:13:19 -04:00
Anthony Laibe b1da43a684 Update package lock 2018-10-23 17:06:36 +01:00
Anthony Laibe aecc667a8c
Display a search for small screen 2018-10-23 11:13:22 +02:00
Anthony Laibe 4ed329c21d
Responsive Layout 2018-10-23 11:12:53 +02:00
Anthony Laibe 3bb696e4d3
Do not fetch processes/plugins/services at
each route change

Version is not fetched anymore, we cannot use them as an
anchore
2018-10-23 11:12:53 +02:00
Pascal Precht 892200a236
fix(cockpit/services/api): make sure query params are serialized correctly
In 9097f31c83 we ensured to send query parameters
along with GET requests done by our API service. This resulted in weird behaviour
where query parameters have been attached as `params` in a serialized format of our API requests.

So instead of sending sth. like:

```
/embark-api?token=foo-bar
```

Requests looked like:

```
/embark-api?params=...
```

This has even been patched accordingly on the server like here 043697bddc,
while still being unpatched in other places on the server.

It turns out however, that the reason this `params` parameter appears, is that all of our GET requests,
already send their payload as `params`.

This commit now ensures that GET parameters are sent in the correct format.
2018-10-23 11:12:53 +02:00
Jonathan Rainville fd67844235
review comments 2018-10-23 11:12:53 +02:00
Jonathan Rainville 2d66870773
fix dashboard broken 2018-10-23 11:12:53 +02:00
Jonathan Rainville e660eaea72
add tooltip on copy when there is no onCopy prop 2018-10-23 11:12:52 +02:00
Jonathan Rainville ab77cc012e
conflict in index.css 2018-10-23 11:12:52 +02:00
Jonathan Rainville 29fb9fbe80
add copyButton to abi and bytecode thing 2018-10-23 11:12:52 +02:00
Jonathan Rainville bd4f4726b3
create CopyButton component to wrap arround CopyToClipboard 2018-10-23 11:12:52 +02:00
Jonathan Rainville 261b4eddf3
linting 2018-10-23 11:12:52 +02:00
Jonathan Rainville 6150ce0b54
review comments 2018-10-23 11:12:51 +02:00
Jonathan Rainville 972e0aca40
remove leftover comment 2018-10-23 11:12:51 +02:00