emizzle
0fa1e11ac7
Fixed issue with compounding duplicated logs
...
On every load of the component, the API request would fetch the entire log history, and effective append it to the list of process logs, so that if a component was loaded multiple times (ie click to different tab, then back to home), the log would be duplicated.
This was solved by timestamping and labelling each fetch response, then getting the latest response in the selector, and filtering by process name in the component.
2018-10-23 10:53:25 +02:00
emizzle
7de72cb474
Addressed PR feedback
...
- Created an “embark” module so that an “embark” process could be registered in the correct way. This service is only used on `embark run` (can be extended to other commands if needed).
- extracted “embark” to a const `DEFAULT_PROCESS` param in the `Console` component.
- extracted commands result rendering to it’s own function to keep the `renderTabs` function from getting cluttered
- Added sorting of logs by timestamp
- Added milliseconds to the log file data (which helps in sorting log messages).
2018-10-23 10:53:25 +02:00
emizzle
42cc9b559f
Fills embark logs tabs with existing embark logs
...
A logfile is now generated by default, in the format `.embark/embark-log__YYYY-MM-DD_HH-mm-ss.log`.
When the home tab is loaded, the process logs are fetched for all the processes. The list of processes returned now includes `embark`, and when `/embark-api/process-logs/embark` is fetched, the logFile is parsed and an array of log messages are returned.
2018-10-23 10:52:26 +02:00
Anthony Laibe
41eb23df82
Adding file contracts
2018-10-23 10:51:24 +02:00
Anthony Laibe
ea9939c03a
WIP: style fiddle
2018-10-23 10:51:24 +02:00
Anthony Laibe
41176f0f70
Add id to process logs
2018-10-23 10:50:41 +02:00
Pascal Precht
daf1d7269d
refactor: rename Unauthenticated to Login
...
This also removes the previously introduced `LoginLayout` component as
chances are very low that we'll need the layout for anything else then the
login.
2018-10-23 10:50:41 +02:00
Pascal Precht
0baf0526b1
feat(containers/AppContainers): make use of new LoginLayout
2018-10-23 10:50:40 +02:00
Pascal Precht
c1b9760502
refactor(components/Unauthenticated): use CoreUI instead of Tabler
2018-10-23 10:50:40 +02:00
Pascal Precht
cef60b56e8
feat(components/LoginLayout): introduce new layout for login view
2018-10-23 10:50:40 +02:00
Anthony Laibe
ef2a88336b
Fix warning about nested button tag
2018-10-23 10:50:40 +02:00
Anthony Laibe
f5ac131d93
Add new theme to utils
2018-10-23 10:50:40 +02:00
Anthony Laibe
5967aa3dc5
Initial version of deployment manager
2018-10-23 10:50:39 +02:00
emizzle
35a701fb90
Addressed PR comments
...
Updated comments in `FileExplorer.js`
Moved `isFolder()`, `isNotFolder()`, and `byName()` outside of `fileTreeSort()` in `lib/pipeline/pipeline.js`.
2018-10-23 10:50:39 +02:00
emizzle
895c0d86ac
Finish adding show/hide of hidden files
...
Hidden files/folders (those beginning with “.”) are now hidden and shown depending on the state of the toggle.
2018-10-23 10:50:39 +02:00
emizzle
f3431eecbd
File editor tree improvements
...
Sort files and folders by type, then by name
Hide hidden files/folders (starting with “.”) - WIP
2018-10-23 10:50:39 +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
0e4248cca8
Stop and limit fetch process logs
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
Iuri Matias
771953e8b5
remove versions from dashboard which isn't necessary
2018-10-23 10:50:37 +02:00
Anthony Laibe
fe51abc2bb
Eject react-scripts and implement our own
...
react-monaco-editor
2018-10-23 10:50:03 +02:00
Anthony Laibe
52a5f5dc71
Stop gas oracle
2018-10-23 10:50:03 +02:00
Anthony Laibe
d6b348a869
Disable websocket and limit the number of record
2018-10-23 10:50:03 +02:00
Pascal Precht
479aafd076
feat(utils/converter): introduce copy-to-clipboard buttons
...
This commit enables users to easily copy values from the converter's inputs to the clipboard.
2018-10-23 10:50:02 +02:00
Jonathan Rainville
844e2ed5b0
add back tokens
2018-10-23 10:48:36 +02:00
Andre Medeiros
a288afbf68
Address feedback
2018-10-23 10:48:36 +02:00
Jonathan Rainville
e9ec0c019d
fix same key
2018-10-23 10:47:26 +02:00
Jonathan Rainville
5fcd1e679d
fix error with JSONTree empty at start
2018-10-23 10:47:26 +02:00
Andre Medeiros
777b0ff1e5
Use properties where it makes sense
2018-10-23 10:47:26 +02:00
Andre Medeiros
31cfc7bdeb
Move from props to state
2018-10-23 10:47:26 +02:00
Andre Medeiros
3339d27ee7
Add code reload component
2018-10-23 10:47:25 +02:00
Jonathan Rainville
1a20b7b9ae
replace reduce by a map to fix case where array is empty
2018-10-23 10:47:25 +02:00
Anthony Laibe
921c99b201
Improve feeling when switching tab
2018-10-23 10:47:25 +02:00
Anthony Laibe
c52c0abb77
Allow to customize host
2018-10-23 10:47:25 +02:00
Anthony Laibe
801514c52b
Use tree view for abi display
2018-10-23 10:47:24 +02:00
Anthony Laibe
68deca9fea
Add bytecode and abi to contract overview
2018-10-23 10:47:24 +02:00
Anthony Laibe
c4635dd6bd
Remove JSON as supported language
...
It seems to break the theme setting.
An issue has been opened
2018-10-23 10:47:24 +02:00
Anthony Laibe
572cd20482
Fix backend tab request cached:
...
- Add no cache via helmet
- Fix linting (no-return-else)
- Rebase Fix: Use option.name for process log to avoid endpoint being called
blockchainProcess.js
- Rebase Fix: use option when compiling solidity
2018-10-23 10:47:24 +02:00
Anthony Laibe
0d3dd56a86
Extract DEFAULT_LANGUAGE
2018-10-23 10:42:01 +02:00
Anthony Laibe
626be3882b
Use supported languages
2018-10-23 10:42:01 +02:00
Anthony Laibe
0e49165967
Add monaco editor
2018-10-23 10:42:01 +02:00
Pascal Precht
23bd9ce004
Introduce proof of concept utils tab with ether converter
2018-10-23 10:42:01 +02:00
Anthony Laibe
0c7e934269
Fix npm run build
...
In order to fix this issue:
https://github.com/facebook/create-react-app/issues/3734
Switch from 'query-string' to 'qs'
2018-10-23 10:42:01 +02:00
Anthony Laibe
2fb5d907ec
Add ability to logout
2018-10-23 10:42:00 +02:00
Jonathan Rainville
86b2dcc2da
call getProcesses in componentDidMount
2018-10-23 10:42:00 +02:00
Jonathan Rainville
8a4e1063a7
add simple component for authError
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