emizzle
05b324dffe
Fiddle use cases fixed
...
Handle use cases:
1) handle case when temp.sol doesn’t exist - due to the new saga updates, the response from retreiving a temp fiddle from the filesystem (even if it doesn’t exist) is forward to the compilation endpoint, which returns an ENOENT, and this is handled in the selector.
2) delete all code - shouldn’t return last fiddle and should compile an empty string.
3) Switch to different tab (ie contracts) then back to fiddle - previous fiddle should remain.
Also fixed an issue (most likely due to latest rebase) when deploying fiddle contracts. The gasLimit was not being specified.
Handled issue where entities stored in the state were not being put in the correct order, so a timestamp was sent with the requests and then sorted when the response was returned.
2018-10-23 10:37:00 +02:00
Anthony Laibe
4ecb092ed3
Remove last fiddle, and use code to compile
2018-10-23 10:37:00 +02:00
emizzle
cd176a5f95
Handle use cases that were failing
...
1) hanlde case when temp.sol doesn’t exist
2) delete all code - shouldn’t return last fiddle
3) Switch to different tab (ie contracts) then back to fiddle - fiddle should now remain.
2018-10-23 10:37:00 +02:00
emizzle
38032e1ef2
Fix bug with deleting all code
2018-10-23 10:36:59 +02:00
emizzle
e027ae258a
Hide deployment section in UI for fiddle contracts
2018-10-23 10:36:59 +02:00
emizzle
b8b98cd6c4
Remove ‘async’ from function name and remove comments
2018-10-23 10:36:59 +02:00
emizzle
cba4e9fb91
Fiddle file stored in filesystem
...
Fiddles are now stored in the filesystem so they can be preserved across page reloads, but also so that contracts deployed via fiddles can have their source code shown.
Fiddles deployed as contracts now fully work with existing contract list UI and functionality. Fiddle deployed contracts are listed in a separate section in the UI.
Current limitation is that only single contracts per file are supported. If the fiddle contains multiple contracts, it’s currently not supported.
2018-10-23 10:36:59 +02:00
emizzle
59d3a3be83
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-10-23 10:36:58 +02:00
emizzle
609d4eb762
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-10-23 10:36:58 +02:00
emizzle
3870f6d316
finish removing loading entities
2018-10-23 10:36:58 +02:00
emizzle
b9041d1434
Removed loadingEntities and added to FiddleContainer
2018-10-23 10:36:58 +02:00
emizzle
83326bfd98
loading entity work
2018-10-23 10:36:58 +02:00
emizzle
e53152624f
Start with reducer/selector for loading entity
2018-10-23 10:36:58 +02:00
emizzle
4d195657dd
Added loading entities
...
Moved functionality out of FiddleDeployButton component
Added loading entities (WIP) to separate loading messages
2018-10-23 10:36:57 +02:00
emizzle
fec740ad6f
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-10-23 10:36:57 +02:00
Anthony Laibe
6038da4339
Deploy contract
2018-10-23 10:34:18 +02:00
Anthony Laibe
870efbcf20
Show result
2018-10-23 10:34:18 +02:00
Anthony Laibe
3c9cea594c
Make call successfully
2018-10-23 10:34:17 +02:00
Anthony Laibe
c234a850e3
Call Function API
2018-10-23 10:34:17 +02:00
Anthony Laibe
cdc7c107a6
Show functions
2018-10-23 10:34:17 +02:00
Anthony Laibe
f3bef0c3a6
Show sources
2018-10-23 10:34:17 +02:00
Anthony Laibe
788db99a0e
Display error + lint
2018-10-23 10:34:02 +02:00
Anthony Laibe
8cd3ccd5af
Fix naming
2018-10-23 10:33:41 +02:00
Anthony Laibe
a2b7ee962c
Rever fiddle order
2018-10-23 10:33:27 +02:00
Anthony Laibe
c01f836391
Fix typo
2018-10-23 10:33:26 +02:00
Anthony Laibe
e1043bf5f5
Use subdomain
2018-10-23 10:33:26 +02:00
Anthony Laibe
9e7d7bbee2
Misc fixes after rebase
2018-10-23 10:33:07 +02:00
Anthony Laibe
3bb15194ea
Lint
2018-10-23 10:33:07 +02:00
Anthony Laibe
8deae7209e
Register and resolve
2018-10-23 10:33:07 +02:00
Anthony Laibe
0f7a30f530
Show ENS records
2018-10-23 10:33:06 +02:00
Anthony Laibe
b6156e7632
Add actions/api/reducers/sagas
2018-10-23 10:32:42 +02:00
Anthony Laibe
83d6130259
Add plugins and versions to backend tab
2018-10-23 10:32:02 +02:00
emizzle
950f285d2e
Fix react ‘key’ error
2018-10-23 10:31:36 +02:00
emizzle
dba61ed382
Make linter happy
2018-10-23 10:31:36 +02:00
emizzle
6f8f9a14d9
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-10-23 10:31:36 +02:00
emizzle
4f2b838526
add page title class
2018-10-23 10:31:35 +02:00
emizzle
32575437cd
Remove comments and spaces
2018-10-23 10:31:35 +02:00
emizzle
8e3e3129c5
Fix rebase
2018-10-23 10:31:35 +02:00
emizzle
8caa478968
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-10-23 10:31:35 +02:00
emizzle
70f5a09d47
Fiddle now showing compilation warnings and errors
2018-10-23 10:31:35 +02:00
Anthony Laibe
52cec0a29e
Display compilation result
2018-10-23 10:31:35 +02:00
emizzle
1d13c71d83
Code compilation API working, but not updating state
2018-10-23 10:31:34 +02:00
emizzle
ddcccb3c2d
Initial compile API and Fiddle container/pres components
2018-10-23 10:31:34 +02:00
emizzle
12faeb7866
Swapped editor to Ace
2018-10-23 10:31:34 +02:00
emizzle
518111132b
Added monaco editor via react-monaco-editor
...
Needs to pull version from package.json
2018-10-23 10:31:34 +02:00
emizzle
fd97ba51c7
Initial commit of fiddle tab
...
Not any functionality yet
2018-10-23 10:31:34 +02:00
Jonathan Rainville
04a7d2a50b
rename compoenent to right name
2018-10-23 10:31:33 +02:00
Jonathan Rainville
e0ca082a57
watch for future contract logs
2018-10-23 10:31:33 +02:00
Jonathan Rainville
1ffe9505c8
conflict in contarct container
2018-10-23 10:31:33 +02:00
Jonathan Rainville
031ccc37ee
add contract logs
2018-10-23 10:31:33 +02:00
Jonathan Rainville
c7f9a374f2
rename name to className so it matches contract object
2018-10-23 10:31:33 +02:00
Jonathan Rainville
289ed2bda8
remove messages reducer
2018-10-23 10:31:32 +02:00
Jonathan Rainville
2ca039cd1b
fix subscriptions, now called messageChannels
2018-10-23 10:31:32 +02:00
Jonathan Rainville
3d094164e5
fix listen to channels
2018-10-23 10:31:32 +02:00
Jonathan Rainville
d27ecb5b20
conflict in action
2018-10-23 10:31:31 +02:00
Jonathan Rainville
ea3cd474b9
conflict in action
2018-10-23 10:31:31 +02:00
Jonathan Rainville
f66a018241
fix no rendering on subscriptions
2018-10-23 10:31:31 +02:00
Jonathan Rainville
25677799cd
fix post
2018-10-23 10:31:31 +02:00
Jonathan Rainville
c2c00835f8
fix old WS not open and show subscriptions list
2018-10-23 10:31:31 +02:00
Jonathan Rainville
743a80165b
use loader
2018-10-23 10:31:31 +02:00
Jonathan Rainville
0811733a33
style messages boxes
2018-10-23 10:31:30 +02:00
Jonathan Rainville
fd1b43d3e3
conflict in saga
2018-10-23 10:31:30 +02:00
Jonathan Rainville
46996f41c9
move presentation in another component
2018-10-23 10:31:09 +02:00
Jonathan Rainville
d3f897e204
use topic param for listenTo
2018-10-23 10:31:09 +02:00
Jonathan Rainville
11bf667ad4
conflict in saga and action
2018-10-23 10:31:08 +02:00
Jonathan Rainville
9208778089
add back communicationContainer in layout
2018-10-23 10:30:00 +02:00
Jonathan Rainville
54dc1f04ad
add back explorerLayout
2018-10-23 10:30:00 +02:00
Jonathan Rainville
99492c3884
css conflict
2018-10-23 10:27:42 +02:00
Jonathan Rainville
e098c2cb7d
weird
2018-10-23 10:27:42 +02:00
Anthony Laibe
1bd5174f61
Adding new reducer and selector
2018-10-23 10:27:42 +02:00
Iuri Matias
bb844caa48
fix merge issues
2018-10-23 10:27:42 +02:00
Iuri Matias
17c8a4927e
fix double export
2018-10-23 10:27:42 +02:00
Iuri Matias
af4bae7ced
move root function to the end
2018-10-23 10:27:41 +02:00
Iuri Matias
92c952c7d1
use constant for the route
2018-10-23 10:27:41 +02:00
Iuri Matias
aa0adeb67f
fix naming of contract profile
2018-10-23 10:27:41 +02:00
Iuri Matias
3dc868eeeb
make linter happ-ier
2018-10-23 10:27:41 +02:00
Iuri Matias
8ebd125575
cleanup
2018-10-23 10:27:41 +02:00
Iuri Matias
dcf94a0924
Fix route; style other components
2018-10-23 10:27:40 +02:00
Iuri Matias
95158960c1
add profiler to contract layout
2018-10-23 10:27:40 +02:00
Iuri Matias
9c4ecbdfd6
display contract profile
2018-10-23 10:27:40 +02:00
Iuri Matias
eb3bf4a6ba
include contract layout
2018-10-23 10:27:40 +02:00
Iuri Matias
fb3753215f
add contract page
2018-10-23 10:27:40 +02:00
Iuri Matias
40004b5655
add contracts and contract page
2018-10-23 10:27:40 +02:00
Anthony Laibe
546d7af076
Adding Console command
2018-10-23 10:26:57 +02:00
Anthony Laibe
89b64adc4a
Convert processes
2018-10-23 10:26:57 +02:00
Anthony Laibe
5731f7e1df
Add processes to home
2018-10-23 10:26:57 +02:00
Anthony Laibe
5039d8b414
Adding home container
2018-10-23 10:26:57 +02:00
Anthony Laibe
83c56b6740
Apply changes for block and transaction + error
2018-10-23 10:26:56 +02:00
Anthony Laibe
966af5db73
Improve saga/actions/api interations
2018-10-23 10:26:56 +02:00
Anthony Laibe
dc5007281e
Show info
2018-10-23 10:26:56 +02:00
Anthony Laibe
96a706aeb0
Update reducers
2018-10-23 10:26:56 +02:00
Anthony Laibe
6bc8a6d8c0
Lint
2018-10-23 10:26:56 +02:00
Anthony Laibe
f98c9b5578
Adding link
2018-10-23 10:26:56 +02:00
Jonathan Rainville
548b194224
add layout to have the process name in the route
2018-10-23 10:26:55 +02:00
Anthony Laibe
2e1791e0f4
Add show components
2018-10-23 10:26:55 +02:00
Jonathan Rainville
9c25895c54
remove isListening action and just use the watch one
2018-10-23 10:26:55 +02:00
Jonathan Rainville
048fa93caf
change favicon to the same as the websote
2018-10-23 10:26:55 +02:00
Jonathan Rainville
975caae00d
remove log
2018-10-23 10:26:55 +02:00
Jonathan Rainville
83a84a35e1
refactor process logs to use saga and put logic in container
2018-10-23 10:26:55 +02:00
Anthony Laibe
bfd123b133
New block Header ws API + Client
2018-10-23 10:26:54 +02:00
Jonathan Rainville
4e7a0389bb
fix eslint on EVERYTHING
2018-10-23 10:26:14 +02:00
Jonathan Rainville
0b6cb01a80
fix errors and add swarm
2018-10-23 10:25:43 +02:00
Jonathan Rainville
1ec5ee533c
conflict in actions and saga
2018-10-23 10:25:14 +02:00
Jonathan Rainville
21d8d84cca
conflict in api
2018-10-23 10:25:13 +02:00
Anthony Laibe
20bf924687
Adding transactions explorer
2018-10-23 10:23:46 +02:00
Anthony Laibe
ede5afa6e0
Feedback PR
2018-10-23 10:23:46 +02:00
Anthony Laibe
c043adf031
Do not load if not needed
2018-10-23 10:23:45 +02:00
Anthony Laibe
8787e72444
Fix prop types
2018-10-23 10:23:45 +02:00
Anthony Laibe
80c2b9f439
Adding Load more
2018-10-23 10:23:45 +02:00
Anthony Laibe
b00ce3c9fa
Adding blocks explorer
2018-10-23 10:23:45 +02:00
Jonathan Rainville
27a237ec73
add error printing
2018-10-23 10:23:45 +02:00
Jonathan Rainville
47d7cd3f9d
add capitalize
2018-10-23 10:23:45 +02:00
Jonathan Rainville
d6977507b6
add tabs for the processes
2018-10-23 10:23:44 +02:00
Jonathan Rainville
fdbc567b3b
add basic ui for processes
2018-10-23 10:23:44 +02:00
Jonathan Rainville
63bc9a909c
add api, action and saga for process list
2018-10-23 10:23:44 +02:00
Anthony Laibe
177d52a655
Fix typo
2018-10-23 10:23:43 +02:00
Anthony Laibe
73923a682a
Add default container
2018-10-23 10:23:43 +02:00
Anthony Laibe
2a4e64a05b
Add tabler layout
2018-10-23 10:23:43 +02:00
Anthony Laibe
7e4f5dbdab
Fix typo
2018-10-23 10:22:38 +02:00
Anthony Laibe
e607d10edc
Adding Fetch Account UI
2018-10-23 10:22:38 +02:00
Anthony Laibe
de9221b368
Update README
2018-10-23 10:22:38 +02:00
Anthony Laibe
8d8d3db316
Adding embark ui
2018-10-23 10:22:37 +02:00