Skip to content

Release 0.1.1#119

Merged
LittleLittleCloud merged 5 commits intomainfrom
u/xiaoyun/release
Nov 16, 2025
Merged

Release 0.1.1#119
LittleLittleCloud merged 5 commits intomainfrom
u/xiaoyun/release

Conversation

@LittleLittleCloud
Copy link
Member

…dling

Copilot AI review requested due to automatic review settings November 16, 2025 17:56
@LittleLittleCloud LittleLittleCloud changed the title feat(Docs): Add release notes section and enhance topic file path han… Release 0.1.1 Nov 16, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a collapsible "Release Notes" section to the documentation site and enhances file path handling for "Edit on GitHub" links. The release notes for v0.1.1 are added with comprehensive change documentation.

  • Introduces a new release notes section with expandable/collapsible UI
  • Adds filePath tracking to all documentation topics for GitHub edit links
  • Includes v0.1.1 release notes markdown file with detailed change history

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
website/src/pages/Docs.tsx Adds release notes section with expansion state, updates topic structure to include filePaths, implements getFilePathForTopic helper, and adds "Edit on GitHub" link functionality
release-notes/v0.1.1.md New release notes document with highlights, detailed changes, and contributor acknowledgments
.github/copilot-instructions.md Updates release guidance section with detailed instructions for creating release notes

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Xiaoyun Zhang <bigmiao.zhang@gmail.com>
Copilot AI review requested due to automatic review settings November 16, 2025 18:01
LittleLittleCloud and others added 2 commits November 16, 2025 10:01
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Xiaoyun Zhang <bigmiao.zhang@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Xiaoyun Zhang <bigmiao.zhang@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Xiaoyun Zhang <bigmiao.zhang@gmail.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

Comment on lines +171 to +186
<button
type="button"
onClick={() =>
setReleaseNotesExpanded(
!releaseNotesExpanded
)
}
className="mb-2 flex w-full items-center justify-between text-xs font-semibold uppercase tracking-[0.2em] text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-200 transition-colors"
>
<span>Release Notes</span>
{releaseNotesExpanded ? (
<ChevronDown className="h-3 w-3" />
) : (
<ChevronRight className="h-3 w-3" />
)}
</button>
Copy link

Copilot AI Nov 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The collapsible "Release Notes" button should include an aria-expanded attribute to improve accessibility for screen reader users. Add aria-expanded={releaseNotesExpanded} to the button element to indicate its state.

Copilot uses AI. Check for mistakes.
Comment on lines +226 to +237
{(() => {
const filePath = getFilePathForTopic(
activeTopic.id,
topics,
releaseNotes
);
return filePath != null && (
<div className="mt-8 pt-6 border-t border-slate-200 dark:border-slate-700 not-prose">
<a
href={`https://github.com/LittleLittleCloud/RazorConsole/edit/main/${filePath}`}
target="_blank"
rel="noopener noreferrer"
Copy link

Copilot AI Nov 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The getFilePathForTopic function is called twice with the same arguments (lines 226-229 and 233-236). Consider storing the result in a variable to avoid redundant computation:

const editFilePath = getFilePathForTopic(activeTopic.id, topics, releaseNotes);
{editFilePath && (
  <div className="...">
    <a href={`https://github.com/LittleLittleCloud/RazorConsole/edit/main/${editFilePath}`}

Copilot uses AI. Check for mistakes.
@LittleLittleCloud LittleLittleCloud merged commit e286aba into main Nov 16, 2025
5 checks passed
@LittleLittleCloud LittleLittleCloud deleted the u/xiaoyun/release branch November 16, 2025 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants