Commit Graph

58 Commits

Author SHA1 Message Date
Iuri Matias 1906b17c5d
fix options update; add sorting 2018-10-23 11:00:26 +02:00
Iuri Matias ce19fd96c4
intiial code to get suggestions from embark 2018-10-23 11:00:26 +02:00
Jonathan Rainville 43030980b1
use cross-env for cd and make sure values are specified 2018-10-23 10:59:15 +02:00
Anthony Laibe de009db74f
Use process log ids 2018-10-23 10:57:05 +02:00
emizzle 46511bcfe8
Rebase updates
After the code was rebased, there were some additional changes for getting websockets logs that needed to be catered for.

When there is a call to get all logs for a process, the state entity is updated with a new array item containing all the logs (this is then reduced and selected for rendering). In the case of a websocket log that simply returns only one log item, the latest full log for the process is found in the state entities, and it’s logs are appending to with the data from the websocket.

Additionally, log limits were updated to be passed in as a parameter to the API calls from the frontend. Parameter validation (for `limit`) was also added in this commit.
2018-10-23 10:57:04 +02:00
Anthony Laibe 41176f0f70
Add id to process logs 2018-10-23 10:50:41 +02:00
Anthony Laibe 0e872c99e6
Update layout with new theme 2018-10-23 10:50:38 +02:00
Anthony Laibe 36602c30b6
Limit the number of commands/logs we keep 2018-10-23 10:50:38 +02:00
Anthony Laibe ca55a8091e
Only store ether value 2018-10-23 10:50:38 +02:00
Anthony Laibe c475244fb6
Save to when navigating 2018-10-23 10:50:38 +02:00
Anthony Laibe 1a0eb829e8
Keep ether conversion in state 2018-10-23 10:50:38 +02:00
Anthony Laibe d6b348a869
Disable websocket and limit the number of record 2018-10-23 10:50:03 +02:00
Anthony Laibe c52c0abb77
Allow to customize host 2018-10-23 10:47:25 +02:00
Anthony Laibe 2fb5d907ec
Add ability to logout 2018-10-23 10:42:00 +02:00
Jonathan Rainville e2b3dcf629
use redux instead of directly localStorage 2018-10-23 10:42:00 +02:00
Jonathan Rainville 7a4f1180cf
add noLoading flag in action to not show loader 2018-10-23 10:41:20 +02:00
Anthony Laibe a08690ef43
File Editor 2018-10-23 10:41:20 +02:00
Jonathan Rainville 5593534343
conflict in reducer 2018-10-23 10:40:13 +02:00
Jonathan Rainville 198b3c5cc1
conflicts in reducer and saga 2018-10-23 10:39:57 +02:00
Jonathan Rainville 7080be9fb1
conflicts in action and saga 2018-10-23 10:38:11 +02:00
Anthony Laibe b945b87d4d
File explorer 2018-10-23 10:38:11 +02:00
Anthony Laibe 18253886fb
Fix order of command 2018-10-23 10:37:28 +02:00
Anthony Laibe 4ecb092ed3
Remove last fiddle, and use code to compile 2018-10-23 10:37:00 +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 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 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
Anthony Laibe 6038da4339
Deploy contract 2018-10-23 10:34:18 +02:00
Anthony Laibe 3c9cea594c
Make call successfully 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 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 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 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 8e3e3129c5
Fix rebase 2018-10-23 10:31:35 +02:00
Anthony Laibe 52cec0a29e
Display compilation result 2018-10-23 10:31:35 +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 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
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 9c4ecbdfd6
display contract profile 2018-10-23 10:27:40 +02:00