Skip to content

Commit a715343

Browse files
ci: apply automated fixes
1 parent d8c2a0f commit a715343

22 files changed

Lines changed: 103 additions & 95 deletions

agents/tasks/tanstack-com-task-list.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
### Tasks
2929

3030
- [ ] Implement “Trusted By” on homepage
31-
3231
- Status: Backlog
3332
- Notes:
3433
- Reuse `TrustedByMarquee` but upgrade to support logos + links + tooltip proof.
@@ -43,7 +42,6 @@
4342
- Owner:
4443

4544
- [ ] Add Real-Time Metrics Counters (per-library + org rollup)
46-
4745
- Status: Partial (org rollup live via `OpenSourceStats`)
4846
- Notes:
4947
- Extend counters to per-library pages using existing Convex endpoints or add repo-level endpoints via `convex-oss-stats` if needed.
@@ -91,7 +89,6 @@
9189
### Tasks
9290

9391
- [ ] Redesign/Create “About” page
94-
9592
- Status: Backlog
9693
- Notes:
9794
- Route: `src/routes/about.tsx`.
@@ -101,7 +98,6 @@
10198
- Links: `src/components/MaintainerCard.tsx`, `src/routes/_libraries/maintainers.tsx`.
10299

103100
- [ ] Speaking Engagements section
104-
105101
- Status: Backlog
106102
- Notes:
107103
- Add to About or standalone `src/routes/speaking.tsx`.
@@ -136,7 +132,6 @@
136132
### Tasks
137133

138134
- [ ] “Enterprise” page
139-
140135
- Status: Partial
141136
- Notes:
142137
- Option 1: Rename and expand `paid-support` into `enterprise` (route alias + updated copy) while keeping legacy route.
@@ -165,7 +160,6 @@
165160
### Tasks
166161

167162
- [ ] Public Roadmap page
168-
169163
- Status: Backlog
170164
- Notes:
171165
- Route: `src/routes/roadmap.tsx`.
@@ -194,7 +188,6 @@
194188
### Tasks
195189

196190
- [ ] Press/Media Kit page
197-
198191
- Status: Backlog
199192
- Notes:
200193
- Route: `src/routes/media-kit.tsx`.
@@ -203,7 +196,6 @@
203196
- Acceptance: Page provides direct downloads and usage rules.
204197

205198
- [ ] In the News page
206-
207199
- Status: Backlog
208200
- Notes:
209201
- Route: `src/routes/news.tsx`.

scripts/migrate-data.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ This guide covers migrating data from Convex to PostgreSQL (Neon DB).
77
## Prerequisites
88

99
1. **Export Convex Data**
10-
1110
- Use Convex dashboard or CLI to export all tables
1211
- Export format: JSON or CSV
1312
- Tables to export:
@@ -32,18 +31,15 @@ This guide covers migrating data from Convex to PostgreSQL (Neon DB).
3231
Create a transformation script that:
3332

3433
1. **Convert Convex IDs to UUIDs**
35-
3634
- Generate new UUIDs for each record
3735
- Maintain mapping for foreign key relationships
3836

3937
2. **Transform Timestamps**
40-
4138
- Convex: milliseconds (number)
4239
- PostgreSQL: `timestamp with time zone` (Date object)
4340
- Convert: `new Date(timestamp)` for milliseconds
4441

4542
3. **Transform Arrays**
46-
4743
- Convex: stored as arrays
4844
- PostgreSQL: array columns (already compatible)
4945
- Ensure proper formatting
@@ -117,7 +113,6 @@ WHERE u.id IS NULL;
117113
```
118114

119115
2. **Verify functionality**:
120-
121116
- Test authentication flow
122117
- Test feed queries
123118
- Test admin interfaces

src/blog/announcing-tanstack-form-v1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ We even support type-checking what errors are returned in `<form.Field>`:
7575
children={(field) => (
7676
<>
7777
<NumberInput value={field.state.value} />
78-
// TypeScript will correctly tell you that `errorMap.onChange` // is an object,
79-
not a string
78+
// TypeScript will correctly tell you that `errorMap.onChange` // is an
79+
object, not a string
8080
<p>{field.state.meta.errorMap.onChange}</p>
8181
</>
8282
)}

src/blog/tanstack-router-typescript-performance.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,11 @@ export type ParseRoute<TRouteTree, TAcc = TRouteTree> = TRouteTree extends {
7979
? unknown extends TChildren
8080
? TAcc
8181
: TChildren extends ReadonlyArray<any>
82-
? ParseRoute<TChildren[number], TAcc | TChildren[number]>
83-
: ParseRoute<TChildren[keyof TChildren], TAcc | TChildren[keyof TChildren]>
82+
? ParseRoute<TChildren[number], TAcc | TChildren[number]>
83+
: ParseRoute<
84+
TChildren[keyof TChildren],
85+
TAcc | TChildren[keyof TChildren]
86+
>
8487
: TAcc
8588
```
8689

