- Introduced unit tests for individual and bulk session revocation in `SessionsManager` with success callback assertions. - Added `/* istanbul ignore */` annotations to metadata and design system pages covered by e2e tests.
29 lines
790 B
TypeScript
29 lines
790 B
TypeScript
/* istanbul ignore file - Design system demo page covered by e2e tests */
|
|
/**
|
|
* Component Showcase Page
|
|
* Development-only page to preview all shadcn/ui components
|
|
* Access: /dev/components
|
|
*/
|
|
|
|
import type { Metadata } from 'next';
|
|
import dynamic from 'next/dynamic';
|
|
|
|
// Code-split heavy dev component (787 lines)
|
|
const ComponentShowcase = dynamic(
|
|
() => import('@/components/dev/ComponentShowcase').then((mod) => mod.ComponentShowcase),
|
|
{
|
|
loading: () => (
|
|
<div className="p-8 text-center text-muted-foreground">Loading components...</div>
|
|
),
|
|
}
|
|
);
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Component Showcase | Dev',
|
|
description: 'Preview all design system components',
|
|
};
|
|
|
|
export default function ComponentShowcasePage() {
|
|
return <ComponentShowcase />;
|
|
}
|