Compare commits

..

7 Commits

Author SHA1 Message Date
d9972caae3 chore: clean up eslint suppressions and remove unused rules from various components 2026-01-19 17:29:14 +08:00
b18cbff88d Merge remote-tracking branch 'origin/main' into refactor/plugins-tool-selector 2026-01-19 17:04:42 +08:00
89f5c27edc test(web): enhance unit tests for Icon and AppPicker components
- Refactored and improved test cases for the Icon component, ensuring proper rendering and behavior for various src configurations.
- Updated AppPicker tests to utilize React context for managing portal open state, enhancing test reliability and clarity.
- Adjusted type definitions in several components to use more specific types, improving type safety and code maintainability.
2026-01-18 13:49:29 +08:00
2d8dcbc0d8 Merge remote-tracking branch 'origin/main' into refactor/plugins-tool-selector 2026-01-17 22:51:50 +08:00
8ce458a9b0 test: add unit tests for various plugin components
- Introduced comprehensive unit tests for the , , , and  components, ensuring proper rendering and functionality.
- Added tests for the  and  hooks, validating their output and behavior under different scenarios.
- Implemented edge case handling in tests for the  and  components, covering various user interactions and state changes.
- Enhanced test coverage for the  component, focusing on rendering logic and action handling.
- Mocked necessary dependencies to isolate component behavior and improve test reliability.
2026-01-16 17:40:03 +08:00
e6aa30f776 test(tool-selector): add comprehensive tests for AppSelector and ToolSettingsPanel
- Introduced unit tests for the AppSelector component, covering app selection, form handling, and loading states.
- Enhanced ToolSettingsPanel tests by utilizing a mock form schema for improved clarity and maintainability.
- Updated existing tests to ensure compatibility with the new form schema structure.
- Added edge case handling and integration tests to validate user flows and interactions.
2026-01-15 11:51:54 +08:00
3b58b0d129 refactor(tool-selector): remove unused components and consolidate imports
- Deleted several unused files related to the tool selector, including hooks, forms, and modals.
- Consolidated imports in the tool selector index file to streamline component usage.
- Updated the tool selector to utilize a custom hook for state management and improved the rendering logic for tool items and settings panels.
2026-01-14 18:36:26 +08:00
873 changed files with 20318 additions and 40195 deletions

1
.agent/skills Symbolic link
View File

@ -0,0 +1 @@
../.claude/skills

View File

@ -1 +0,0 @@
../../.agents/skills/component-refactoring

View File

@ -1 +0,0 @@
../../.agents/skills/frontend-code-review

View File

@ -1 +0,0 @@
../../.agents/skills/frontend-testing

View File

@ -1 +0,0 @@
../../.agents/skills/orpc-contract-first

View File

@ -1 +0,0 @@
../../.agents/skills/skill-creator

View File

@ -1 +0,0 @@
../../.agents/skills/vercel-react-best-practices

View File

@ -1 +0,0 @@
../../.agents/skills/web-design-guidelines

View File

@ -1,39 +0,0 @@
---
name: web-design-guidelines
description: Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
metadata:
author: vercel
version: "1.0.0"
argument-hint: <file-or-pattern>
---
# Web Interface Guidelines
Review files for compliance with Web Interface Guidelines.
## How It Works
1. Fetch the latest guidelines from the source URL below
2. Read the specified files (or prompt user for files/pattern)
3. Check against all rules in the fetched guidelines
4. Output findings in the terse `file:line` format
## Guidelines Source
Fetch fresh guidelines before each review:
```
https://raw.githubusercontent.com/vercel-labs/web-interface-guidelines/main/command.md
```
Use WebFetch to retrieve the latest rules. The fetched content contains all the rules and output format instructions.
## Usage
When a user provides a file or pattern argument:
1. Fetch guidelines from the source URL above
2. Read the specified files
3. Apply all rules from the fetched guidelines
4. Output findings using the format specified in the guidelines
If no files specified, ask the user which files to review.

View File

@ -1 +0,0 @@
../../.agents/skills/component-refactoring

View File

@ -1 +0,0 @@
../../.agents/skills/frontend-code-review

View File

@ -1 +0,0 @@
../../.agents/skills/frontend-testing

View File

@ -1 +0,0 @@
../../.agents/skills/orpc-contract-first

View File

@ -1 +0,0 @@
../../.agents/skills/skill-creator

View File

@ -1 +0,0 @@
../../.agents/skills/vercel-react-best-practices

View File

@ -1 +0,0 @@
../../.agents/skills/web-design-guidelines

1
.codex/skills Symbolic link
View File

@ -0,0 +1 @@
../.claude/skills

View File

@ -1 +0,0 @@
../../.agents/skills/component-refactoring

View File

@ -1 +0,0 @@
../../.agents/skills/frontend-code-review

View File

@ -1 +0,0 @@
../../.agents/skills/frontend-testing

View File

@ -1 +0,0 @@
../../.agents/skills/orpc-contract-first

View File

@ -1 +0,0 @@
../../.agents/skills/skill-creator

View File

@ -1 +0,0 @@
../../.agents/skills/vercel-react-best-practices

View File

@ -1 +0,0 @@
../../.agents/skills/web-design-guidelines

View File

@ -1 +0,0 @@
../../.agents/skills/component-refactoring

View File

@ -1 +0,0 @@
../../.agents/skills/frontend-code-review

Some files were not shown because too many files have changed in this diff Show More