Skip to content

feat: Refactor to v3 architecture with unified demo experience#24

Merged
Williamug merged 34 commits into
mainfrom
develop-v3
May 11, 2026
Merged

feat: Refactor to v3 architecture with unified demo experience#24
Williamug merged 34 commits into
mainfrom
develop-v3

Conversation

@Williamug
Copy link
Copy Markdown
Owner

@Williamug Williamug commented May 11, 2026

Summary

This PR implements a comprehensive refactor to v3 architecture, consolidating the demo experience and improving the package structure. All individual example pages have been replaced with a single, unified demo page that showcases all component features.

Williamug added 30 commits May 11, 2026 18:24
Removed config/searchable-select.php as it's no longer needed in the v2 restructuring. The configuration has been consolidated into the main package configuration.
Removed demo/app/Livewire/ApiExample.php as part of the demo restructuring. The API functionality has been consolidated into the new demo page component.
Removed demo/app/Livewire/BasicExample.php as part of the demo restructuring. The basic functionality has been consolidated into the new demo page component.
Removed demo/app/Livewire/BootstrapDemo.php as part of the demo restructuring. The Bootstrap functionality has been consolidated into the new demo page component.
Removed demo/app/Livewire/GroupedExample.php as part of the demo restructuring. The grouped options functionality has been consolidated into the new demo page component.
Removed demo/app/Livewire/MultiSelectExample.php as part of the demo restructuring. The multi-select functionality has been consolidated into the new demo page component.
Updated demo/composer.json to reflect the new package structure and dependencies for the v2 version. Includes updated package references and configuration for the consolidated demo setup.
Removed demo/config/searchable-select.php as part of the v2 restructuring. The configuration has been consolidated into the main package configuration and is no longer needed as a separate demo config.
Updated demo/resources/css/app.css to reflect the new consolidated demo structure and styling requirements for the v2 version. Includes updated styles for the unified demo page layout.
Updated demo/resources/views/components/layouts/app.blade.php to support the new consolidated demo page structure. Simplified navigation and layout to accommodate the unified demo experience.
Removed demo/resources/views/bootstrap-demo.blade.php as part of the demo restructuring. The Bootstrap functionality has been consolidated into the new unified demo page.
Removed demo/resources/views/livewire/api-example.blade.php as part of the demo restructuring. The API functionality has been consolidated into the new unified demo page.
Removed demo/resources/views/livewire/basic-example.blade.php as part of demo restructuring. The basic functionality has been consolidated into the new unified demo page.
Removed demo/resources/views/livewire/bootstrap-demo.blade.php as part of demo restructuring. The Bootstrap functionality has been consolidated into the new unified demo page.
Removed demo/resources/views/livewire/grouped-example.blade.php as part of demo restructuring. The grouped options functionality has been consolidated into the new unified demo page.
Removed demo/resources/views/livewire/multi-select-example.blade.php as part of demo restructuring. The multi-select functionality has been consolidated into the new unified demo page.
Updated demo/routes/web.php to support the new consolidated demo structure. Simplified routing to use a single unified demo page instead of multiple separate example pages.
Removed resources/views/partials/_searchable-select-script.blade.php as part of the v2 restructuring. The script functionality has been consolidated into the main component.
Removed resources/views/searchable-select-bootstrap.blade.php as part of the v2 restructuring. The Bootstrap functionality has been consolidated into the main component with theme support.
Updated resources/views/searchable-select.blade.php to support the new v2 architecture. Consolidated theme support and improved component structure for better maintainability.
Updated src/SearchableSelectServiceProvider.php to support v2 architecture. Improved package configuration and component registration for better maintainability.
Updated src/View/Components/SearchableSelect.php to support v2 architecture. Improved component structure, theme support, and API integration for better functionality.
Removed tests/Feature/BootstrapThemeTest.php as part of the v2 restructuring. Bootstrap functionality is now integrated into the main component tests.
Updated tests/Feature/ComponentTest.php to reflect v2 architecture changes. Updated test cases to work with new component structure and consolidated functionality.
Updated tests/Feature/GroupedOptionsTest.php to reflect v2 architecture changes. Updated test cases to work with new component structure and improved grouped functionality.
Updated tests/Feature/MultiSelectTest.php to reflect v2 architecture changes. Updated test cases to work with new component structure and improved multi-select functionality.
Updated tests/Feature/VendorLoadingTest.php to reflect v2 architecture changes. Updated test cases to work with new component structure and improved vendor loading.
Updated tests/TestCase.php to reflect v2 architecture changes. Improved test setup and configuration for better test reliability.
Removed tests/views/livewire/test-component.blade.php as part of the v2 restructuring. Test functionality is now handled through inline components in test files.
Added demo/app/Livewire/DemoPage.php and demo/resources/views/livewire/demo-page.blade.php to provide a consolidated demo experience. This replaces the previous separate example pages with a single, comprehensive demo showcasing all component features.
@Williamug Williamug merged commit e5efaec into main May 11, 2026
1 check passed
@Williamug
Copy link
Copy Markdown
Owner Author

Fixed #22

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