implementing changes overridden

pull/1342/head
davidzagi93@gmail.com 3 years ago
parent fc705f3a85
commit 58e2a86e19
  1. 8
      apps/remix-ide-e2e/src/tests/defaultLayout.test.ts
  2. 1
      apps/remix-ide/src/app/panels/terminal.js
  3. 10
      libs/remix-ui/plugin-manager/src/types.d.ts
  4. 3
      libs/remix-ui/terminal/src/lib/remix-ui-terminal.css
  5. 3
      libs/remix-ui/terminal/src/lib/remix-ui-terminal.tsx

@ -50,11 +50,11 @@ module.exports = {
'Toggles Terminal': function (browser: NightwatchBrowser) { 'Toggles Terminal': function (browser: NightwatchBrowser) {
browser.waitForElementVisible('div[data-id="terminalContainer"]') browser.waitForElementVisible('div[data-id="terminalContainer"]')
.assert.visible('div[data-id="terminalContainerDisplay"]') .assert.elementPresent('div[data-id="terminalContainerDisplay"]')
.click('i[data-id="terminalToggleIcon"]') .click('i[data-id="terminalToggleIcon"]')
.checkElementStyle('div[data-id="terminalToggleMenu"]', 'height', '35px') .checkElementStyle('div[data-id="terminalContainer-view"]', 'height', '36px')
.click('i[data-id="terminalToggleIcon"]') // .click('i[data-id="terminalToggleIcon"]')
.assert.visible('div[data-id="terminalContainerDisplay"]') // .assert.visible('div[data-id="terminalContainerDisplay"]')
}, },
'Switch Tabs using tabs icon': function (browser: NightwatchBrowser) { 'Switch Tabs using tabs icon': function (browser: NightwatchBrowser) {

@ -39,6 +39,7 @@ class Terminal extends Plugin {
this.element = document.createElement('div') this.element = document.createElement('div')
this.element.setAttribute('class', 'panel') this.element.setAttribute('class', 'panel')
this.element.setAttribute('id', 'terminal-view') this.element.setAttribute('id', 'terminal-view')
this.element.setAttribute('data-id', 'terminalContainer-view')
this.eventsDecoder = this.globalRegistry.get('eventsDecoder').api this.eventsDecoder = this.globalRegistry.get('eventsDecoder').api
this.txListener = this.globalRegistry.get('txlistener').api this.txListener = this.globalRegistry.get('txlistener').api
this.sourceHighlighter = new SourceHighlighter() this.sourceHighlighter = new SourceHighlighter()

@ -178,17 +178,9 @@ export interface FormStateProps {
url: string url: string
type: 'iframe' | 'ws' type: 'iframe' | 'ws'
hash: string hash: string
methods: string[] methods: any
location: string location: string
<<<<<<< HEAD
<<<<<<< HEAD
canActivate?: any
=======
canActivate: any canActivate: any
>>>>>>> ceb5496f4 (fix whitespaces and canactivate)
=======
canActivate: string[]
>>>>>>> cb86d9b5a (Update types.d.ts)
} }
export type PluginManagerProfile = Profile & { export type PluginManagerProfile = Profile & {

@ -20,9 +20,6 @@ element.style {
.border-primary { .border-primary {
border-color: #007aa6!important; border-color: #007aa6!important;
} }
.border {
border: 1px solid #3f4455!important;
}
/* seleted option should reflect the theme color */ /* seleted option should reflect the theme color */
.selectedOptions { .selectedOptions {

@ -461,7 +461,6 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
</div> </div>
{/* ${self._view.pendingTxCount} */} {/* ${self._view.pendingTxCount} */}
<div className="mx-2" title='Pending Transactions'>0</div> <div className="mx-2" title='Pending Transactions'>0</div>
<div className="verticalLine"></div>
<div className="pt-1 h-80 mx-3 align-items-center listenOnNetwork custom-control custom-checkbox"> <div className="pt-1 h-80 mx-3 align-items-center listenOnNetwork custom-control custom-checkbox">
<input <input
className="custom-control-input" className="custom-control-input"
@ -498,7 +497,7 @@ export const RemixUiTerminal = (props: RemixUiTerminalProps) => {
handleAutoComplete() handleAutoComplete()
} }
<div data-id='terminalContainerDisplay' style = {{ <div data-id='terminalContainerDisplay' style = {{
position: 'absolute', position: 'relative',
height: '100%', height: '100%',
width: '100%', width: '100%',
opacity: '0.1', opacity: '0.1',

Loading…
Cancel
Save