Compare commits

..

11 Commits

Author SHA1 Message Date
93ea88d185 Merge branch 'main' into refactor/migrate-app-detail-to-tanstack-query 2026-01-19 15:13:04 +08:00
yyh
6f40d79538 chore: prune unused eslint suppressions after merge 2026-01-19 13:33:53 +08:00
yyh
171dd120ca Merge branch 'main' into refactor/migrate-app-detail-to-tanstack-query
Resolve eslint-suppressions.json conflicts by keeping both sets of entries
2026-01-19 13:31:57 +08:00
yyh
e71ebc19e6 Merge branch 'main' into refactor/migrate-app-detail-to-tanstack-query 2026-01-19 11:17:02 +08:00
yyh
19137c173f Merge remote-tracking branch 'origin/main' into refactor/migrate-app-detail-to-tanstack-query
# Conflicts:
#	web/app/components/app/switch-app-modal/index.spec.tsx
#	web/app/components/workflow-app/components/workflow-header/features-trigger.spec.tsx
#	web/app/components/workflow-app/components/workflow-header/index.spec.tsx
2026-01-19 11:14:52 +08:00
yyh
e69f1a1f46 fix: use useInvalidateAppDetail hook in app-card.tsx for consistency 2026-01-18 23:55:30 +08:00
yyh
14f0c5dd38 fix: use useInvalidateAppDetail hook in card-view.tsx for consistency 2026-01-18 23:53:49 +08:00
yyh
23f1adc833 fix: restore mobile sidebar collapse behavior after appDetail loads
Merge the two sidebar useEffects to prevent race condition where
appDetail loading could override the mobile collapse state.
Now mobile always collapses regardless of when appDetail resolves.
2026-01-18 23:47:48 +08:00
yyh
1fe46ce0b8 fix: update test files to use TanStack Query pattern for appDetail
Update test files to reflect the appDetail migration from Zustand to TanStack Query:
- Replace setAppDetail mocks with useInvalidateAppDetail
- Add useParams mock from next/navigation
- Add useAppDetail mock from @/service/use-apps
- Remove deprecated fetchAppDetail + setAppDetail patterns
- Fix marketplace test mock data types
2026-01-18 23:46:14 +08:00
yyh
b3acb74331 fix: address code review issues from appDetail migration
- app-info.tsx: use useInvalidateAppDetail hook instead of local queryClient call
- app-publisher.tsx: convert isAppAccessSet from useEffect+useState to useMemo
- Prune unused eslint suppressions
2026-01-18 23:11:54 +08:00
yyh
91856b09ca refactor: migrate appDetail from Zustand to TanStack Query
- Remove appDetail and setAppDetail from Zustand store
- Use useAppDetail hook for server state management
- Child components now call useAppDetail(appId) directly via useParams()
- Replace setAppDetail calls with useInvalidateAppDetail for cache invalidation
- Keep only client UI state in Zustand (sidebar, modals)
- Split sidebar initialization useEffect for clearer separation of concerns
- Update test mocks to use TanStack Query pattern
- Fix missing dependencies in use-checklist.ts useMemo/useCallback hooks
2026-01-18 23:07:33 +08:00
1029 changed files with 13856 additions and 66721 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