mirror of
https://github.com/waynesutton/markdown-site.git
synced 2026-01-12 04:09:14 +00:00
docs: update changelog page with right sidebar feature and fixes
Add v1.30.0, v1.30.1, and v1.30.2 entries to changelog-page.md covering: - Right sidebar feature implementation - TypeScript error fixes - Right sidebar default behavior fix
This commit is contained in:
@@ -19,6 +19,7 @@ export const getAllPages = query({
|
||||
authorName: v.optional(v.string()),
|
||||
authorImage: v.optional(v.string()),
|
||||
layout: v.optional(v.string()),
|
||||
rightSidebar: v.optional(v.boolean()),
|
||||
}),
|
||||
),
|
||||
handler: async (ctx) => {
|
||||
@@ -55,6 +56,7 @@ export const getAllPages = query({
|
||||
authorName: page.authorName,
|
||||
authorImage: page.authorImage,
|
||||
layout: page.layout,
|
||||
rightSidebar: page.rightSidebar,
|
||||
}));
|
||||
},
|
||||
});
|
||||
@@ -119,6 +121,7 @@ export const getPageBySlug = query({
|
||||
authorName: v.optional(v.string()),
|
||||
authorImage: v.optional(v.string()),
|
||||
layout: v.optional(v.string()),
|
||||
rightSidebar: v.optional(v.boolean()),
|
||||
}),
|
||||
v.null(),
|
||||
),
|
||||
@@ -147,6 +150,7 @@ export const getPageBySlug = query({
|
||||
authorName: page.authorName,
|
||||
authorImage: page.authorImage,
|
||||
layout: page.layout,
|
||||
rightSidebar: page.rightSidebar,
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -169,6 +173,7 @@ export const syncPagesPublic = mutation({
|
||||
authorName: v.optional(v.string()),
|
||||
authorImage: v.optional(v.string()),
|
||||
layout: v.optional(v.string()),
|
||||
rightSidebar: v.optional(v.boolean()),
|
||||
}),
|
||||
),
|
||||
},
|
||||
@@ -208,6 +213,7 @@ export const syncPagesPublic = mutation({
|
||||
authorName: page.authorName,
|
||||
authorImage: page.authorImage,
|
||||
layout: page.layout,
|
||||
rightSidebar: page.rightSidebar,
|
||||
lastSyncedAt: now,
|
||||
});
|
||||
updated++;
|
||||
|
||||
@@ -21,6 +21,8 @@ export const getAllPosts = query({
|
||||
featuredOrder: v.optional(v.number()),
|
||||
authorName: v.optional(v.string()),
|
||||
authorImage: v.optional(v.string()),
|
||||
layout: v.optional(v.string()),
|
||||
rightSidebar: v.optional(v.boolean()),
|
||||
}),
|
||||
),
|
||||
handler: async (ctx) => {
|
||||
@@ -51,6 +53,8 @@ export const getAllPosts = query({
|
||||
featuredOrder: post.featuredOrder,
|
||||
authorName: post.authorName,
|
||||
authorImage: post.authorImage,
|
||||
layout: post.layout,
|
||||
rightSidebar: post.rightSidebar,
|
||||
}));
|
||||
},
|
||||
});
|
||||
@@ -120,6 +124,7 @@ export const getPostBySlug = query({
|
||||
authorName: v.optional(v.string()),
|
||||
authorImage: v.optional(v.string()),
|
||||
layout: v.optional(v.string()),
|
||||
rightSidebar: v.optional(v.boolean()),
|
||||
}),
|
||||
v.null(),
|
||||
),
|
||||
@@ -151,6 +156,7 @@ export const getPostBySlug = query({
|
||||
authorName: post.authorName,
|
||||
authorImage: post.authorImage,
|
||||
layout: post.layout,
|
||||
rightSidebar: post.rightSidebar,
|
||||
};
|
||||
},
|
||||
});
|
||||
@@ -175,6 +181,7 @@ export const syncPosts = internalMutation({
|
||||
authorName: v.optional(v.string()),
|
||||
authorImage: v.optional(v.string()),
|
||||
layout: v.optional(v.string()),
|
||||
rightSidebar: v.optional(v.boolean()),
|
||||
}),
|
||||
),
|
||||
},
|
||||
@@ -216,6 +223,7 @@ export const syncPosts = internalMutation({
|
||||
authorName: post.authorName,
|
||||
authorImage: post.authorImage,
|
||||
layout: post.layout,
|
||||
rightSidebar: post.rightSidebar,
|
||||
lastSyncedAt: now,
|
||||
});
|
||||
updated++;
|
||||
@@ -261,6 +269,7 @@ export const syncPostsPublic = mutation({
|
||||
authorName: v.optional(v.string()),
|
||||
authorImage: v.optional(v.string()),
|
||||
layout: v.optional(v.string()),
|
||||
rightSidebar: v.optional(v.boolean()),
|
||||
}),
|
||||
),
|
||||
},
|
||||
@@ -302,6 +311,7 @@ export const syncPostsPublic = mutation({
|
||||
authorName: post.authorName,
|
||||
authorImage: post.authorImage,
|
||||
layout: post.layout,
|
||||
rightSidebar: post.rightSidebar,
|
||||
lastSyncedAt: now,
|
||||
});
|
||||
updated++;
|
||||
|
||||
@@ -19,6 +19,7 @@ export default defineSchema({
|
||||
authorName: v.optional(v.string()), // Author display name
|
||||
authorImage: v.optional(v.string()), // Author avatar image URL (round)
|
||||
layout: v.optional(v.string()), // Layout type: "sidebar" for docs-style layout
|
||||
rightSidebar: v.optional(v.boolean()), // Enable right sidebar with CopyPageDropdown
|
||||
lastSyncedAt: v.number(),
|
||||
})
|
||||
.index("by_slug", ["slug"])
|
||||
@@ -49,11 +50,12 @@ export default defineSchema({
|
||||
authorName: v.optional(v.string()), // Author display name
|
||||
authorImage: v.optional(v.string()), // Author avatar image URL (round)
|
||||
layout: v.optional(v.string()), // Layout type: "sidebar" for docs-style layout
|
||||
rightSidebar: v.optional(v.boolean()), // Enable right sidebar with CopyPageDropdown
|
||||
lastSyncedAt: v.number(),
|
||||
})
|
||||
.index("by_slug", ["slug"])
|
||||
.index("by_published", ["published"])
|
||||
.index("by_featured", ["featured"])
|
||||
.index("by_slug", ["slug"])
|
||||
.index("by_published", ["published"])
|
||||
.index("by_featured", ["featured"])
|
||||
.searchIndex("search_content", {
|
||||
searchField: "content",
|
||||
filterFields: ["published"],
|
||||
|
||||
Reference in New Issue
Block a user