Skip to content

Fix admin dashboard Metrics API error#79

Merged
JoshuaAFerguson merged 5 commits into
mainfrom
claude/fix-metrics-api-error-011cZVug89BoAT9N9X2Tr3jt
Nov 18, 2025
Merged

Fix admin dashboard Metrics API error#79
JoshuaAFerguson merged 5 commits into
mainfrom
claude/fix-metrics-api-error-011cZVug89BoAT9N9X2Tr3jt

Conversation

@JoshuaAFerguson

Copy link
Copy Markdown
Member

No description provided.

The metrics API was returning garbled binary data because the gzip
compression middleware was compressing responses but the browser
wasn't consistently decompressing them. This adds /api/v1/metrics
to the exclusion list alongside WebSocket and auth endpoints.
- Remove duplicate Settings entry from sidebar menu items array
- Wire up the remaining Settings entry (after divider) to navigate to /settings
- Add ThemeContext to App.tsx for dynamic light/dark mode switching
- Update UserSettings to use theme context instead of showing refresh message
- Theme changes now apply immediately without page refresh
User-specific quota overrides are now managed directly on the user
detail page instead of a separate admin quotas page. This makes quotas
group-level by default, with user-specific overrides available on the
individual user's detail page.

- Remove standalone admin Quotas page and route
- Update UserDetail to show "Resource Quota Override" section
- Update navigation to remove Quotas link
- Clarify that quotas are group-level with optional user overrides
- Create default 'all_users' group (display name: "All Users") in
  database migrations with type 'system'
- Automatically add all new users to this group on creation
- Add admin user to all_users group in initial migration
- Group quotas can now be set on all_users to apply to everyone
- Add 'type' field to repositories table (template/plugin)
- Fix default repositories to use correct status 'pending' not 'active'
- Handle NULL last_sync and error_message in ListRepositories handler
- Update Repository interface to include type field
- Update EnhancedRepositories page to:
  - Rename to "Repositories" (manages both templates and plugins)
  - Add type filter tabs (All/Templates/Plugins)
  - Show counts by repository type
@JoshuaAFerguson JoshuaAFerguson merged commit e359739 into main Nov 18, 2025
8 of 23 checks passed
@JoshuaAFerguson JoshuaAFerguson deleted the claude/fix-metrics-api-error-011cZVug89BoAT9N9X2Tr3jt branch November 18, 2025 02:56
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

Successfully merging this pull request may close these issues.

2 participants