Skip to content

Jump To modal only allows jumping to first 25 projects #2572

@sudomateo

Description

@sudomateo

In the Oxide Console pressing Ctrl + k (Linux/Windows) or Cmd + k (macOS) opens the Jump To modal which allows operators to quickly perform actions such as jumping to a project or silo.

If an operator has more than 25 projects in their silo then they will only be able to jump to one of the first 25 projects in lexicographical order. For example, if a silo has 50 projects named foo01 to foo50 then they can only jump to projects foo01 to foo25.

An operator should be able to jump to any project within their silo via the Jump To modal.

A naive fix would be to bump the PAGE_SIZE constant since that is used in the ProjectsPage component but that would just move the problem to a larger number.

export const PAGE_SIZE = 25

const { data: projects } = usePrefetchedApiQuery('projectList', {
query: { limit: PAGE_SIZE },
})

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