hide on desktop

pull/5371/head
bunsenstraat 3 weeks ago
parent 504ea40ef9
commit 493110dac2
  1. 1
      apps/remixdesktop/test/tests/app/compiler.test.ts
  2. 1
      apps/remixdesktop/test/tests/app/externaleditor.test.ts
  3. 1
      apps/remixdesktop/test/tests/app/foundry.test.ts
  4. 1
      apps/remixdesktop/test/tests/app/gist.test.ts
  5. 2
      apps/remixdesktop/test/tests/app/git-ui.test.ts
  6. 2
      apps/remixdesktop/test/tests/app/git-ui_2.test.ts
  7. 2
      apps/remixdesktop/test/tests/app/git-ui_3.test.ts
  8. 2
      apps/remixdesktop/test/tests/app/git-ui_4.test.ts
  9. 1
      apps/remixdesktop/test/tests/app/git.test.ts
  10. 2
      apps/remixdesktop/test/tests/app/github.test.ts
  11. 2
      apps/remixdesktop/test/tests/app/github_2.test.ts
  12. 2
      apps/remixdesktop/test/tests/app/github_3.test.ts
  13. 1
      apps/remixdesktop/test/tests/app/hardhat.test.ts
  14. 1
      apps/remixdesktop/test/tests/app/offline.test.ts
  15. 1
      apps/remixdesktop/test/tests/app/search.test.ts
  16. 1
      apps/remixdesktop/test/tests/app/slitherlinux.test.ts
  17. 1
      apps/remixdesktop/test/tests/app/templates.test.ts
  18. 1
      apps/remixdesktop/test/tests/app/xterm.test.ts
  19. 1
      apps/remixdesktop/test/tests/app/xtermwin.test.ts
  20. 3
      libs/remix-ui/app/src/lib/remix-app/remix-app.tsx

