This commit is contained in:
Boki 2026-11-26 22:23:07 -05:00
parent c353ddbe01
commit ce9e2df67c
310 changed files with 2550 additions and 36861 deletions

View file

@ -1,44 +0,0 @@
# Monitoring Components - Spacing Guidelines
This document outlines the standardized spacing used across monitoring components to maximize screen real estate.
## Spacing Standards
### Page Layout
- Main container: `flex flex-col h-full space-y-4` (16px vertical gaps)
- No outer padding - handled by parent layout
- Section spacing: `space-y-4` between major sections
### Cards
- Card padding: `p-4` (16px) for main cards, `p-3` (12px) for compact cards
- Card header: `pb-3` (12px bottom padding)
- Card content spacing: `space-y-3` (12px gaps)
- Grid gaps: `gap-3` (12px) or `gap-4` (16px)
### Typography
- Page title: `text-lg font-bold mb-2`
- Section headings: `text-lg font-semibold mb-3`
- Card titles: `text-base font-semibold`
- Large values: `text-xl` or `text-lg`
- Regular text: `text-sm`
- Small text/labels: `text-xs`
### Specific Components
**ServiceCard**: `p-3` with `space-y-1.5` and `text-xs`
**DatabaseCard**: `p-4` with `space-y-2`
**SystemHealthCard**: `p-4` with `space-y-3`
**CacheStatsCard**: `p-4` with `space-y-3`
**ProxyStatsCard**: `p-4` with `space-y-3`
**QueueStatsTable**: `p-4` with `text-xs` table
### Grids
- Service grid: `gap-3`
- Database grid: `gap-3`
- Main layout grid: `gap-4`
## Benefits
- Maximizes usable screen space
- Consistent with dashboard/exchanges pages
- More data visible without scrolling
- Clean, compact appearance

View file

@ -1,58 +0,0 @@
# Pipeline Page - Spacing Updates
This document outlines the spacing standardization applied to the Pipeline page to match the monitoring and dashboard pages.
## Changes Applied
### Layout Structure
- Main container: `flex flex-col h-full space-y-4`
- No outer padding (handled by parent layout)
- Flex-shrink-0 for fixed elements
- Overflow-y-auto for scrollable content area
### Typography
- Page title: `text-lg` (from `text-2xl`)
- Page description: `text-sm`
- Section headings: `text-base` (from `text-lg`)
- Card titles: `text-sm`
- Card descriptions: `text-xs` (from `text-sm`)
- All text in cards: `text-xs`
### Spacing
- Grid gaps: `gap-3` (from `gap-4`)
- Card padding: `p-3` (from `p-4`)
- Margins: `mb-2` or `mb-3` (from `mb-3` or `mb-4`)
- Button padding: `px-2.5 py-1.5` (from `px-3 py-2`)
### Icons
- Section icons: `h-4 w-4` (from `h-5 w-5`)
- Button icons: `h-3 w-3` (from `h-4 w-4`)
### Specific Components
**Stats Cards**:
- Padding: `p-3`
- Title: `text-base mb-2`
- Content: `text-xs` with `space-y-1.5`
**Operation Cards**:
- Padding: `p-3`
- Title: `text-sm`
- Description: `text-xs mb-2`
- Form elements: `text-xs` with `mb-2`
**Buttons**:
- Padding: `px-2.5 py-1.5`
- Text: `text-xs`
- Icons: `h-3 w-3`
**Alert Messages**:
- Padding: `p-3`
- Text: `text-sm`
- Icons: `h-4 w-4`
## Benefits
- Consistent with monitoring and dashboard pages
- More operations visible without scrolling
- Cleaner, more compact appearance
- Better space utilization for data-heavy interface