feat(logs-context-menu): consolidated logs utils and types, added logs record context menu (#2659)

This commit is contained in:
Waleed
2026-01-01 13:47:30 -08:00
committed by GitHub
parent 4da128d77c
commit 852562cfdd
20 changed files with 374 additions and 134 deletions

View File

@@ -30,6 +30,18 @@ import { Dashboard, Sidebar } from '@/app/workspace/[workspaceId]/logs/component
import { Dashboard } from '@/app/workspace/[workspaceId]/logs/components/dashboard/dashboard'
```
## No Re-exports
Do not re-export from non-barrel files. Import directly from the source.
```typescript
// ✓ Good - import from where it's declared
import { CORE_TRIGGER_TYPES } from '@/stores/logs/filters/types'
// ✗ Bad - re-exporting in utils.ts then importing from there
import { CORE_TRIGGER_TYPES } from '@/app/workspace/.../utils'
```
## Import Order
1. React/core libraries