Mirakl Design
Mirakl Design
  • Getting started
    • Welcome to Roma
      • Design principles
  • Design
    • Components
      • Actions
        • Action menu
        • Buttons
        • Button group
        • File download
        • Save bar
        • Tasklist
        • Contextual Toolbar
      • Datalist
      • Datatable
      • Feedback
        • Alerts
        • Activity Loader
        • Badge (status)
        • Empty state
        • Snackbar
      • Form
        • Fields
        • Pickers
        • Selection controls
        • Tree
      • Images
        • Illustrations
        • Icons
        • Media
      • Navigation
        • Hyperlink
        • Page title
        • Sidebar
        • Top bar
      • Overlays
        • Modal
        • Popover
        • Tooltip
        • Side Drawer
      • Structure
        • Global layout
        • Panel
          • Activable Panel
          • Clickable Panel
          • Expandable Panel
          • Panel tabs
          • Totalizer Panel
        • Card
    • Patterns
      • Advanced selection
      • Configure options
      • Displaying data
      • Displaying history
      • Errors
      • Forms
        • Form - Creation mode
        • Form - Edition mode
        • Form - In a modal
        • Error Management
        • Stepper form
        • Onboarding form
      • Loading
      • Progressive disclosure
  • content
    • Writing for Mirakl
      • Grammar and formatting
    • Vocabulary
      • Mirakl products
      • Which verb to use
Powered by GitBook
On this page
  • HistoryTable
  • Timeline
  • HistoryTable or Timeline?

Was this helpful?

  1. Design
  2. Patterns

Displaying history

Tracking changes and progression over time.

Last updated 8 months ago

Was this helpful?

When it comes to displaying history on our platform, you can choose between two main components: HistoryTable and Timeline.

HistoryTable

A HistoryTable is ideal for displaying detailed records of changes. It allows users to view not just the modifications themselves, but also key information about who made those changes, when they occurred, and what values were changed (before and after the modification).

Key Features of a HistoryTable:

  • Bundles of Changes: Organizes changes into logical groups, helping users see sets of related modifications.

  • Who, When, What: Provides clear visibility on who initiated the change and when, alongside a snapshot of the values before and after the change.

  • Audit-Ready: Ideal for scenarios where tracking detailed records of all actions is crucial, especially for auditing purposes.

Example: Viewing a list of price updates for a product, with details on who made the change, what the old price was, and what it has been updated to.

This pattern requires a combination of a datatable on a full page and a side drawer to display details.

Timeline

A Timeline focuses on displaying the progression of an object over time. Instead of showing granular details of each change, it presents a high-level view of the object’s history, showing the key milestones in its lifecycle.

Key Features of a Timeline:

  • Progressive View: Visualizes the progression of an object through different stages or statuses.

  • Simplified History: Instead of showing every single change, it highlights key events that mark significant points in the object's journey.

  • Narrative Flow: Timelines are ideal when the goal is to understand how an object or entity evolved over time, rather than the specific details of each change.

Example: Viewing the status changes of an order, such as "created," "shipped," "delivered," with clear timestamps marking each transition.

A timeline can be displayed either on a full page or within a side drawer.

HistoryTable or Timeline?

When deciding between these two approaches, consider the following criteria:

Criteria

HistoryTable

Timeline

Focus on detail

Detailed view of changes (who, what, when)

High-level overview of key events

Data granularity

Shows bundles of changes and value modifications

Focuses on significant progression steps

Use case

Ideal for auditing or reviewing specific changes

Ideal for tracking the overall flow of events

Example

Price updates, user action logs

Status progression of an order

Choose a HistoryTable when users need to dive deep into the specifics of each change, including before-and-after values and the actions taken by users. Opt for a Timeline when the goal is to give users a more narrative view of how an object has evolved over time, showing only the most critical events in its history.

Timeline or Tasklist ? A Timeline shows the progression of an item, detailing past actions or upcoming events, while a helps users follow a process and take actions, focusing on tasks that need to be completed rather than reflecting past events.

Tasklist