Commit Graph

74 Commits

Author SHA1 Message Date
Anthony Laibe 4e23acb558
PR feedback 2018-10-23 11:12:47 +02:00
Anthony Laibe a4d4278dc9
Adding option to switch deployment pipeline 2018-10-23 11:12:47 +02:00
Iuri Matias d5cd0b0ff7
address code review 2018-10-23 11:12:00 +02:00
Anthony Laibe fb29e5a7c8
Add/remove breakpoints 2018-10-23 11:12:00 +02:00
Iuri Matias b06d224883
fix services & processes; improve UI 2018-10-23 11:11:58 +02:00
Pascal Precht eb412c026b
feat(cockpit/utils): introduce components to sign and verify messages 2018-10-23 11:11:14 +02:00
Jonathan Rainville 5cfe208f6f
little fixes 2018-10-23 11:04:01 +02:00
Jonathan Rainville 847e20d092
change page on search result 2018-10-23 11:04:00 +02:00
Jonathan Rainville 890dc50768
conflict in reducer and sagas 2018-10-23 11:04:00 +02:00
Anthony Laibe 6e24b0eb85
Remove uneeded handler 2018-10-23 11:04:00 +02:00
Anthony Laibe 96c3575e75
Add Contract Events to UI 2018-10-23 11:03:59 +02:00
Jonathan Rainville 2edbef81e4
conflict in constants 2018-10-23 11:02:09 +02:00
Jonathan Rainville c833f9b3bf
store theme in localstorage 2018-10-23 11:02:08 +02:00
Jonathan Rainville be0129fea9
use redux to store the theme 2018-10-23 11:02:08 +02:00
Iuri Matias 70b62bdc16
rename command_suggestions to commandSuggestions 2018-10-23 11:00:28 +02:00
Iuri Matias f5479baf4c
fix misc issues reported by linter 2018-10-23 11:00:27 +02:00
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