feat(activity-hub): integrate staff portal with activity service#349
Draft
feat(activity-hub): integrate staff portal with activity service#349
Conversation
…ration - Fix policy detail page to pass empty context object to staffResourceLinkResolver for type safety (policy preview lacks tenant context) - Fix changeSource filter parsing to properly handle 'all' value in addition to 'human' and 'system' - Remove duplicate EffectiveTimeRange type definition by re-exporting from @miloapis/activity-ui Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add Activity Hub section to staff portal with full Activity UI integration: - New Activity Hub routes with tabbed navigation (Feed, Audit Logs, Events, Policies) - Activity client server-side integration for API queries - Link resolvers for navigating to Datum resources from activity data - Filter and share utilities for Activity components - Updated package.json with @datum-cloud/activity-ui dependency - Added .npmrc for GitHub Packages registry access The Activity Hub provides operators visibility into cluster activities, audit logs, and events using the Activity system's queryable data store. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…ced filters Add tenant column with navigation links to organization/project/user pages, and expand filtering capabilities with response code, resource type, and API group filters. Migrate activity client from server-side to client-side for better proxy integration. - Add Tenant column with clickable links based on scope type annotations - Add Response Code filter (200, 201, 204, 400, 401, 403, 404, 409, 500) - Add Resource Type filter (DNS zones, records, HTTP proxies, etc.) - Add API Group filter (dns.miloapis.com, resourcemanager.miloapis.com) - Exclude system users and activity API group from results by default - Add default action filter for modification-only operations - Add NavTabs component for route-based tab navigation - Add CodeEditorDiff component for JSON diff visualization - Fix sidebar overflow issues in layout Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
758a472 to
3e7f0d8
Compare
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
3e7f0d8 to
bba3d97
Compare
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.
Summary
Integrates the staff portal with the new activity service, enabling staff to monitor and investigate customer activity across the platform.
Test plan
🤖 Generated with Claude Code