src/components/AILibraryHero.tsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -902,13 +902,13 @@ export function AILibraryHero({ project, cta, actions }: AILibraryHeroProps) {
902902
selectedFramework === null || selectedServer === null
903903
? strokeColor
904904
: // Only highlight during specific phases
905-
phase === AnimationPhase.SHOWING_CHAT ||
906-
phase === AnimationPhase.PULSING_CONNECTIONS ||
907-
phase === AnimationPhase.STREAMING_RESPONSE
908-
? isDark
909-
? 'rgba(255, 255, 240, 0.95)'
910-
: 'rgba(255, 255, 240, 0.95)'
911-
: strokeColor
905+
phase === AnimationPhase.SHOWING_CHAT ||
906+
phase === AnimationPhase.PULSING_CONNECTIONS ||
907+
phase === AnimationPhase.STREAMING_RESPONSE
908+
? isDark
909+
? 'rgba(255, 255, 240, 0.95)'
910+
: 'rgba(255, 255, 240, 0.95)'
911+
: strokeColor
912912
}
913913
strokeWidth={
914914
phase === AnimationPhase.PULSING_CONNECTIONS ||
@@ -930,10 +930,10 @@ export function AILibraryHero({ project, cta, actions }: AILibraryHeroProps) {
930930
selectedServer === null
931931
? 0.3
932932
: phase === AnimationPhase.SHOWING_CHAT ||
933-
phase === AnimationPhase.PULSING_CONNECTIONS ||
934-
phase === AnimationPhase.STREAMING_RESPONSE
935-
? 1.0
936-
: 0.3
933+
phase === AnimationPhase.PULSING_CONNECTIONS ||
934+
phase === AnimationPhase.STREAMING_RESPONSE
935+
? 1.0
936+
: 0.3
937937
}
938938
className={
939939
getConnectionPulse()

src/components/ChatPanel.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ export function ChatPanel({ messages, typingUserMessage }: ChatPanelProps) {
106106
? 'text-gray-200'
107107
: 'text-gray-900'
108108
: isDark
109-
? 'text-gray-600 italic'
110-
: 'text-gray-400 italic'
109+
? 'text-gray-600 italic'
110+
: 'text-gray-400 italic'
111111
}`}
112112
>
113113
{typingUserMessage || 'Type a message...'}

src/components/DocsLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export function DocsLayout({
198198
typeof group.defaultCollapsed !== 'undefined'
199199
? !group.defaultCollapsed // defaultCollapsed is true means the group is closed
200200
: undefined
201-
const isOpen = isChildActive ? true : configGroupOpenState ?? false
201+
const isOpen = isChildActive ? true : (configGroupOpenState ?? false)
202202

203203
const detailsProps = group.collapsible ? { open: isOpen } : {}
204204

src/components/Markdown.tsx

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,13 @@ const CustomHeading = ({
3939

4040
const makeHeading =
4141
(type: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6') =>
42-
(props: HTMLProps<HTMLHeadingElement>) =>
43-
(
44-
<CustomHeading
45-
Comp={type}
46-
{...props}
47-
className={`${props.className ?? ''} block`}
48-
/>
49-
)
42+
(props: HTMLProps<HTMLHeadingElement>) => (
43+
<CustomHeading
44+
Comp={type}
45+
{...props}
46+
className={`${props.className ?? ''} block`}
47+
/>
48+
)
5049

5150
const markdownComponents: Record<string, React.FC> = {
5251
a: MarkdownLink,

src/components/TableComponents.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ export function TableHeaderCell({
7373
align === 'right'
7474
? 'text-right'
7575
: align === 'center'
76-
? 'text-center'
77-
: 'text-left'
76+
? 'text-center'
77+
: 'text-left'
7878
const paddingClass = compact ? 'px-2 py-1.5' : 'px-4 py-2'
7979
const textSizeClass = compact ? 'text-[10px]' : 'text-xs'
8080
return (
@@ -139,8 +139,8 @@ export function TableCell({
139139
align === 'right'
140140
? 'text-right'
141141
: align === 'center'
142-
? 'text-center'
143-
: 'text-left'
142+
? 'text-center'
143+
: 'text-left'
144144
const paddingClass = compact ? 'px-2 py-2' : 'px-4 py-3'
145145
return (
146146
<td

src/routes/$libraryId/$version.docs.contributors.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ function RouteComponent() {
9797
viewMode === 'compact'
9898
? 'grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6 gap-4'
9999
: viewMode === 'row'
100-
? 'flex flex-col gap-4'
101-
: 'grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6'
100+
? 'flex flex-col gap-4'
101+
: 'grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6'
102102
} mb-8 pt-8`}
103103
>
104104
{libraryContributors.map((maintainer, index) => (

0 commit comments

Comments
 (0)