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 = { module.exports = {
before: function (browser: NightwatchBrowser, done: VoidFunction) { before: function (browser: NightwatchBrowser, done: VoidFunction) {
browser.hidePopupPanel()
done() done()
}, },
'download compiler': function (browser: NightwatchBrowser) { 'download compiler': function (browser: NightwatchBrowser) {

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save