[PR #19] [CLOSED] Fix linter errors in shadcn/ui components #32

Closed
opened 2026-02-16 09:17:51 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/openwork/pull/19
Author: @bwhiting2356
Created: 1/17/2026
Status: Closed

Base: lint-fix-1-backendHead: lint-fix-2-ui-components


📝 Commits (1)

  • 19c8231 Fix linter errors in shadcn/ui components

📊 Changes

10 files changed (+187 additions, -252 deletions)

View changed files

📝 src/renderer/src/components/ui/badge.tsx (+19 -22)
📝 src/renderer/src/components/ui/button.tsx (+28 -33)
📝 src/renderer/src/components/ui/card.tsx (+38 -65)
📝 src/renderer/src/components/ui/context-menu.tsx (+32 -52)
📝 src/renderer/src/components/ui/dialog.tsx (+3 -6)
📝 src/renderer/src/components/ui/input.tsx (+5 -6)
📝 src/renderer/src/components/ui/popover.tsx (+9 -11)
📝 src/renderer/src/components/ui/resizable.tsx (+29 -26)
📝 src/renderer/src/components/ui/scroll-area.tsx (+8 -10)
📝 src/renderer/src/components/ui/separator.tsx (+16 -21)

📄 Description

Part 2/4 of linter cleanup. Fixes all lint errors in shadcn/ui component library.

Stack: #18#19#20#21

Changes

  • Add missing return type annotations to all UI components
  • Remove unused variant exports (not imported anywhere)
  • Fix prettier formatting issues

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/openwork/pull/19 **Author:** [@bwhiting2356](https://github.com/bwhiting2356) **Created:** 1/17/2026 **Status:** ❌ Closed **Base:** `lint-fix-1-backend` ← **Head:** `lint-fix-2-ui-components` --- ### 📝 Commits (1) - [`19c8231`](https://github.com/langchain-ai/openwork/commit/19c8231f0ff6ca0cbda351e2e90425d01e0d27d2) Fix linter errors in shadcn/ui components ### 📊 Changes **10 files changed** (+187 additions, -252 deletions) <details> <summary>View changed files</summary> 📝 `src/renderer/src/components/ui/badge.tsx` (+19 -22) 📝 `src/renderer/src/components/ui/button.tsx` (+28 -33) 📝 `src/renderer/src/components/ui/card.tsx` (+38 -65) 📝 `src/renderer/src/components/ui/context-menu.tsx` (+32 -52) 📝 `src/renderer/src/components/ui/dialog.tsx` (+3 -6) 📝 `src/renderer/src/components/ui/input.tsx` (+5 -6) 📝 `src/renderer/src/components/ui/popover.tsx` (+9 -11) 📝 `src/renderer/src/components/ui/resizable.tsx` (+29 -26) 📝 `src/renderer/src/components/ui/scroll-area.tsx` (+8 -10) 📝 `src/renderer/src/components/ui/separator.tsx` (+16 -21) </details> ### 📄 Description Part 2/4 of linter cleanup. Fixes all lint errors in shadcn/ui component library. **Stack:** #18 → **#19** → #20 → #21 ## Changes - Add missing return type annotations to all UI components - Remove unused variant exports (not imported anywhere) - Fix prettier formatting issues --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 09:17:51 -05:00
yindo closed this issue 2026-02-16 09:17:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/openwork#32