lablup / lablup/backend.ai-webui

Add the missing maxQuotaScopeSize and keypair user filters to the Resource Policy V2 lists

Open
#9,613 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
133
Forks
81
Avg merge
1d 12h
Merged PRs (30d)
355

Description

Page: /admin/resource-policy. Source: report-resource-policy.md.

- User and Project tabs: add a `maxQuotaScopeSize` filter (server IntFilter in bytes; the column shows a humanized size, so the filter input must accept a size with unit and convert to bytes).
- Keypair tab: add `keypair.userId` filter (user select). Added in 26.4.4 but the V2 tab only renders on >=26.7.0, so no extra gate is needed.
- `maxPriority` (26.8.0) is out of scope until data/schema.graphql is re-synced.

JIRA Issue: FR-3912

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the /admin/resource-policy page and use report-resource-policy.md to locate the User, Project, and Keypair tab filter definitions. Add the maxQuotaScopeSize filters with size-to-byte input handling and the keypair.userId user select; verify both filters render and work, while leaving maxPriority out of scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.