Skip to content

Tab Bar Widget#2

Merged
mattdef merged 5 commits intomasterfrom
001-tab-bar-widgets
Feb 4, 2026
Merged

Tab Bar Widget#2
mattdef merged 5 commits intomasterfrom
001-tab-bar-widgets

Conversation

@mattdef
Copy link
Copy Markdown
Owner

@mattdef mattdef commented Feb 4, 2026

Add the Tab Bar widget

Update roadmap with completed Zed and VS Code extensions
Add TabBar and Tab widgets with support for:
- Static and dynamic selection
- Icon and text labels
- Event handling
- Proper nesting validation
- Codegen and runtime support
- Example showcase integration
This commit adds comprehensive support for the TabBar widget, including:

1. Parser validation for TabBar and Tab widgets
2. Code generation for TabBar in codegen mode
3. Runtime builder implementation for interpreted mode
4. Integration tests for TabBar functionality
5. Example showcase UI demonstrating TabBar usage
6. Support for icons, labels, and conditional content
7. Event handling for tab selection changes

The implementation includes proper error handling, validation, and
support for all core TabBar features.
Implement tab content rendering for both codegen and interpreted modes

Add XML schema documentation for tab_bar and tab elements

Update widget showcase example with complete tab bar implementation
Add support for custom styling of progress bars including:
- Predefined theme-based styles (primary, success, warning, danger,
  secondary)
- Custom bar and background colors in multiple formats (hex, rgb, rgba)
- Border radius for rounded corners
- Custom height (girth) control
- Updated documentation and examples
- Schema updates for new attributes
- Both interpreted and codegen implementations
@mattdef mattdef merged commit 21be0d8 into master Feb 4, 2026
3 of 4 checks passed
@mattdef mattdef deleted the 001-tab-bar-widgets branch February 4, 2026 20:14
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.

1 participant