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
bc33f29d
Unverified
Commit
bc33f29d
authored
Jun 01, 2019
by
yann300
Committed by
GitHub
Jun 01, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2049 from ethereum/toaster_l
Toaster tooltip fix
parents
13a24d43
2e8de35b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
10 deletions
+11
-10
plugin-manager-component.js
src/app/components/plugin-manager-component.js
+2
-2
vertical-icons.js
src/app/components/vertical-icons.js
+4
-3
tab-proxy.js
src/app/panels/tab-proxy.js
+1
-1
init.js
test-browser/helpers/init.js
+4
-4
No files found.
src/app/components/plugin-manager-component.js
View file @
bc33f29d
...
...
@@ -91,7 +91,7 @@ class PluginManagerComponent extends BaseApi {
</button>`
return
yo
`
<article
class="list-group-item py-1" title="
${
n
ame
}
" >
<article
id="remixPluginManagerListItem_
${
name
}
" class="list-group-item py-1" title="
${
displayN
ame
}
" >
<div class="
${
css
.
row
}
justify-content-between align-items-center">
<h6 class="
${
css
.
displayName
}
">
${
displayName
}
</h6>
${
activationButton
}
...
...
@@ -155,7 +155,7 @@ class PluginManagerComponent extends BaseApi {
?
yo
`
<nav class="navbar navbar-expand-lg navbar-light bg-light justify-content-between align-items-center">
<span class="navbar-brand">Inactive Modules</span>
<span class="badge badge-pill badge-primary">
${
inactives
.
length
}
</span>
<span class="badge badge-pill badge-primary"
style = "cursor: default;"
>
${
inactives
.
length
}
</span>
</nav>`
:
''
...
...
src/app/components/vertical-icons.js
View file @
bc33f29d
...
...
@@ -10,7 +10,7 @@ export class VerticalIcons {
constructor
(
name
,
appStore
,
homeProfile
)
{
this
.
store
=
appStore
this
.
homeProfile
=
homeProfile
this
.
homeProfile
=
homeProfile
.
profile
this
.
events
=
new
EventEmitter
()
this
.
icons
=
{}
this
.
iconKind
=
{}
...
...
@@ -74,12 +74,13 @@ export class VerticalIcons {
* @param {ModuleProfile} profile The profile of the module
*/
addIcon
({
kind
,
name
,
icon
,
displayName
,
tooltip
})
{
let
title
=
(
displayName
||
name
)
// + (tooltip ? tooltip : ""
)
let
title
=
(
tooltip
||
displayName
||
name
)
this
.
icons
[
name
]
=
yo
`
<div
class="
${
css
.
icon
}
"
onclick="
${()
=>
{
this
.
_iconClick
(
name
)
}}
"
plugin="
$
{
name
}
" title="
${
title
}
" >
plugin="
$
{
name
}
"
title="
${
title
}
">
<img class="image" src="
${
icon
}
" alt="
${
name
}
" />
</div>`
this
.
iconKind
[
kind
||
'other'
].
appendChild
(
this
.
icons
[
name
])
...
...
src/app/panels/tab-proxy.js
View file @
bc33f29d
...
...
@@ -117,7 +117,7 @@ export class TabProxy {
id
:
name
,
title
,
icon
,
tooltip
:
nam
e
tooltip
:
titl
e
})
this
.
_handlers
[
name
]
=
{
switchTo
,
close
}
}
...
...
test-browser/helpers/init.js
View file @
bc33f29d
...
...
@@ -21,10 +21,10 @@ function initModules (browser, callback) {
.
execute
(
function
()
{
document
.
querySelector
(
'div[id="pluginManager"]'
).
scrollTop
=
document
.
querySelector
(
'div[id="pluginManager"]'
).
scrollHeight
},
[],
function
()
{
browser
.
click
(
'#pluginManager article[
title="
solidity"] button'
)
.
click
(
'#pluginManager article[
title="
run"] button'
)
.
click
(
'#pluginManager article[
title="
solidityStaticAnalysis"] button'
)
.
click
(
'#pluginManager article[
title="
debugger"] button'
)
browser
.
click
(
'#pluginManager article[
id="remixPluginManagerListItem_
solidity"] button'
)
.
click
(
'#pluginManager article[
id="remixPluginManagerListItem_
run"] button'
)
.
click
(
'#pluginManager article[
id="remixPluginManagerListItem_
solidityStaticAnalysis"] button'
)
.
click
(
'#pluginManager article[
id="remixPluginManagerListItem_
debugger"] button'
)
.
click
(
'#icon-panel div[plugin="fileExplorers"]'
)
.
perform
(()
=>
{
callback
()
})
})
...
...
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