Skip to content

Conversation

@koppen
Copy link
Member

@koppen koppen commented Jan 6, 2026

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

koppen added 4 commits January 7, 2026 12:54
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).
@koppen koppen force-pushed the extract_from_uchi branch from 04de955 to 18a51b2 Compare January 7, 2026 11:56
@koppen koppen requested review from RasmusDWN and olepalm January 7, 2026 11:56
@olepalm olepalm self-assigned this Jan 7, 2026
@olepalm olepalm assigned koppen and unassigned olepalm Jan 7, 2026
@koppen koppen merged commit 133e600 into main Jan 7, 2026
5 checks passed
@koppen koppen deleted the extract_from_uchi branch January 7, 2026 13:18
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.

3 participants