47fac22230
- .claude/CLAUDE.md - .claude/commands/subagentes.md - .claude/rules/INDEX.md - .mcp.json - bash/functions/cybersecurity/analyze_dns.md - bash/functions/cybersecurity/audit_http_headers.md - bash/functions/cybersecurity/audit_ssh_config.md - bash/functions/cybersecurity/check_firewall.md - bash/functions/cybersecurity/detect_suspicious_users.md - bash/functions/cybersecurity/encrypt_file.md - ... Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2.0 KiB
2.0 KiB
name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, params, output, tested, tests, test_file_path, file_path, source_repo, source_license, source_file
| name | kind | lang | domain | version | purity | signature | description | tags | uses_functions | uses_types | returns | returns_optional | error_type | imports | params | output | tested | tests | test_file_path | file_path | source_repo | source_license | source_file | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| detail_page | function | ts | ui | 1.0.0 | pure | detailPage(props: DetailPageProps): ReactElement | Genera una página de detalle de entidad con header (avatar, badge, back), grid de campos, tabs con contadores y timeline de actividad. |
|
false |
|
|
Componente ReactElement que renderiza página de detalle con header, grid de campos y timeline de actividad | false | frontend/functions/ui/detail_page.tsx | https://gitea-dgg044oo04woo4ggcsws4gk0.organic-machine.com/Bl4cksmith/Frontend_Library | MIT |
Ejemplo
detailPage({
title: 'John Doe',
subtitle: 'john@example.com',
badge: <Badge variant="success">Active</Badge>,
onBack: () => router.back(),
fields: [
{ label: 'Role', value: 'Administrator' },
{ label: 'Created', value: 'Mar 15, 2026' },
{ label: 'Bio', value: 'Full stack developer...', span: 2 },
],
tabs: [
{ label: 'Projects', value: 'projects', count: 12, content: <ProjectList /> },
{ label: 'Activity', value: 'activity', count: 48, content: <ActivityList /> },
],
activeTab: 'projects',
timeline: [
{ id: '1', title: 'Deployed v2.1', timestamp: '2 hours ago', variant: 'success' },
{ id: '2', title: 'Updated settings', timestamp: 'Yesterday' },
{ id: '3', title: 'Created project', timestamp: 'Mar 10, 2026' },
],
})
Notas
Factory completa para páginas de detalle. Combina header con back/avatar/badge, grid de metadata, tabs con badges de conteo, y timeline de actividad con variantes de color semántico.