Skip to content

Issue 44/clover v3#46

Merged
charlesLoder merged 9 commits intomainfrom
issue-44/clover-v3
Nov 8, 2025
Merged

Issue 44/clover v3#46
charlesLoder merged 9 commits intomainfrom
issue-44/clover-v3

Conversation

@charlesLoder
Copy link
Owner

Closes #44

  • updates Clover-IIIF to v3
  • updates React to v19
  • removes content editable dep
  • creates PromptInput component using a native textarea
  • small updates to Figure and Input styling

@charlesLoder charlesLoder requested a review from Copilot November 8, 2025 05:24
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 PR modernizes the codebase by migrating from a content-editable-based textarea to a native HTML textarea for prompt input, updating dependencies including React to v19 and Clover-IIIF to v3.

  • Replaces the Textarea component (using react-basic-contenteditable) with a new PromptInput component using native <textarea>
  • Updates React peer and dev dependencies to support v18.2+ or v19+
  • Updates Clover-IIIF from v2.19.2 to v3.0.0

Reviewed Changes

Copilot reviewed 12 out of 13 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
stories/components/TextArea.stories.ts Removes old Textarea component stories
stories/components/PromptInput.stories.ts Adds new PromptInput component stories
src/plugin/Panel/index.test.tsx Updates test mock to use PromptInput instead of Textarea
src/plugin/Panel/ChatInput/index.tsx Replaces Textarea with PromptInput and updates event handling
src/components/index.ts Exports PromptInput instead of Textarea
src/components/TextArea/style.module.css Removes old Textarea styles
src/components/TextArea/index.tsx Removes old Textarea component
src/components/PromptInput/style.module.css Adds PromptInput styles using native textarea
src/components/PromptInput/index.tsx Implements new PromptInput component
src/components/Input/style.module.css Standardizes border width and adds aria-invalid support
src/components/Figure/style.module.css Adds min-content width for images
package.json Updates React, React DOM, and Clover-IIIF versions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@charlesLoder charlesLoder merged commit 33a9690 into main Nov 8, 2025
4 checks passed
@charlesLoder charlesLoder deleted the issue-44/clover-v3 branch November 8, 2025 05:30
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.

Update to Clover v3

1 participant

Comments