diff --git a/apps/app/src/components/layout/sidebar.tsx b/apps/app/src/components/layout/sidebar.tsx
index 376ad6e6..0ed8aebb 100644
--- a/apps/app/src/components/layout/sidebar.tsx
+++ b/apps/app/src/components/layout/sidebar.tsx
@@ -195,6 +195,32 @@ const PROJECT_THEME_OPTIONS = [
})),
] as const;
+// Reusable Bug Report Button Component
+const BugReportButton = ({
+ sidebarExpanded,
+ onClick
+}: {
+ sidebarExpanded: boolean;
+ onClick: () => void;
+}) => {
+ return (
+
+ );
+};
+
export function Sidebar() {
const {
projects,
@@ -836,6 +862,12 @@ export function Sidebar() {
[trashedProjects, currentProject, globalTheme, upsertAndSetCurrentProject]
);
+ // Handle bug report button click
+ const handleBugReportClick = useCallback(() => {
+ const api = getElectronAPI();
+ api.openExternalLink("https://github.com/AutoMaker-Org/automaker/issues");
+ }, []);
+
/**
* Opens the system folder selection dialog and initializes the selected project.
* Used by both the 'O' keyboard shortcut and the folder icon button.
@@ -1394,50 +1426,14 @@ export function Sidebar() {
)}
- {/* Bug Report Button - Only visible in expanded sidebar */}
- {sidebarOpen && (
-
- )}
+ {/* Bug Report Button - Inside logo container when expanded */}
+ {sidebarOpen &&