gitlawrandjialin 6af18275c4 feat(usage): treat org owners as managers on the Usage page
The Usage page gated cross-user features (default ``scope=all``,
the user filter, the per-user breakdown dimension) on
``currentUser.is_admin`` alone. The backend's
``_can_use_all_scope`` already grants the same surface to Org
owners — the page just never asked. Result: a non-admin Org owner
landed on ``scope=self`` with no user filter and no per-user
group-by, even though the API would have happily served them the
org-wide picture.

Switch the three sites to ``useAccess().canSeeOrgAdmin``, which
already encodes "platform admin OR owner of the selected
(non-Personal) Org". One predicate, no new helper.

Sites:
- ``index.tsx``: ``initialScope`` defaults to ``all`` for managers.
- ``filter-bar.tsx``: the user filter + nested API-key cascader
  surface (vs the flat API-key picker for members).
- ``daily-usage.tsx``: the ``user`` group-by option in the chart.
2026-05-25 13:56:25 +08:00
2025-10-13 19:55:08 +08:00
2026-05-12 14:31:52 +08:00
2026-01-09 21:13:41 +08:00
2026-05-08 09:33:16 +08:00
2025-06-10 19:24:13 +08:00
2026-05-15 09:41:10 +08:00
2026-05-07 18:26:48 +08:00
2024-05-14 15:23:56 +08:00
2026-01-14 16:01:47 +08:00
2024-05-16 10:45:45 +08:00
2026-01-14 16:01:47 +08:00
2026-05-15 16:22:07 +08:00
2026-05-11 19:49:21 +08:00
2026-04-24 14:28:30 +08:00
2024-12-09 11:37:37 +08:00
2026-05-19 14:09:07 +08:00
2026-05-19 14:09:07 +08:00
2025-03-10 12:33:43 +08:00
2026-04-29 18:09:55 +08:00

GPUStack UI

UI for GPUStack.

Installation

  1. Nodejs 16.0+(with NPM)

If you're on Mac

brew install node
  1. pnpm
npm install -g pnpm
  1. Setup
git clone https://github.com/gpustack/gpustack-ui/
  1. Install dependencies
cd gpustack-ui
pnpm install

Usage

  1. Run development server (at http://localhost:9000)
npm run dev
  1. build release
npm run build

Bugs & Issues

S
Description
No description provided
Readme
27 MiB
Languages
TypeScript 68.9%
JavaScript 29.4%
Less 1.4%
CSS 0.3%