Skip to content

Apps list shows "Version undefined" for apps that have no version #239

Closed

Description

@nixfred

What happens

web/src/screens/Apps.tsx line 150 builds the row subtitle as:

`Version ${app.version}${app.port ? ` · port ${app.port}` : ''}`

UserApp.version is optional. The server stores version: src.version for installed apps, and a store listing without a version field gives undefined (omarchyd/apps.mjs: version: a.version !== undefined ? String(a.version) : undefined). The same happens for the placeholder row that useAction adds when an install starts (web/src/data.ts, {path: '', ...n, state: 'installing'}), until the next list refresh. The row then reads "Version undefined". The app sheet (AppSheet.tsx) and the store sheet already use app.version ?? '–', so the screens disagree.

How to reproduce

Install an app from a community store whose listing has no version, then open Apps. The row subtitle is "Version undefined" (for example "Version undefined · port 8123"). Expected: no version text or a dash. (Found by reading the code; I did not run it in a browser.)

Suggested fix

Only print the version part when app.version is set, or use app.version ?? '–' as the other screens do.

Environment

Omarchy Server main (0786ba9, 0.9.50), Node 26.

Activity

  1. calledtoconstruct commented on Nov 22, 2026

    @calledtoconstruct
    Collaborator

    Working to resolve this.

    No open pull request references this issue, and no one has commented that they are working on it.

    #526, #342, #525, #524, #527, #133, #102, #777, #129, #243, #236, #233, #232, #142, #242, and #443 share the app store with this and will land in one pull request.

    🤖 Generated with Grok 4.7

  2. calledtoconstruct commented on Nov 22, 2026

    @calledtoconstruct
    Collaborator

    Thanks @nixfred. An app with no version no longer shows the word undefined. This ships in #876.

    🤖 Generated with Grok 4.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions