Skip to content

Fix duplicate 'about' in report collection checkback message#45108

Open
kilo-code-bot[bot] wants to merge 1 commit intomainfrom
session/agent_69610cd3-3a8e-4fd9-b939-44bb4d60fb10
Open

Fix duplicate 'about' in report collection checkback message#45108
kilo-code-bot[bot] wants to merge 1 commit intomainfrom
session/agent_69610cd3-3a8e-4fd9-b939-44bb4d60fb10

Conversation

@kilo-code-bot
Copy link
Copy Markdown
Contributor

@kilo-code-bot kilo-code-bot Bot commented May 9, 2026

Summary

  • Remove redundant "about" from the collecting-results checkback message in NoResults.tsx
  • The formatDistance() function from date-fns already includes "about" in its output (e.g., "about 23 hours"), so the template was producing "Check back in about about 23 hours"
  • Now correctly displays "Check back in about 23 hours"

Changes

frontend/pages/queries/details/components/NoResults/NoResults.tsx — removed the extra "about " prefix from the template string on the checkback time message.


Built for Mike McNeil by Kilo for Slack

The formatDistance() function from date-fns already prefixes its output
with 'about' for approximate durations (e.g. 'about 23 hours'). The
template string also included 'about', producing 'about about 23 hours'.

Remove the redundant 'about' from the template.
@kilo-code-bot kilo-code-bot Bot requested a review from a team as a code owner May 9, 2026 22:35
Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.82%. Comparing base (41549d9) to head (6dee62b).

Additional details and impacted files
@@           Coverage Diff            @@
##             main   #45108    +/-   ##
========================================
  Coverage   66.82%   66.82%            
========================================
  Files        2720     2720            
  Lines      218985   218985            
  Branches    10709    10583   -126     
========================================
  Hits       146333   146333            
  Misses      59492    59492            
  Partials    13160    13160            
Flag Coverage Δ
frontend 55.31% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

<>
Fleet is collecting report results. <br />
Check back in about {readableCheckbackTime}.
Check back in {readableCheckbackTime}.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it!

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.

2 participants