Skip to content

Audit logs UI improvement #11446

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Jun 7, 2025
Merged

Conversation

NANDINI-star
Copy link
Collaborator

Audit Logs UI improvement

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

Type

🆕 Enhancement

Changes

  • GitHub-Style Diff Viewer for before_value and updated_values
  • JSON Syntax Highlighting
  • Improved Diff Aesthetics
  • Frontend API Key Masking
  • Preview for Non-Premium Users
Screenshot 2025-06-06 at 1 01 30 AM

https://www.loom.com/share/d20b771a88c94a9db210b086bfd28d91

Copy link

vercel bot commented Jun 5, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2025 5:21pm

Comment on lines +5360 to +5366
export const uiAuditLogsCall = async (
accessToken: String,
start_date?: string,
end_date?: string,
page?: number,
page_size?: number,
) => {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While solving merge conflicts, uiAuditLogsCall() was moved above getSSOSettings()

@@ -6,6 +6,14 @@ import { uiAuditLogsCall, keyListCall } from "../networking";
import { AuditLogEntry, auditLogColumns } from "./columns";
import { Text } from "@tremor/react";
import { Team } from "../key_team_helpers/key_list";
import _ReactDiffViewer from 'react-diff-viewer';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks like a new package - but i don't see a package.json update in here

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed bf9da29

@ishaan-jaff ishaan-jaff changed the base branch from main to litellm_audit_logs_fixes June 7, 2025 21:49
@ishaan-jaff ishaan-jaff merged commit 0b02988 into litellm_audit_logs_fixes Jun 7, 2025
11 checks passed
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.

3 participants