Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Tracked by #1352
sudomateo opened this issue Nov 21, 2024 · 1 comment
Open
Tracked by #1352

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

sudomateo opened this issue Nov 21, 2024 · 1 comment

Comments

@sudomateo
Copy link

sudomateo commented Nov 21, 2024

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 },
})

@david-crespo
Copy link
Collaborator

david-crespo commented Nov 22, 2024

#2567 makes this marginally better in that the ones in the menu will at least be the ones on the current page when you change pages, instead of always being the first page. #2029 is what would make the full list searchable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants