Skip to content

[2.0] Fixes 38200: Show when an asset was last updated at its source in the entity header - #38593

Merged
sweta1308 merged 2 commits into
2.0from
backport-2.0/source-updated-time
Nov 24, 2026
Merged

sweta1308 merged 2 commits into
2.0from
backport-2.0/source-updated-time

Conversation

@sweta1308

@sweta1308 sweta1308 commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Backport of #38201 and #38268 to 2.0 in one PR. Both are already on main and 2.1.

Fixes #38200

What changes

  • The data asset header metadata row shows Updated at source (lifeCycle.updated) after the other header fields, laid out like them (Fixes 38200: Show the source update time as a header field and created time without its UTC offset #38268's position). The value is relative time, for example "2 hours ago", and the exact time shows on hover.
  • It is hidden when the source reported no update time, and when the timestamp is the year-0001 placeholder older ingestion stored (isRecordedLifeCycleTimestamp).
  • Spreadsheet Created Time shows without its UTC offset; the full time shows on hover.
  • The updated-at-source label is added to every locale on 2.0.

Differences from main

2.0 predates main's header redesign, so I ported the final behaviour by hand instead of cherry-picking:

  • 2.0's core Typography has no tooltip prop. ExtraInfoLabel passes the hover time through ellipsis={{ tooltip }} instead. This is an app-level change only; core components are untouched.
  • Table header Created Time (and TableCreationTime.spec.ts) is not on 2.0, so only the spreadsheet Created Time change applies.
  • it-it.json does not exist on 2.0.
  • That button centres its text, so a value narrower than its label sat off the label's left edge. The ExtraInfoLabel column now left-aligns it (tw:[&_button]:text-left).

Tests

  • Jest: DataAssetsHeader.test.tsx covers shown + hover tooltip, hidden when absent, and hidden for the placeholder. DataAssetsHeader.utils.test.tsx covers spreadsheet Created Time without its UTC offset and the full time on hover. Both suites pass locally (69 tests).
  • Playwright: SourceUpdatedTime.spec.ts (from main) covers table, dashboard and pipeline, with and without a source update time. I have not run it locally.
  • I added routing for the spec to the impact map and regenerated the generated map (--check is up to date).

Screenshots

Taken on the 2.0 UI against a local 2.0 server with sample data (sample_data.ecommerce_db.shopify.agent_performance_summary).

Updated at source in the header metadata row, after the other fields:

Updated at source in the 2.0 header

Hovering it shows the exact time:

Exact source update time on hover

🤖 Generated with Claude Code

…in the entity header

Backport of #38201 and #38268 to 2.0 as one change.

The header metadata row shows lifeCycle.updated as "Updated at source" after the
other header fields, as relative time with the exact time on hover, and hides it
when the source reported no update time or stored the year-0001 placeholder.
Spreadsheet Created Time shows without its UTC offset; the full time shows on hover.
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR checks passed

The linked issue has a description and all required Shipping project fields set. Thanks!

2.0's Typography wraps an ellipsis tooltip in a button, which centres its text, so
a value narrower than its label (Updated at source) sat off the label's left edge.
@gitar-bot

gitar-bot Bot commented Nov 24, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

Showing source-update timestamps and changing spreadsheet creation-time formatting alters displayed asset metadata, which could affect how users judge freshness and creation time.

Adds an Updated at source field to the data asset header metadata row, showing relative time (for example "2 hours ago") with the exact time on hover. The field is hidden when no update time is reported or when the year-0001 placeholder is stored, and spreadsheet Created Time drops its UTC offset while keeping the full time on hover. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@sweta1308
sweta1308 merged commit 0dab945 into 2.0 Nov 24, 2026
61 of 62 checks passed
@sweta1308
sweta1308 deleted the backport-2.0/source-updated-time branch November 24, 2026 13:40
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.

Show when an asset was last updated at its source in the entity header

2 participants