-
Notifications
You must be signed in to change notification settings - Fork 32
Added an Event logger panel #401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added an Event logger panel #401
Conversation
# Conflicts: # src/components/projecteditor/ProjectEditor.tsx
|
|
||
| { this.isPanelOpen(Panels.Transactions) && | ||
| <Panel icon={ <IconTransactions /> } name='Transactions History' onClose={() => closePanel(Panels.Transactions)} dragging={sidePanelDragging}> | ||
| <Panel name='Transactions History' onClose={() => closePanel(Panels.Transactions)} dragging={sidePanelDragging}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Question here - is it as intended to remove icons from panels?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeap, it is intended.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added it to the PR description
| border-color: transparent; | ||
| padding: 5px; | ||
| transition: all .15s ease; | ||
| border-radius: 0px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this one intended? Buttons in panels now have border-radius again after removing this style
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually not! Let me remove that one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will remove it from the btnNoBg global style instead.
| user-select: none; | ||
| display: block; | ||
| color: #fff; | ||
| line-height: 28px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explorer feels too much compact on non-retina display. I would consider to have line-height at least 24-25px.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. In fact, I was just trying to see sort of emulate how VS Code line-height was. Let me check with 24
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
@Spejbl the previous deployer version contained a runtime check-and-swap action that would choose between the internal web3 object and the externally provided one. Now, when the account is set to
|
|
Thanks @Spejbl for raising that flag but as you said, in fact, I haven't changed that in this PR. Let's add a new issue to the TODO list to make sure this is covered (this will be impacted by @ostap1010 work anyway), but we can set it up as self-reminder to make sure it works as expected. |
# Conflicts: # src/components/app/App.tsx # src/components/app/index.ts # src/components/projecteditor/ProjectEditor.tsx # src/components/projecteditor/style.less # src/models/index.ts # src/reducers/index.ts

Description of the Change
Event Logpanel. In order to put messages into the panel, you simply need to call the eventLog.actions/addEventLogRow with a LogLevel and a message and will render in the panel.Benefits
Now we have a panel in which we can display messages to the user related to things the IDE is doing or whatever we consider relevant adding to it (per example when/if introducing plugins)
Verification Process