mirror of
https://github.com/supabase/supabase.git
synced 2026-10-12 04:45:08 +03:00
- adds last9 log drain to the UI (flagged) - updates API Types ## To test - go to last9 - create project - select oltp - grab creds - go to log drains - create last9 log drain - paste creds - after a few minutes last9 should start showing supabase logs like this <img width="2042" height="1632" alt="CleanShot 2026-02-05 at 13 17 19@2x" src="https://github.com/user-attachments/assets/9abc34f7-58ea-431c-9b56-5448fc9e76fd" /> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Last9 observability integration: new log drain destination with region selection, credentials UI, feature-flag gating, and icon * Just-in-time (JIT) access configuration at the project level * Plan features API to retrieve plan-specific feature configurations * **Improvements** * Backend/provider support expanded to include Last9 and OTLP * Telemetry events updated to include Last9 and OTLP destinations * Credit redemption response updated; preview endpoint removed <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Writing pages
Rough guidelines
- Try to break down your pages into smaller building blocks - components which are tightly coupled to a page can be placed within the folder
components/interfaces/xxx/...(Refer to the README.md under the components folder) - Keep to using
useStatehooks for any UI related logic, do not create MobX local stores to handle UI logic.
Template for building pages
import { NextPage } from 'next'
import { withAuth } from 'hooks/misc/withAuth'
// Import the corresponding layout based on the page
import { Layout } from 'components/layouts'
// Import the main building blocks of the page
import { ... } from 'components/interfaces/xxx'
// Import reusable UI components if needed
import { ... } from 'components/ui/xxx'
// Name your page accordingly
const Page: NextPage = () => {
return (
<Layout>
<div>Page content</div>
</Layout>
)
}
export default withAuth(Page)