Skip to content

Enhance ResponsiveRow/Col documentation and add tab view features#129

Merged
ManuelRomeroA merged 3 commits into
mainfrom
development
Mar 29, 2026
Merged

Enhance ResponsiveRow/Col documentation and add tab view features#129
ManuelRomeroA merged 3 commits into
mainfrom
development

Conversation

@ManuelRomeroA
Copy link
Copy Markdown
Contributor

This pull request introduces version 7.5.23 and brings significant improvements and documentation to the codebase, especially around the ThemedTabView and the new responsive layout widgets. It includes bug fixes, new features, comprehensive widget tests, and detailed skill documentation for both Conventional Commits and responsive grid components.

Key changes:

ThemedTabView Improvements and Fixes

  • Fixed multiple issues in ThemedTabView:
    • Removed a stray debugPrint statement from production code.
    • Improved initialPosition handling by clamping out-of-bounds indices.
    • Eliminated unnecessary setState() calls in arrow button handlers.
    • Ensured arrow button disabling state updates correctly during navigation.
    • Enhanced active-state detection to include alpha channel in color comparison.
    • Refactored code to use named constants for magic numbers.
  • Added the wrapArrowNavigation parameter for circular tab navigation, allowing left/right arrows to wrap around tab boundaries.

Testing Enhancements

  • Added comprehensive widget tests for:
    • ThemedTabView (covering rendering, navigation, callbacks, arrow state, clamping, persistence, styles, and more).
    • ResponsiveRow and ResponsiveCol (covering rendering, spacing, alignment, builder usage, breakpoint logic, and integration).
    • Sizes enum (covering grid size and width calculations).

Documentation Additions

  • Added detailed skill documentation:
    • For ThemedTabView, including parameter references, usage, best practices, and testing.
    • For ResponsiveRow and ResponsiveCol, covering parameters, breakpoint logic, responsive behavior, best practices, and layout patterns.
    • For Conventional Commits, providing a thorough guide on semantic commit message formatting, changelog impact, and best practices.

Responsive Layout System

  • Introduced ResponsiveRow and ResponsiveCol widgets, implementing a Material 3 responsive 12-column grid system with breakpoint-based sizing, spacing, alignment, and builder pattern support.

Version Bump

  • Updated the plugin version to 7.5.23.

 - Add widget tests for ResponsiveRow and ResponsiveCol
 - Add comprehensive tests covering rendering, spacing, alignment, builder functionality, and integration between ResponsiveRow and ResponsiveCol.
 docs:
 - Add ResponsiveRow and ResponsiveCol skill documentation
 - Document parameter reference, breakpoint logic, responsive behavior examples, gotchas, best practices, and common layout patterns.

 Co-authored-by: Claude AI
- Introduced BasicTabsView for showcasing ThemedTabView with filledTonal and underline styles.
- Implemented ThemedTabView with customizable tab styles and features.
- Added support for arrow navigation with wrap functionality.
- Enhanced ThemedTab with improved styling and animation.
- Created comprehensive tests for ThemedTabView, covering tab switching, arrow navigation, and initial position handling.
- Updated pubspec.yaml and pubspec.lock for version bump to 7.5.23.
@github-actions
Copy link
Copy Markdown

📋 Changelog Summary

This PR includes the following changes:

✨ Features

  • add BasicTabsView and ThemedTabView with multiple styles (101b55b by Manuel romero)

🐛 Bug Fixes

  • update SKILL.md for ResponsiveRow and ResponsiveCol with enhanced descriptions and examples (e45e508 by Manuel romero)

✅ Tests

    • Add widget tests for ResponsiveRow and ResponsiveCol - Add comprehensive tests covering rendering, spacing, alignment, builder functionality, and integration between ResponsiveRow and ResponsiveCol. docs: - Add ResponsiveRow and ResponsiveCol skill documentation - Document parameter reference, breakpoint logic, responsive behavior examples, gotchas, best practices, and common layout patterns. (5bfda83 by Manuel romero)

📊 Diff Stats

Metric Count
📄 Files changed 19
🟢 Insertions $\color{green}\textsf{+3722}$
🔴 Deletions $\color{red}\textsf{-39}$

🤖 Auto-generated by changelog workflow

@github-actions
Copy link
Copy Markdown

📊 Test Coverage Report

🎯 Dart/Flutter

Metric Value
Coverage 15.0%
Lines covered 10815 / 127
Lines missing -10688

🤖 Generated by coverage workflow

@ManuelRomeroA ManuelRomeroA merged commit 8aa70fa into main Mar 29, 2026
4 checks passed
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