Skip to content

release(console): ga the audit logs time-range picker#8810

Merged
simeng-li merged 1 commit into
masterfrom
simeng-log-13442-release-ga-the-audit-logs-time-range-picker-remove-console
May 19, 2026
Merged

release(console): ga the audit logs time-range picker#8810
simeng-li merged 1 commit into
masterfrom
simeng-log-13442-release-ga-the-audit-logs-time-range-picker-remove-console

Conversation

@simeng-li
Copy link
Copy Markdown
Contributor

Summary

Closes LOG-13442. Stacked on #8809.

Removes the isDevFeaturesEnabled guard on the Audit Logs time-range picker (landed in #8809) and adds the Console changeset. After this lands, all Console users see the picker and the 7-day default on the Audit Logs page.

What changed

  • packages/console/src/components/AuditLogTable/index.tsx:
    • Drop import { isDevFeaturesEnabled } from '@/consts/env';.
    • Remove the gate on start_time / end_time query params in the SWR URL (always sent now).
    • Remove the gate on the TimeRangePicker render (always rendered now).
  • .changeset/console-audit-logs-time-picker.md@logto/console: minor describing the new picker and its 7-day default.

Expected behavior

Reviewer notes

  • The unit tests under TimeRangePicker/ are not gated by any dev-features wrapper, so no test changes are needed.
  • No core or schemas changes — purely Console + changeset.

Testing

Tested locally

Checklist

  • .changeset
  • unit tests
  • integration tests
  • necessary TSDoc comments

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 14, 2026

COMPARE TO master

Total Size Diff 📈 +253 Bytes

Diff by File
Name Diff
.changeset/console-audit-logs-time-picker.md 📈 +434 Bytes
packages/console/src/components/AuditLogTable/index.tsx 📈 +181 Bytes

@simeng-li simeng-li force-pushed the simeng-log-13442-release-ga-the-audit-logs-time-range-picker-remove-console branch from 7538451 to 21cd8da Compare May 15, 2026 01:54
@simeng-li simeng-li force-pushed the simeng-log-13420-console-time-range-picker-with-7-day-default-on-the-audit branch from e6f11d6 to 22c4f33 Compare May 15, 2026 01:54
@github-actions github-actions Bot added size/s and removed size/s labels May 15, 2026
Base automatically changed from simeng-log-13420-console-time-range-picker-with-7-day-default-on-the-audit to master May 15, 2026 02:22
@github-actions github-actions Bot added size/xl and removed size/s labels May 15, 2026
Copilot AI review requested due to automatic review settings May 15, 2026 02:37
@simeng-li simeng-li force-pushed the simeng-log-13442-release-ga-the-audit-logs-time-range-picker-remove-console branch from 21cd8da to 2d9a2aa Compare May 15, 2026 02:37
@github-actions github-actions Bot added size/s and removed size/xl labels May 15, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR makes the Audit Logs time-range picker generally available in the Console by removing the isDevFeaturesEnabled gate, so all users get the “Last 7 days” default window and can widen/narrow the time range via the UI.

Changes:

  • Remove the dev-features guard around rendering the Audit Logs TimeRangePicker.
  • Always include resolved start_time / end_time query params in the GET /api/logs request when the time-window hook resolves them.
  • Add a Console changeset documenting the GA of the picker.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
packages/console/src/components/AuditLogTable/index.tsx Ungates the time-range picker UI and time-window query params for audit log requests.
.changeset/console-audit-logs-time-picker.md Adds release notes for the time-range picker and its default behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .changeset/console-audit-logs-time-picker.md
@simeng-li simeng-li force-pushed the simeng-log-13442-release-ga-the-audit-logs-time-range-picker-remove-console branch from 2d9a2aa to 95f14ba Compare May 18, 2026 02:28
@github-actions github-actions Bot added size/s and removed size/s labels May 18, 2026
@simeng-li simeng-li merged commit 8407ecd into master May 19, 2026
43 of 44 checks passed
@simeng-li simeng-li deleted the simeng-log-13442-release-ga-the-audit-logs-time-range-picker-remove-console branch May 19, 2026 06:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

6 participants