Skip to content

feat: display event_time in model details panel#584

Open
psaikaushik wants to merge 1 commit intodbt-labs:mainfrom
psaikaushik:feat/583-display-event-time
Open

feat: display event_time in model details panel#584
psaikaushik wants to merge 1 commit intodbt-labs:mainfrom
psaikaushik:feat/583-display-event-time

Conversation

@psaikaushik
Copy link
Copy Markdown

Summary

Display the event_time configuration in the model details panel of the dbt docs UI.

Closes #583
Ref: dbt-labs/dbt-core#12800

Problem

Developers working with microbatch models need to verify that event_time is configured on a model and its parents. Currently, they have to manually check both the YAML config and the code — the docs UI doesn't surface this information even though it's already present in the manifest at node.config.event_time.

Solution

Add an "Event Time" row to the model details panel in table_details.js, following the same pattern as other config-derived properties (Owner, Language, Contract, etc.).

The change:

  1. Reads event_time from model.config.event_time
  2. Adds it to the getBaseStats() detail list
  3. Only displays it when configured (the existing _.filter removes entries with undefined values)

Code change (3 lines added)

// In getBaseStats():
const event_time = model.hasOwnProperty('config') && model.config.event_time
    ? model.config.event_time
    : undefined;

// In the stats array:
{
    name: "Event Time",
    value: event_time
},

How it looks

When event_time is configured on a model, the details panel will show:

Event Time    created_at

When event_time is not configured, the row is hidden (same behavior as Version, Access, etc.).

Checks

  • Minimal change — only table_details.js modified
  • Follows existing patterns for config-derived details
  • No display when event_time is not configured (graceful degradation)
  • CLA signed

Add event_time to the model details panel so developers working with
microbatch models can see whether event_time is configured directly
in the docs UI. The value is read from node.config.event_time in the
manifest and only displayed when configured (non-null).

Closes dbt-labs#583
Ref: dbt-labs/dbt-core#12800
@psaikaushik psaikaushik requested a review from a team as a code owner April 13, 2026 16:28
@cla-bot cla-bot Bot added the cla:yes label Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Display event_time in model details panel

1 participant