release(console): ga the audit logs time-range picker#8810
Merged
simeng-li merged 1 commit intoMay 19, 2026
Merged
Conversation
COMPARE TO
|
| Name | Diff |
|---|---|
| .changeset/console-audit-logs-time-picker.md | 📈 +434 Bytes |
| packages/console/src/components/AuditLogTable/index.tsx | 📈 +181 Bytes |
xiaoyijun
approved these changes
May 14, 2026
7538451 to
21cd8da
Compare
e6f11d6 to
22c4f33
Compare
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
4 tasks
21cd8da to
2d9a2aa
Compare
Contributor
There was a problem hiding this comment.
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_timequery params in theGET /api/logsrequest 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.
wangsijie
approved these changes
May 17, 2026
2d9a2aa to
95f14ba
Compare
charIeszhao
approved these changes
May 19, 2026
gao-sun
approved these changes
May 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes LOG-13442. Stacked on #8809.
Removes the
isDevFeaturesEnabledguard 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:import { isDevFeaturesEnabled } from '@/consts/env';.start_time/end_timequery params in the SWR URL (always sent now).TimeRangePickerrender (always rendered now)..changeset/console-audit-logs-time-picker.md—@logto/console: minordescribing the new picker and its 7-day default.Expected behavior
start_time/end_timeparams landed unguarded in feat(core): add start_time and end_time query params on audit log routes #8806).Reviewer notes
TimeRangePicker/are not gated by any dev-features wrapper, so no test changes are needed.Testing
Tested locally
Checklist
.changeset