Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request extracts three component families from the Uchi project: Toast notifications, Breadcrumb navigation, and DateTime input fields. The PR includes comprehensive implementations with tests, preview components for documentation, and updates the version from 0.1.3 to 0.1.4.
Key Changes:
- Added Toast component with multiple style variants (default, success, danger, warning) and dismissible functionality
- Added Breadcrumb navigation components with specialized item types (First, Current, and standard items)
- Added DateTime input field components following the existing Input::Field pattern
Reviewed changes
Copilot reviewed 19 out of 20 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| app/components/flowbite/toast.rb | Main Toast component with customizable styles and dismissible option |
| app/components/flowbite/toast/icon.rb | Toast icon component supporting multiple style variants |
| app/components/flowbite/toast/toast.html.erb | Toast template with icon, message, and optional close button |
| app/components/flowbite/toast/icon.html.erb | Icon template rendering SVG with dynamic styling |
| app/components/flowbite/breadcrumb.rb | Container component for breadcrumb navigation |
| app/components/flowbite/breadcrumb_item.rb | Base class for breadcrumb items with link rendering |
| app/components/flowbite/breadcrumb_item/first.rb | First breadcrumb item with home icon |
| app/components/flowbite/breadcrumb_item/current.rb | Current page breadcrumb rendered as non-interactive span |
| app/components/flowbite/breadcrumb_home.rb | Home icon component for first breadcrumb item |
| app/components/flowbite/breadcrumb_separator.rb | Chevron separator icon between breadcrumb items |
| app/components/flowbite/input/date_time.rb | DateTime input component extending Field base class |
| app/components/flowbite/input_field/date_time.rb | DateTime input field wrapper with label and validation support |
| test/components/flowbite/toast_test.rb | Comprehensive tests for Toast component and Icon subcomponent |
| test/components/flowbite/breadcrumb_test.rb | Tests for all Breadcrumb components and variants |
| test/components/flowbite/input/date_time_test.rb | Tests for DateTime input component |
| test/components/flowbite/input_field_test.rb | Added DateTime tests to existing InputField test suite |
| demo/test/components/previews/toast_preview.rb | Preview examples demonstrating Toast component usage |
| demo/test/components/previews/breadcrumb_preview.rb | Preview example for Breadcrumb navigation |
| demo/Gemfile.lock | Version bump to 0.1.4 |
| CHANGELOG.md | Documentation of new components added |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Extracted from Uchis component library (www.uchiadmin.com).
Extracted from Uchi's component library (www.uchiadmin.com).
Extracted from Uchi's component library (www.uchiadmin.com).
04de955 to
18a51b2
Compare
olepalm
approved these changes
Jan 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.