5 min readUpdated Mar 2, 2026

ActivityTimelineTile

Overview

The ActivityTimelineTile component provides a chronological display of customer relationship management (CRM) activities. It allows users to manage and visualize various types of activities such as calls, emails, meetings, notes, and tasks within a given interface. This tile is designed to enhance user engagement by visually displaying actions taken, promoting efficient task management, and facilitating team collaboration.

Purpose

The primary purpose of the ActivityTimelineTile is to present a timeline view of past and upcoming activities, enabling users to track and manage their interactions and tasks related to clients or projects. It integrates CRUD (Create, Read, Update, Delete) functionalities that allow users to add, edit, delete, and toggle the completion status of these activities.

Settings

1. Title

2. Subtitle

3. Tile ID

4. Loading State

5. Error State

6. Search Query

7. Storage Provider

8. Filter Type

9. Filter Completed

10. Editing ID

11. Form Data

12. Saving State

13. Organization Users

How It Works

  1. Data Fetching: The tile fetches activities from a data source through the /api/apps/data and /api/apps/config endpoints. The data is populated upon loading the component and updates as CRUD operations are performed.

  2. Filtering and Searching: Users can filter activities based on type and completion status or search through activities using a search bar, allowing them to quickly find relevant entries.

  3. CRUD Operations:

    • Users can create new activities, modify existing ones, delete activities, and toggle their completed status.
    • Each action triggers an API call to update the backend.
  4. Display Logic: Activities are displayed in reverse chronological order, and their visual appearance is styled according to their type (call, email, meeting, etc.) using predefined colors and icons.

  5. AI Integration: The tile integrates with useDashboardStore, which manages the tile’s state and can be influenced by various user interactions. This enhances the analytical capabilities by allowing the dashboard to dynamically reflect user activity.

Data Expectations

The ActivityTimelineTile expects an array of activity objects, each structured with the following keys:

Use Cases & Examples

Use Case 1: Sales Team Activity Tracking

A sales team can utilize the ActivityTimelineTile to log all customer interactions, ensuring they can quickly access the history of client engagements. This can help in personalizing follow-ups and nurturing relationships.

Use Case 2: Project Management

Project managers can track tasks associated with a specific project through the tile. This allows for monitoring of task completion and assigns team members to active tasks, ensuring accountability and productivity.

Configuration Example

Scenario: A project manager wants to track their team's activities related to a specific project.

Sample Configuration Data:

javascript
{
    title: 'Project Activities',
    subtitle: 'Keep track of tasks and meetings',
    id: 'project-activities-tile',
    filterType: 'all',
    filterCompleted: 'pending',
}

In this example, the project activities tile is titled, with a subtitle that indicates its purpose. It filters for all types of activities but focuses specifically on those that remain pending, enabling the project manager to prioritize follow-ups on incomplete tasks.