try set window size

pull/4925/head
Your Name 5 months ago
parent fffa26dd0d
commit 12968a8974
  1. 9
      .circleci/config.yml
  2. 4
      apps/remixdesktop/test/nighwatch.app.ts
  3. 7
      libs/remix-ui/statusbar/src/lib/remixui-statusbar-panel.tsx

@ -276,6 +276,11 @@ jobs:
yarn -v
sleep 15
./run_ci_test.sh
- store_test_results:
path: ./apps/remixdesktop/reports/tests
- store_artifacts:
path: ./apps/remixdesktop/reports/screenshots
# see https://docs.digicert.com/en/software-trust-manager/ci-cd-integrations/script-integrations/github-integration-ksp.html
sign-remixdesktop-windows:
executor: win/default # executor type
@ -517,6 +522,10 @@ jobs:
nvm use 20
cd apps/remixdesktop
./run_ci_test.sh
- store_test_results:
path: ./apps/remixdesktop/reports/tests
- store_artifacts:
path: ./apps/remixdesktop/reports/screenshots
uploadartifacts:
docker:

@ -74,6 +74,10 @@ module.exports = {
if(useIsoGit) args = [...args, '--useIsoGit'];
if(useOffline) args = [...args, '--useOffline'];
// Set display size
const windowSize = "--window-size=1920,1080";
args = [...args, windowSize];
switch (type) {
case 'Windows_NT':
binaryPath = `./release/win-unpacked/Remix-Desktop-${channel}.exe`;

@ -1,10 +1,11 @@
import React, { useEffect, useState } from 'react'
import React, { useEffect, useState, useContext } from 'react'
import GitStatus from './components/gitStatus'
import AIStatus from './components/aiStatus'
import ScamAlertStatus from './components/scamAlertStatus'
import ScamDetails from './components/scamDetails'
import { FloatingFocusManager, autoUpdate, flip, offset, shift, size, useClick, useDismiss, useFloating, useInteractions, useRole } from '@floating-ui/react'
import axios from 'axios'
import { appPlatformTypes, platformContext } from '@remix-ui/app'
// eslint-disable-next-line @nrwl/nx/enforce-module-boundaries
import { StatusBar } from 'apps/remix-ide/src/app/components/status-bar'
@ -22,6 +23,7 @@ export function RemixUIStatusBar({ statusBarPlugin }: RemixUIStatusBarProps) {
const [scamAlerts, setScamAlerts] = useState<ScamAlert[]>([])
const [gitBranchName, setGitBranchName] = useState('')
const [isAiActive, setIsAiActive] = useState(false)
const platform = useContext(platformContext)
const { refs, context, floatingStyles } = useFloating({
open: showScamDetails,
onOpenChange: setShowScamDetails,
@ -73,7 +75,8 @@ export function RemixUIStatusBar({ statusBarPlugin }: RemixUIStatusBarProps) {
)}
<div className="d-flex remixui_statusbar_height flex-row bg-primary justify-content-between align-items-center">
<div className="remixui_statusbar remixui_statusbar_gitstatus">
<GitStatus plugin={statusBarPlugin} gitBranchName={gitBranchName} setGitBranchName={setGitBranchName} />
{platform == appPlatformTypes.desktop ? <></> :
<GitStatus plugin={statusBarPlugin} gitBranchName={gitBranchName} setGitBranchName={setGitBranchName} />}
</div>
<div className="remixui_statusbar"></div>
<div className="remixui_statusbar d-flex flex-row">

Loading…
Cancel
Save