Skip to content

Add Spinner component - #129

Merged
koppen merged 5 commits into
mainfrom
spinner
Aug 10, 2026
Merged

Add Spinner component#129
koppen merged 5 commits into
mainfrom
spinner

Conversation

@koppen

@koppen koppen commented Aug 10, 2026

Copy link
Copy Markdown
Member
CleanShot 2026-08-10 at 12 53 09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a new Flowbite::Spinner ViewComponent to the Flowbite components library, including a Lookbook preview and Minitest coverage, and documents the addition in the changelog.

Changes:

  • Introduces Flowbite::Spinner component (Ruby + ERB sidecar) with size/style variants and screen-reader message support.
  • Adds Lookbook preview scenarios for spinner styles/sizes and custom classes.
  • Adds component tests and updates documentation artifacts (changelog + YARD checksums).

Reviewed changes

Copilot reviewed 6 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
app/components/flowbite/spinner.rb Adds the Flowbite::Spinner component API and variant class composition.
app/components/flowbite/spinner/spinner.html.erb Defines the spinner markup (status container, SVG, SR-only message).
test/components/flowbite/spinner_test.rb Adds rendering, accessibility, size/style, and HTML attribute tests.
demo/test/components/previews/spinner_preview.rb Adds Lookbook preview examples for styles/sizes and custom classes.
CHANGELOG.md Records the Spinner component under “Unreleased / Added”.
demo/.yardoc/checksums Updates YARD checksum tracking for the new component file.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread app/components/flowbite/spinner/spinner.html.erb
Comment thread app/components/flowbite/spinner.rb Outdated
koppen added 2 commits August 10, 2026 13:14
It should be covered by the Tailwind CSS class `fill-current` instead of
using the invalid `currentFill` value.
@koppen
koppen requested a lite review from Copilot August 10, 2026 11:22
@koppen
koppen merged commit 74cbb70 into main Aug 10, 2026
10 checks passed
@koppen
koppen deleted the spinner branch August 10, 2026 11:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 8 changed files in this pull request and generated no new comments.

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.

2 participants