Skip to content

Include api docs reference in sidebar#150

Merged
jeroenrinzema merged 1 commit intomainfrom
feat/sidebar-docs
Feb 5, 2026
Merged

Include api docs reference in sidebar#150
jeroenrinzema merged 1 commit intomainfrom
feat/sidebar-docs

Conversation

@jeroenrinzema
Copy link
Copy Markdown
Contributor

image

@jeroenrinzema jeroenrinzema requested a review from Copilot February 5, 2026 23:08
Copy link
Copy Markdown

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 an API documentation link to the application sidebar, making the API reference more discoverable for users. The implementation includes internationalization support for the new sidebar element.

Changes:

  • Added a clickable API documentation link in the sidebar footer with icon and text
  • Implemented i18n translations for the API docs link title and description in English, Spanish, and Chinese

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
console/src/components/app-sidebar.tsx Added API documentation link component in sidebar footer with BookIcon and translated text
console/public/locales/en.json Added English translations for API docs sidebar entry
console/public/locales/es.json Added Spanish translations for API docs sidebar entry
console/public/locales/zh.json Added Chinese translations for API docs sidebar entry

Comment on lines 25 to +26
import type { Admin } from "@/types";
import { BookIcon } from "./icons";
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

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

The BookIcon import should be grouped with other icon imports or component imports for better organization. Consider placing it with other UI component imports on lines 5-18.

Suggested change
import type { Admin } from "@/types";
import { BookIcon } from "./icons";
import { BookIcon } from "./icons";
import type { Admin } from "@/types";

Copilot uses AI. Check for mistakes.
@jeroenrinzema jeroenrinzema merged commit 94bc5f7 into main Feb 5, 2026
2 of 4 checks passed
@jeroenrinzema jeroenrinzema deleted the feat/sidebar-docs branch February 5, 2026 23:12
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.

2 participants