Skip to content

Implement Layered Circle Indicator System (Issue #15) - #22

Merged
malibio merged 2 commits into
mainfrom
feature/issue-15-layered-circle-indicators
Aug 6, 2025
Merged

malibio merged 2 commits into
mainfrom
feature/issue-15-layered-circle-indicators

Conversation

@malibio

@malibio malibio commented Aug 6, 2025

Copy link
Copy Markdown
Collaborator

Summary

  • Implements the complete technical CSS solution for layered circle indicators in BaseNode
  • Replaces emoji icons with clean, scalable circle system using ::before and ::after pseudo-elements
  • Provides visual differentiation between childless nodes (solid circle) and parent nodes (layered ring effect)

Technical Implementation

  • Fixed 16px container with 10px solid circle using calc(var(--ns-font-size-base) * 1) and calc(var(--ns-font-size-base) * 0.625)
  • Layered pseudo-elements: ::before for semi-transparent background (25% opacity), ::after for solid circle
  • Parent node detection: New hasChildren prop triggers .ns-node--has-children class for ring effect
  • Design system integration: Uses existing --ns-node-*-accent tokens for theme-aware colors
  • Responsive scaling: Tied to --ns-font-size-base for proper app zoom behavior
  • Top-alignment: Maintains existing align-items: flex-start header layout

Testing

  • ✅ Circle indicators render at consistent 16px size regardless of content formatting
  • ✅ Parent nodes show semi-transparent background ring with solid circle overlay
  • ✅ Childless nodes show only solid circle (no visible background)
  • ✅ All node types (text, task, ai-chat, entity, query) use correct accent colors
  • ✅ Icons stay top-aligned when content has different font sizes
  • ✅ System scales properly with CSS custom properties
  • ✅ Theme integration works with existing design tokens

Test Plan

  • Visual verification with mixed childless/parent node examples
  • Responsive scaling verification across different zoom levels
  • Theme color integration verification for all node types
  • Code quality checks passed (ESLint, Prettier, TypeScript, Svelte)

Closes #15

🤖 Generated with Claude Code

malibio and others added 2 commits August 6, 2025 19:16
- Replace emoji icons with clean circle indicators using CSS pseudo-elements
- Add 16px fixed-size container with 10px solid circle for childless nodes
- Add semi-transparent background circle (25% opacity) for parent nodes
- Implement responsive scaling tied to --ns-font-size-base CSS custom property
- Add hasChildren prop to BaseNode component for parent/child differentiation
- Use design system accent colors for different node types (text, task, ai-chat, entity, query)
- Maintain top-alignment with existing flex-start header layout
- Hide emoji icons in favor of cleaner circle system

Addresses issue #15 - complete technical CSS implementation as specified.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Enhanced pseudo-element CSS implementation for 16px container with 10px solid circle
- Added proper parent node indicators with 25% opacity background circles
- Implemented responsive sizing using --ns-font-size-base for app zoom scaling
- Integrated theme-aware colors using design system tokens for all node types
- Verified top-alignment with align-items: flex-start for consistent positioning
- Tested with both childless and parent node states in main app examples

Addresses issue #15 with complete technical implementation matching design spec.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
@malibio
malibio merged commit 5eeb737 into main Aug 6, 2025
@malibio
malibio deleted the feature/issue-15-layered-circle-indicators branch August 10, 2025 21:34
malibio added a commit that referenced this pull request Feb 4, 2026
Approved by senior-architect-reviewer: All Issue #15 acceptance criteria met. Layered circle indicator system implemented correctly with proper theme integration and responsive design.
malibio added a commit that referenced this pull request Feb 26, 2026
Approved by senior-architect-reviewer: All Issue #15 acceptance criteria met. Layered circle indicator system implemented correctly with proper theme integration and responsive design.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Layered Circle Indicator System

1 participant