feat(usage): fix Resource Events filters — real event types, name search, no user filter

- Event type: trim the dropdown to the four types that are actually emitted
  (Created / Started / Stopped / Deleted) — updated/attached/detached were
  never recorded — and actually send the selection (event_types) to the API,
  which previously dropped it so the filter did nothing.
- Add a resource-name text filter (debounced, case-insensitive substring).
- Remove the "filter by user" select: the events list has no User column.
  Scope still applies (members see only their own events).
This commit is contained in:
michelia
2026-06-09 11:54:28 +08:00
committed by michela feng
parent 620045d7a3
commit feccc81c5f
7 changed files with 109 additions and 80 deletions
+1
View File
@@ -90,6 +90,7 @@ export default {
// --- Resource events ---
'usage.events.resourceType': 'Тип ресурса',
'usage.events.eventType': 'Тип события',
'usage.events.resourceName': 'Фильтр по имени',
'usage.events.col.time': 'Время',
'usage.events.col.resource': 'Ресурс',
'usage.events.col.event': 'Событие',