819 Commits

Author SHA1 Message Date
emizzle
b0ba46a0a9 Fiddle deploy integration
Fiddle is properly deploying now, except the source code needs to be saved to the filesystem in order to be recalled later.

Fixes for handling errors on deploy and compilation.

Update contract state UI for determining state / interface / deployed.
2018-09-30 12:08:41 -04:00
emizzle
cc8d10cd68 Fix Tabler browser errors
Fixed browser errors caused by tabler (bodyItems and headerItems complaints) as well as staticContext issues caused by using withRoute(NavLink)

Also added a response to fiddler deployment.

Added loading states to fiddler results, that shows the errors/warnings as having a loading state when compiling/deploying
2018-09-30 12:07:57 -04:00
emizzle
bb44ddc548 concat deployed fiddle contracts with existing contracts 2018-09-30 12:07:57 -04:00
emizzle
71fbc65928 Initial commit for deployment of fiddle
API call set up for contract deploy which deploys the contract(s) sent from the fiddle.

Frontend UI button calls API to deploy the fiddle code.
2018-09-30 12:07:57 -04:00
Jonathan Rainville
650a097ea8 add back return all errors 2018-09-30 11:48:39 -04:00
Jonathan Rainville
4beb492d70 fix most rebase issues 2018-09-30 11:48:39 -04:00
Iuri Matias
5f2c843068 rebase fixes 2018-09-30 11:40:59 -04:00
Iuri Matias
0c586a2b64 rebase fixes 2018-09-30 11:40:59 -04:00
Anthony Laibe
d3b1c74649 PR feedback: Use request 2018-09-30 11:36:59 -04:00
Anthony Laibe
3b3210baae Deploy contract 2018-09-30 11:36:59 -04:00
Anthony Laibe
2c757d9044 Show result 2018-09-30 11:36:59 -04:00
Anthony Laibe
e335132561 Make call successfully 2018-09-30 11:36:59 -04:00
Anthony Laibe
2f55e4868d Call Function API 2018-09-30 11:36:59 -04:00
Anthony Laibe
bf77c2b010 Show sources 2018-09-30 11:36:59 -04:00
Anthony Laibe
d82c5f93fc Display error + lint 2018-09-30 11:36:59 -04:00
Anthony Laibe
ec47f0e204 Client fixes 2018-09-30 11:36:59 -04:00
Anthony Laibe
83ed8b3ee5 Lookup/Resolver between EmbarkJS and Embark 2018-09-30 11:36:25 -04:00
Anthony Laibe
57b93692d6 Use subdomain 2018-09-30 11:34:15 -04:00
Anthony Laibe
5edbe10ad3 Show ENS records 2018-09-30 11:34:15 -04:00
Anthony Laibe
3bd345e0ae Fix method call 2018-09-30 11:34:15 -04:00
Anthony Laibe
13e6980726 API for ens 2018-09-30 11:34:15 -04:00
Anthony Laibe
e6dc284211 Add plugins and versions to backend tab 2018-09-30 11:34:15 -04:00
emizzle
ac2ce45f3b Removed the contract compile event
(really did it this time)
2018-09-30 11:34:15 -04:00
emizzle
9b22c79701 Addressed PR comments
Changed `fiddle` to an entity and removed unneeded fiddle reducer.

Added a selector for getting the entity.

Changed fiddle saga to `doRequest`.

Changed fiddle api call to the `post` method (did not see beofre the rebase).

Added `CompilerError` presentation component to handle displaying compiler errors and warnings.

Added spaces to css (as requested).

Removed extra space after function in solidity compiler (as requested).

Removed the compile contract event from the solidity compiler (as requested).

Handling of fatal api error in the UI.

Changed fiddle action to the one created with `createRequestTypes`.

Moved `Fiddle` nav tab before `Documentation`.

Changed `FiddleResults` DOM manipulation to be controlled via React state instead.
2018-09-30 11:34:15 -04:00
emizzle
607392ae6d Annotations, click to error, UI improvements
Compiler annotations added to editor gutter for errors and warnings

Clicking an error now scrolls editor to offending line and scrolls page to the top of the editor

Added Compiling… loader.
2018-09-30 11:33:14 -04:00
emizzle
03fc5889fc Fiddle now showing compilation warnings and errors 2018-09-30 11:33:14 -04:00
Anthony Laibe
635557b94b Display compilation result 2018-09-30 11:31:17 -04:00
emizzle
01f9508238 Code compilation API working, but not updating state 2018-09-30 11:31:17 -04:00
emizzle
27ff7f80cd Initial compile API and Fiddle container/pres components 2018-09-30 11:31:17 -04:00
Jonathan Rainville
7cb8ac9e35 put as one line 2018-09-30 11:27:19 -04:00
Jonathan Rainville
d0d919ea06 watch for future contract logs 2018-09-30 11:27:19 -04:00
Jonathan Rainville
0f5ba560e6 conflict in contarct container 2018-09-30 11:27:19 -04:00
Jonathan Rainville
245beeeb59 add contract logs 2018-09-30 11:27:19 -04:00
Jonathan Rainville
11e15d57ad rename name to className so it matches contract object 2018-09-30 11:26:05 -04:00
Anthony Laibe
44a52338e5 Fix fuzzer for bytes and uint 2018-09-30 11:26:05 -04:00
Jonathan Rainville
8d670a6af7 register api calls when web3 ready 2018-09-30 11:26:05 -04:00
Jonathan Rainville
fd02447144 clean listenTo 2018-09-30 11:25:29 -04:00
Jonathan Rainville
0abf67589e fix old WS not open and show subscriptions list 2018-09-30 11:25:29 -04:00
Jonathan Rainville
81bda9dbac conflict in saga 2018-09-30 11:25:29 -04:00
Jonathan Rainville
5582527ff3 use topic param for listenTo 2018-09-30 11:25:29 -04:00
Jonathan Rainville
247894ab6c conflict in saga and action 2018-09-30 11:25:29 -04:00
Jonathan Rainville
f3c9a79614 add communicationFunctions that has listenTo and send 2018-09-30 11:23:42 -04:00
Iuri Matias
0781146c38 remove commented code 2018-09-30 11:23:42 -04:00
Iuri Matias
29fdf74ba1 add contracts and contract page 2018-09-30 11:23:42 -04:00
Iuri Matias
aeeb459eac refactor format params 2018-09-30 11:23:42 -04:00
Iuri Matias
ec4283cb92 refactor profile caller 2018-09-30 11:23:42 -04:00
Iuri Matias
f0551cc1fc use json in table generation 2018-09-30 11:23:42 -04:00
Iuri Matias
d06e5d11e3 return profiler object instead of text 2018-09-30 11:23:42 -04:00
Iuri Matias
13bfd7db3f define api for profiler 2018-09-30 11:23:42 -04:00
Anthony Laibe
d5b9ec608a Adding home container 2018-09-30 11:23:09 -04:00