2230 Commits

Author SHA1 Message Date
emizzle
a915be67fc 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-08-30 21:14:50 +10:00
emizzle
52289c0d5e 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-08-30 21:14:50 +10:00
emizzle
b10f2927fb concat deployed fiddle contracts with existing contracts 2018-08-30 21:14:50 +10:00
emizzle
e6440a758d 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-08-30 21:14:50 +10:00
emizzle
f10066a9d6 add contract class for assisted construction
# Conflicts:
#	package-lock.json
2018-08-30 21:14:50 +10:00
Jonathan Rainville
f5e33e5a74 add back return all errors 2018-08-28 08:25:38 -04:00
Jonathan Rainville
d09077ea0a fix most rebase issues 2018-08-27 16:22:53 -04:00
Iuri Matias
538b19ff19 rebase fixes 2018-08-23 12:38:54 -04:00
Iuri Matias
7913543497 rebase fixes 2018-08-23 11:36:08 -04:00
Anthony Laibe
82cf5a95b3 PR feedback: Use request 2018-08-22 19:18:30 -04:00
Anthony Laibe
1d82c32315 Deploy contract 2018-08-22 19:18:30 -04:00
Anthony Laibe
1a35735698 Show result 2018-08-22 19:18:30 -04:00
Anthony Laibe
9d1a6dad3d Make call successfully 2018-08-22 19:18:30 -04:00
Anthony Laibe
7d0a4afd88 Call Function API 2018-08-22 19:18:30 -04:00
Anthony Laibe
cd2f015678 Show sources 2018-08-22 19:18:30 -04:00
Anthony Laibe
6e7f9a95d8 Display error + lint 2018-08-22 19:18:30 -04:00
Anthony Laibe
b18f3109d9 Client fixes 2018-08-22 19:18:30 -04:00
Anthony Laibe
b716318d82 Lookup/Resolver between EmbarkJS and Embark 2018-08-22 19:18:29 -04:00
Anthony Laibe
d15e49394e Use subdomain 2018-08-22 19:18:22 -04:00
Anthony Laibe
e03d1b3e0a Show ENS records 2018-08-22 19:18:22 -04:00
Anthony Laibe
da39f68954 Fix method call 2018-08-22 19:18:22 -04:00
Anthony Laibe
cf7e82b26b API for ens 2018-08-22 19:18:22 -04:00
Anthony Laibe
dca07bcfc2 Add plugins and versions to backend tab 2018-08-22 19:18:22 -04:00
emizzle
b9a0d3a19f Removed the contract compile event
(really did it this time)
2018-08-22 19:18:21 -04:00
emizzle
3579f59e41 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-08-22 19:18:21 -04:00
emizzle
6ddc481674 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-08-22 19:18:21 -04:00
emizzle
3561148b8c Fiddle now showing compilation warnings and errors 2018-08-22 19:18:21 -04:00
Anthony Laibe
e2a49b7d01 Display compilation result 2018-08-22 19:18:21 -04:00
emizzle
45d185b4ed Code compilation API working, but not updating state 2018-08-22 19:18:21 -04:00
emizzle
c9705f1c24 Initial compile API and Fiddle container/pres components 2018-08-22 19:18:20 -04:00
Jonathan Rainville
a553dd0555 put as one line 2018-08-22 19:18:20 -04:00
Jonathan Rainville
bf628b58c8 watch for future contract logs 2018-08-22 19:18:20 -04:00
Jonathan Rainville
cc8a50c732 conflict in contarct container 2018-08-22 19:18:20 -04:00
Jonathan Rainville
08b02c477f add contract logs 2018-08-22 19:18:20 -04:00
Jonathan Rainville
4c11db83e6 rename name to className so it matches contract object 2018-08-22 19:18:19 -04:00
Anthony Laibe
3300a7754b Fix fuzzer for bytes and uint 2018-08-22 19:18:19 -04:00
Jonathan Rainville
f3f68a73f2 register api calls when web3 ready 2018-08-22 19:18:19 -04:00
Jonathan Rainville
bcbf6f8460 clean listenTo 2018-08-22 19:18:19 -04:00
Jonathan Rainville
1956bdd77d fix old WS not open and show subscriptions list 2018-08-22 19:18:18 -04:00
Jonathan Rainville
ab6ff35708 conflict in saga 2018-08-22 19:18:18 -04:00
Jonathan Rainville
0ba9276997 use topic param for listenTo 2018-08-22 19:18:18 -04:00
Jonathan Rainville
aaf6415549 conflict in saga and action 2018-08-22 19:18:18 -04:00
Jonathan Rainville
a147288567 add communicationFunctions that has listenTo and send 2018-08-22 19:18:18 -04:00
Anthony Laibe
ba6bf2c341 Adding new reducer and selector 2018-08-22 19:18:17 -04:00
Iuri Matias
d4febce1d4 remove commented code 2018-08-22 19:18:17 -04:00
Iuri Matias
7d74097f33 add contracts and contract page 2018-08-22 19:18:13 -04:00
Iuri Matias
9c197f23fb refactor format params 2018-08-22 19:18:13 -04:00
Iuri Matias
2915a608a1 refactor profile caller 2018-08-22 19:18:13 -04:00
Iuri Matias
33306887f8 use json in table generation 2018-08-22 19:18:13 -04:00
Iuri Matias
bb53b1b6ef return profiler object instead of text 2018-08-22 19:18:13 -04:00