Fix admin dashboard Metrics API error#79
Merged
JoshuaAFerguson merged 5 commits intoNov 18, 2025
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.