Commit Graph
1 Commits
Author SHA1 Message Date
d4b9d1240c refactor(studio): remove the legacy edge function overview (#52281)
The `edgeFunctionsOverview` flag is fully rolled out, so the edge
function Overview page now always renders the new Overview. This removes
the legacy Overview and everything only it used.

- **Overview page**: renders `EdgeFunctionOverview` directly, like the
other function tabs. The flag check and the loader shown while flags
load are gone.
- **`EdgeFunctionRecentInvocations`** and its utils: only the legacy
Overview showed this list.
- **`components/ui/Charts/AreaChart`**: the legacy Overview was its last
importer. The other `AreaChart` uses are recharts' own.

**Self-hosted:** flags never load off-platform, so self-hosted Studio
always got the legacy Overview. Its Overview tab is already hidden, and
the new Overview sends a direct visit to the Details tab, so nothing
reachable from the UI changes.

After this ships, the `edgeFunctionsOverview` flag can be deleted in
ConfigCat.

### How to test

1. Open an edge function's Overview on platform. It shows the new
Overview, with no loader flash while flags load.
2. Self-hosted: open `/project/default/functions/<slug>` directly. It
redirects to the Details tab.

### Validation

- Studio typecheck, lint, Prettier and knip pass on this layer.
Functions and Charts unit tests pass.

### Stack

Merge in order:

1. #50953 — reusable logs table building blocks
2. #50954 — function-scoped unified logs queries
3. #50955 — slimmer function detail layout, header on Overview
4. #50957 — Invocations merged into a function-scoped Logs tab
5. #50958 — Overview errors in the shared logs table
6. #52281 — remove the legacy Overview

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Jordi Enric <jordi.err@gmail.com>
2026-10-28 09:19:25 +01:00