Compare commits

...

3 Commits

Author SHA1 Message Date
702019279a no 2026-02-27 07:29:23 -08:00
141622f86f Add test123 app and support tunnelUrl in Urls 2026-02-27 07:28:58 -08:00
526678e87a Add active variant flex column styles 2026-02-27 07:26:15 -08:00
2 changed files with 2 additions and 3 deletions

View File

@ -7,7 +7,6 @@ import {
TileGrid,
TileIcon,
TileName,
TilePort,
TileStatus,
} from '../styles'
@ -21,7 +20,7 @@ export function Urls({ render }: { render: () => void }) {
return (
<TileGrid narrow={isNarrow || undefined}>
{nonTools.map(app => {
const url = buildAppUrl(app.name, location.origin)
const url = app.tunnelUrl || buildAppUrl(app.name, location.origin)
const running = app.state === 'running'
const appPage = `/app/${app.name}`
@ -41,7 +40,6 @@ export function Urls({ render }: { render: () => void }) {
<TileStatus state={app.state} onClick={openAppPage} />
<TileIcon>{app.icon}</TileIcon>
<TileName>{app.name}</TileName>
<TilePort>{app.port ? `:${app.port}` : '\u2014'}</TilePort>
</Tile>
)
})}

View File

@ -164,6 +164,7 @@ export const TabContent = define('TabContent', {
active: {
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
flex: 1,
width: '100%',
}