@ -3,7 +3,6 @@ import { NightwatchBrowser } from 'nightwatch'
module.exports = {
before: function (browser: NightwatchBrowser, done: VoidFunction) {
browser.hidePopupPanel()
done()
},
'download compiler': function (browser: NightwatchBrowser) {

@ -2,7 +2,6 @@ import {NightwatchBrowser} from 'nightwatch'
const testsBash = {
before: function (browser: NightwatchBrowser, done: VoidFunction) {
browser.hidePopupPanel()
done()
},
open: function (browser: NightwatchBrowser) {

@ -9,7 +9,6 @@ const dir = '/tmp/' + projectDir
const tests = {
before: function (browser: NightwatchBrowser, done: VoidFunction) {
browser.hidePopupPanel()
done()
},
installFoundry: function (browser: NightwatchBrowser) {

@ -3,7 +3,6 @@ import { NightwatchBrowser } from 'nightwatch'
const gist_id = '02a847917a6a7ecaf4a7e0d4e68715bf'
const tests = {
before: function (browser: NightwatchBrowser, done: VoidFunction) {
browser.hidePopupPanel()
done()
},
'start gist': function (browser: NightwatchBrowser) {

@ -13,7 +13,7 @@ let gitserver: ChildProcess
const tests = {
before: function (browser: NightwatchBrowser, done: VoidFunction) {
browser.hideToolTips().hidePopupPanel()
browser.hideToolTips()
done()
},
after: function (browser: NightwatchBrowser) {

@ -13,7 +13,7 @@ let gitserver: ChildProcess
const tests = {
before: function (browser: NightwatchBrowser, done: VoidFunction) {
browser.hideToolTips().hidePopupPanel()
browser.hideToolTips()
done()
},
after: function (browser: NightwatchBrowser) {

@ -13,7 +13,7 @@ let gitserver: ChildProcess
const tests = {
before: function (browser: NightwatchBrowser, done: VoidFunction) {
browser.hideToolTips().hidePopupPanel()
browser.hideToolTips()
done()
},
after: function (browser: NightwatchBrowser) {

@ -13,7 +13,7 @@ let gitserver: ChildProcess
const tests = {
before: function (browser: NightwatchBrowser, done: VoidFunction) {
browser.hideToolTips().hidePopupPanel()
browser.hideToolTips()
done()
},
after: function (browser: NightwatchBrowser) {

@ -4,7 +4,6 @@ import { NightwatchBrowser } from 'nightwatch'
module.exports = {
'@isogit': true,
before: function (browser: NightwatchBrowser, done: VoidFunction) {
browser.hidePopupPanel()
done()
},
'clone a repo': function (browser: NightwatchBrowser) {

@ -3,7 +3,7 @@ import { NightwatchBrowser } from "nightwatch"
const tests = {
before: function (browser: NightwatchBrowser, done: VoidFunction) {
browser.hideToolTips().hidePopupPanel()
browser.hideToolTips()
done()
},

@ -3,7 +3,7 @@ import { NightwatchBrowser } from "nightwatch"
const tests = {
before: function (browser: NightwatchBrowser, done: VoidFunction) {
browser.hideToolTips().hidePopupPanel()
browser.hideToolTips()
done()
},

@ -5,7 +5,7 @@ let commitCount = 0
let branchCount = 0
const tests = {
before: function (browser: NightwatchBrowser, done: VoidFunction) {
browser.hideToolTips().hidePopupPanel()
browser.hideToolTips()
done()
},

@ -8,7 +8,6 @@ const dir = path.join('remix-desktop-test-' + Date.now().toString())
const tests = {
before: function (browser: NightwatchBrowser, done: VoidFunction) {
browser.hidePopupPanel()
done()
},
setuphardhat: function (browser: NightwatchBrowser) {

@ -4,7 +4,6 @@ import { NightwatchBrowser } from 'nightwatch'
module.exports = {
'@offline': true,
before: function (browser: NightwatchBrowser, done: VoidFunction) {
browser.hidePopupPanel()
done()
},
'open default template': function (browser: NightwatchBrowser) {

@ -3,7 +3,6 @@ import { NightwatchBrowser } from 'nightwatch'
module.exports = {
before: function (browser: NightwatchBrowser, done: VoidFunction) {
browser.hidePopupPanel()
done()
},
'open default template': function (browser: NightwatchBrowser) {

@ -3,7 +3,6 @@ import { ChildProcess, spawn, execSync } from 'child_process'
import { homedir } from 'os'
const tests = {
before: function (browser: NightwatchBrowser, done: VoidFunction) {
browser.hidePopupPanel()
done()
},
open: function (browser: NightwatchBrowser) {

@ -3,7 +3,6 @@ import { NightwatchBrowser } from 'nightwatch'
module.exports = {
before: function (browser: NightwatchBrowser, done: VoidFunction) {
browser.hidePopupPanel()
done()
},
'open default template': function (browser: NightwatchBrowser) {

@ -5,7 +5,6 @@ import {NightwatchBrowser} from 'nightwatch'
const tests = {
before: function (browser: NightwatchBrowser, done: VoidFunction) {
browser.hidePopupPanel()
done()
},
open: function (browser: NightwatchBrowser) {

@ -2,7 +2,6 @@ import {NightwatchBrowser} from 'nightwatch'
const tests = {
before: function (browser: NightwatchBrowser, done: VoidFunction) {
browser.hidePopupPanel()
done()
},
open: function (browser: NightwatchBrowser) {

@ -13,6 +13,7 @@ import { IntlProvider } from 'react-intl'
import { UsageTypes } from './types'
import { appReducer } from './reducer/app'
import { appInitialState } from './state/app'
import isElectron from 'is-electron'
declare global {
interface Window {
@ -45,7 +46,7 @@ const RemixApp = (props: IRemixAppUi) => {
const [appState, appStateDispatch] = useReducer(appReducer, {
...appInitialState,
showPopupPanel: !window.localStorage.getItem('did_show_popup_panel')
showPopupPanel: !window.localStorage.getItem('did_show_popup_panel') && !isElectron()
})
useEffect(() => {

Loading…
Cancel
Save