Skip to content

Conversation

@MildTomato
Copy link
Member

@MildTomato MildTomato commented Jul 17, 2025

Context

Shifts Unified Logs into feature preview - instead of having its own nav button in the side bar, unified logs will share the existing logs button, in which the link to the existing logs explorer or the new unified logs will be toggled by the feature preview

Key Changes

  • unifiedLogs feature flag now controls the visibility of the following

    • Unified logs in feature preview modal
    • UI callouts to enable / disable unified logs (screenshots below)
  • Added Unified Logs to feature preview

image
  • Added UI callout on logs explorer page to try new feature preview
image
  • Also a UI callout to easily flip back as new unified logs can't fully replace existing logs explorer just yet
image

Introduces a unified logs feature preview, allowing users to enable or disable a new logs interface with enhanced filtering and real-time updates. Adds context hooks, UI components (UnifiedLogsPreview, LogsSwitchBox), and conditional logic to display the new interface or revert to the old one. Updates routing and feature preview modal to support the unified logs preview, and extends local storage keys for feature flag management.
Replaced custom SVG icons with Lucide React icons in LogsSidebarMenuV2 and FilterSideBar for consistency and maintainability. Removed the unused LogsSwitchBox component and cleaned up related imports in FeaturePreviewModal.
Introduces a reusable FeaturePreviewSidebarPanel component and replaces InnerSideBarEmptyPanel usages in LogsSidebarMenuV2 and FilterSideBar. Removes unified logs feature flag logic from Sidebar and NavigationBar.utils, simplifying route generation and UI logic.
Removed the unused Sparkles icon import from LogsSidebarMenuV2. Updated FeaturePreviewSidebarPanel to use 'bg-muted/10' for background, simplified class names for text alignment, and cleaned up redundant text-left classes for improved styling consistency.
@MildTomato MildTomato requested a review from a team as a code owner July 17, 2025 04:27
@vercel
Copy link

vercel bot commented Jul 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
studio-self-hosted ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 17, 2025 8:05am
studio-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 17, 2025 8:05am
6 Skipped Deployments
Name Status Preview Comments Updated (UTC)
cms ⬜️ Ignored (Inspect) Jul 17, 2025 8:05am
studio ⬜️ Ignored (Inspect) Visit Preview Jul 17, 2025 8:05am
design-system ⬜️ Skipped (Inspect) Jul 17, 2025 8:05am
docs ⬜️ Skipped (Inspect) Jul 17, 2025 8:05am
ui-library ⬜️ Skipped (Inspect) Jul 17, 2025 8:05am
zone-www-dot-com ⬜️ Skipped (Inspect) Jul 17, 2025 8:05am

@supabase
Copy link

supabase bot commented Jul 17, 2025

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

Copy link
Member

@alaister alaister left a comment

Choose a reason for hiding this comment

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

LGTM!

  • Tested on preview

@joshenlim joshenlim merged commit 41a5c39 into master Jul 17, 2025
19 checks passed
@joshenlim joshenlim deleted the feat/logs-preview branch July 17, 2025 08:14
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.

4 participants