Skip to content

Commit dd9f947

Browse files
Mobile issues (#990)
* fix scripting pages not loading on mobile / small screens * fix unable to download logs from within an organization * address google play store in app purchase concerns * route changes for google play store and mobile scripting * tiny ui cleanup * missing leading slash in updated route Co-authored-by: Copilot <[email protected]> * fix routing issue pr review introduced * feat: update routing account pages to target android instead of web for mobile * 3.39.0 --------- Co-authored-by: Copilot <[email protected]>
1 parent c09b72e commit dd9f947

35 files changed

+161
-171
lines changed

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ android {
1313
applicationId "com.remoteit"
1414
minSdkVersion rootProject.ext.minSdkVersion
1515
targetSdkVersion rootProject.ext.targetSdkVersion
16-
versionCode 282
17-
versionName "3.38.2"
16+
versionCode 283
17+
versionName "3.39.0"
1818
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1919
aaptOptions {
2020
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
mavenCentral()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:8.9.2'
10+
classpath 'com.android.tools.build:gradle:8.12.1'
1111
classpath 'com.google.gms:google-services:4.4.0'
1212

1313
// NOTE: Do not place your application dependencies here; they belong
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Wed Oct 16 15:39:18 PDT 2024
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "remoteit-headless",
3-
"version": "3.38.2",
3+
"version": "3.39.0",
44
"private": true,
55
"main": "build/index.js",
66
"scripts": {

electron/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

electron/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "remoteit",
3-
"version": "3.38.2",
3+
"version": "3.39.0",
44
"private": true,
55
"main": "build/index.js",
66
"description": "Remote.It cross platform desktop application for creating and hosting connections",

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "remoteit-desktop-frontend",
3-
"version": "3.38.2",
3+
"version": "3.39.0",
44
"private": true,
55
"type": "module",
66
"scripts": {

frontend/src/buttons/RefreshButton/RefreshButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const RefreshButton: React.FC<ButtonProps> = props => {
2525
const networkPage = useRouteMatch('/networks')
2626
const logsPage = useRouteMatch(['/logs', '/devices/:deviceID/logs'])
2727
const devicesPage = useRouteMatch('/devices')
28-
const scriptingPage = useRouteMatch('/scripting')
28+
const scriptingPage = useRouteMatch(['/script', '/scripts', '/runs'])
2929
const scriptPage = useRouteMatch('/script')
3030

3131
let title = 'Refresh application'

frontend/src/components/AvatarMenu.tsx

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React, { useState, useRef, useCallback } from 'react'
2+
import browser from '../services/browser'
23
import { makeStyles } from '@mui/styles'
34
import { useHistory } from 'react-router-dom'
45
import { State, Dispatch } from '../store'
@@ -14,6 +15,7 @@ import { isRemoteUI } from '../helpers/uiHelper'
1415
import { DesktopUI } from './DesktopUI'
1516
import { Avatar } from './Avatar'
1617
import { emit } from '../services/Controller'
18+
import { Icon } from './Icon'
1719

1820
const ENTER_DELAY = 300
1921
const LEAVE_DELAY = 400 // must be longer than transition duration
@@ -80,7 +82,7 @@ export const AvatarMenu: React.FC = () => {
8082
anchorEl={buttonRef.current}
8183
className={css.menu}
8284
onClose={handleClose}
83-
PaperProps={{ onMouseEnter: handleEnter, onMouseLeave: handleLeave }}
85+
slotProps={{ paper: { onMouseEnter: handleEnter, onMouseLeave: handleLeave } }}
8486
anchorOrigin={{ horizontal: 'left', vertical: 'bottom' }}
8587
transformOrigin={{ horizontal: 'left', vertical: 'top' }}
8688
transitionDuration={TRANSITION_DURATION}
@@ -96,7 +98,16 @@ export const AvatarMenu: React.FC = () => {
9698
to="/account"
9799
badge={licenseIndicator}
98100
onClick={handleClose}
101+
>
102+
{browser.isAndroid && <Icon name="launch" size="sm" color="grayDark" inlineLeft fixedWidth />}
103+
</ListItemLocation>
104+
<ListItemLink
105+
title="Support"
106+
icon="life-ring"
107+
href="https://link.remote.it/documentation-desktop/overview"
108+
dense
99109
/>
110+
<ListItemLink title="APIs" icon="books" href="https://link.remote.it/docs/api" dense />
100111
<ListItemLocation
101112
title="Bug Report"
102113
icon="spider"
@@ -111,13 +122,6 @@ export const AvatarMenu: React.FC = () => {
111122
}}
112123
dense
113124
/>
114-
<ListItemLink
115-
title="Support"
116-
icon="life-ring"
117-
href="https://link.remote.it/documentation-desktop/overview"
118-
dense
119-
/>
120-
<ListItemLink title="APIs" icon="books" href="https://link.remote.it/docs/api" dense />
121125
{(altMenu || testUI) && (
122126
<ListItemSetting
123127
confirm={!testUI}

frontend/src/components/DeviceList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const DeviceList: React.FC<DeviceListProps> = ({
5151
{devices?.map((device, index) => {
5252
const canRestore = isOffline(device) && !device.shared
5353
if (restore && !canRestore) return null
54-
const disabled = select && !device.scriptable && location.pathname.includes('scripting')
54+
const disabled = select && !device.scriptable && location.pathname.includes('scripts')
5555
return (
5656
<DeviceListContext.Provider
5757
key={device.id}

0 commit comments

Comments
 (0)