Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
efd09604
Commit
efd09604
authored
Sep 14, 2021
by
davidzagi93@gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updates after rebasing
parent
85ab2a97
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
19 deletions
+1
-19
terminalAction.ts
libs/remix-ui/terminal/src/lib/actions/terminalAction.ts
+0
-18
Table.tsx
libs/remix-ui/terminal/src/lib/components/Table.tsx
+1
-1
remix-ui-terminal.tsx
libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx
+0
-0
No files found.
libs/remix-ui/terminal/src/lib/actions/terminalAction.ts
View file @
efd09604
export
const
registerCommandAction
=
(
name
,
command
,
activate
,
dispatch
)
=>
{
const
commands
:
any
=
{}
const
_commands
:
any
=
{}
...
...
@@ -135,22 +134,6 @@ export const initListeningOnNetwork = (props, dispatch) => {
})
props
.
txListener
.
event
.
register
(
'newTransaction'
,
(
tx
,
receipt
)
=>
{
log
(
props
,
tx
,
receipt
,
dispatch
)
registerCommandAction
(
'knownTransaction'
,
function
(
args
,
cmds
,
append
)
{
var
data
=
args
[
0
]
console
.
log
({
data
})
// let el
// if (data.tx.isCall) {
// console.log({ data })
// // el = renderCall(this, data)
// } else {
// // el = renderKnownTransaction(this, data, blockchain)
// }
// this.seen[data.tx.hash] = el
// append(el)
},
{
activate
:
true
},
dispatch
)
// const result = Object.assign([], tx)
// console.log({ result })
// scriptRunnerDispatch({ type: 'knownTransaction', payload: { message: result } })
})
const
log
=
async
(
props
,
tx
,
receipt
,
dispatch
)
=>
{
...
...
@@ -174,7 +157,6 @@ export const initListeningOnNetwork = (props, dispatch) => {
props
.
txListener
.
event
.
register
(
'debuggingRequested'
,
async
(
hash
)
=>
{
// TODO should probably be in the run module
console
.
log
({
hash
},
'register Call'
)
if
(
!
await
props
.
options
.
appManager
.
isActive
(
'debugger'
))
await
props
.
options
.
appManager
.
activatePlugin
(
'debugger'
)
props
.
thisState
.
call
(
'menuicons'
,
'select'
,
'debugger'
)
props
.
thisState
.
call
(
'debugger'
,
'debug'
,
hash
)
...
...
libs/remix-ui/terminal/src/lib/components/Table.tsx
View file @
efd09604
...
...
@@ -41,7 +41,7 @@ const showTable = (opts, showTableHash) => {
<
tr
className=
'tr'
>
<
td
className=
'td'
data
-
shared=
{
`key_${opts.hash}`
}
>
status
</
td
>
<
td
className=
'td'
data
-
id=
{
`txLoggerTableStatus${opts.hash}`
}
data
-
shared=
{
`pair_${opts.hash}`
}
>
{
`${opts.status} ${msg}`
}
</
td
>
</
tr
>
)
</
tr
>
{
opts
.
hash
?
(<
tr
className=
'tr'
>
<
td
className=
'td'
data
-
shared=
{
`key_${opts.hash}`
}
>
transaction hash
</
td
>
<
td
className=
'td'
data
-
id=
{
`txLoggerTableHash${opts.hash}`
}
data
-
shared=
{
`pair_${opts.hash}`
}
>
{
opts
.
hash
}
...
...
libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx
View file @
efd09604
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment