File Activity

File activity panel and audit dashboard

SaaSFile Management

Overview

FileActivityPanel displays a chronological activity feed for a file, showing who performed each action (created, renamed, shared, downloaded, version_created, etc.) with timestamps and action-specific icons. Supports load-more pagination, loading skeleton, error state, and empty state. A "Show details" toggle reveals IP address and user-agent metadata per entry.

Usage

import { FileActivityPanel } from "@leanicon/web-builder-library/saas";

<FileActivityPanel
  file={file}
  entries={activityEntries}
  hasMore={hasMoreActivity}
  onLoadMore={() => loadMoreActivity()}
/>;

Variants

Default

Activity

Jane Smith renamed
Jan 20, 2024
John Doe shared
Jan 18, 2024
Bob Wilson downloaded
Jan 15, 2024
Jane Smith version created
Jan 10, 2024
John Doe created
Jan 1, 2024

Empty

No activity

Activity will appear here as the file is used

Loading

With Error

Failed to load activity. Please try again.

Dark

Activity

Jane Smith renamed
Jan 20, 2024
John Doe created
Jan 1, 2024