Skip to content

Privacy-first AI meeting note taker for Windows, macOS and Linux. Free, open source (MIT). On-device Whisper/Parakeet transcription and speaker diarization, no meeting bot. Open-source alternative to Granola, Otter and Fireflies. https://meetily.ai

feat: add sidebar feedback page and minimum window size

Mohammed Safvan9800a05b0529
diff --git a/frontend/src-tauri/tauri.conf.json b/frontend/src-tauri/tauri.conf.json
index 6423acc1..372bd322 100644
--- a/frontend/src-tauri/tauri.conf.json
+++ b/frontend/src-tauri/tauri.conf.json
@@ -13,8 +13,10 @@
"windows": [
{
"title": "meetily",
- "width": 1100,
- "height": 700,
+ "width": 1200,
+ "height": 760,
+ "minWidth": 1200,
+ "minHeight": 760,
"resizable": true,
"fullscreen": false,
"theme": "Light",
diff --git a/frontend/src/app/feedback/page.tsx b/frontend/src/app/feedback/page.tsx
new file mode 100644
index 00000000..3fd127b6
--- /dev/null
+++ b/frontend/src/app/feedback/page.tsx
@@ -0,0 +1,92 @@
+'use client';
+
+import { ArrowLeft, ArrowUpRight } from 'lucide-react';
+import { useRouter } from 'next/navigation';
+import { invoke } from '@tauri-apps/api/core';
+import { toast } from 'sonner';
+
+const cards = [
+ {
+ title: 'Report a bug or suggest a feature',
+ description: 'Report a bug or suggest a feature on GitHub. Your feedback helps shape Meetily.',
+ links: [{ label: 'Open GitHub issues', url: 'https://github.com/Zackriya-Solutions/meetily/issues/new/choose' }],
+ },
+ {
+ title: 'Join us on Discord',
+ description: 'Ask questions, get help, and share ideas with people using and building Meetily.',
+ links: [{ label: 'Join the server', url: 'https://discord.gg/crRymMQBFH' }],
+ },
+ {
+ title: 'Find us on socials',
+ description: 'Follow Meetily for product updates and conversations with the community.',
+ links: [
+ { label: 'X', url: 'https://x.com/meetilyai/' },
+ { label: 'Reddit', url: 'https://www.reddit.com/r/meetily/' },
+ { label: 'LinkedIn', url: 'https://www.linkedin.com/company/106363062/' },
+ { label: 'YouTube', url: 'https://www.youtube.com/@meetily' },
+ ],
+ },
+ {
+ title: 'Evaluating Meetily for your team?',
+ description: 'Explore deployment and support options for using Meetily across your organization.',
+ links: [{ label: 'Explore team options', url: 'https://meetily.ai/enterprise?utm_source=open-source' }],
+ },
+ {
+ title: 'Curious about Meetily PRO?',
+ description: 'Learn about Meetily PRO. The Community Edition remains free and open source.',
+ links: [{ label: 'Learn about PRO', url: 'https://meetily.ai/pro?utm_source=open-source' }],
+ },
+];
+
+async function openExternalLink(url: string) {
+ try {
+ await invoke('open_external_url', { url });
+ } catch (error) {
+ console.error('Failed to open feedback link:', error);
+ toast.error('Could not open this link. Please check your default browser and try again.');
+ }
+}
+
+export default function FeedbackPage() {
+ const router = useRouter();
+
+ return (
+ <div className="h-screen overflow-y-auto bg-gray-50">
+ <div className="mx-auto w-full max-w-6xl px-8 py-8">
+ <button
+ type="button"
+ onClick={() => router.back()}
+ className="flex items-center gap-2 rounded text-gray-600 transition-colors hover:text-gray-900 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2"
+ >
+ <ArrowLeft aria-hidden="true" className="h-4 w-4" />
+ Back
+ </button>
+ <h1 className="mt-6 mb-8 text-3xl font-bold text-gray-900">Send Feedback</h1>
+
+ <div className="grid grid-cols-[repeat(auto-fit,minmax(min(100%,300px),1fr))] gap-5">
+ {cards.map(card => (
+ <article key={card.title} className="flex min-h-40 flex-col rounded-lg border border-gray-200 bg-white p-5 pb-3">
+ <h2 className="text-lg font-semibold leading-6 text-gray-900">{card.title}</h2>
+ <p className="mt-2 text-sm leading-5 text-gray-500">{card.description}</p>
+ <div className="mt-auto flex flex-wrap items-center gap-x-6">
+ {card.links.map(link => (
+ <button
+ key={link.url}
+ type="button"
+ onClick={() => void openExternalLink(link.url)}
+ aria-label={`${link.label} (opens in your browser)`}
+ title="Opens in your browser"
+ className="inline-flex min-h-11 items-center gap-1 rounded text-sm font-semibold text-gray-700 transition-colors hover:text-gray-900 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:ring-offset-2"
+ >
+ {link.label}
+ <ArrowUpRight aria-hidden="true" className="h-3 w-3" />
+ </button>
+ ))}
+ </div>
+ </article>
+ ))}
+ </div>
+ </div>
+ </div>
+ );
+}
diff --git a/frontend/src/components/FeedbackLink.tsx b/frontend/src/components/FeedbackLink.tsx
new file mode 100644
index 00000000..4e4ab354
--- /dev/null
+++ b/frontend/src/components/FeedbackLink.tsx
@@ -0,0 +1,42 @@
+'use client';
+
+import Link from 'next/link';
+import { usePathname } from 'next/navigation';
+import { MessageSquareText } from 'lucide-react';
+import { Tooltip, TooltipContent, TooltipTrigger } from './ui/tooltip';
+
+export default function FeedbackLink({ isCollapsed }: { isCollapsed: boolean }) {
+ const pathname = usePathname();
+ const isActive = pathname === '/feedback';
+ const link = (
+ <Link
+ href="/feedback"
+ replace={pathname === '/settings'}
+ aria-label="Send Feedback"
+ aria-current={isActive ? 'page' : undefined}
+ className={`flex items-center justify-center rounded-lg transition-colors active:bg-gray-300 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gray-500 focus-visible:ring-offset-2 ${
+ isCollapsed
+ ? 'p-2'
+ : 'w-full px-3 py-1.5 mt-1 mb-2 text-sm font-medium shadow-sm'
+ } ${
+ isActive
+ ? 'bg-gray-300 text-gray-900'
+ : isCollapsed
+ ? 'text-gray-600 hover:bg-gray-100'
+ : 'bg-gray-200 text-gray-700 hover:bg-gray-300'
+ }`}
+ >
+ <MessageSquareText aria-hidden="true" className={isCollapsed ? 'w-5 h-5' : 'w-4 h-4'} />
+ {!isCollapsed && <span className="ml-2">Send Feedback</span>}
+ </Link>
+ );
+
+ if (!isCollapsed) return link;
+
+ return (
+ <Tooltip>
+ <TooltipTrigger asChild>{link}</TooltipTrigger>
+ <TooltipContent side="right">Send Feedback</TooltipContent>
+ </Tooltip>
+ );
+}
\ No newline at end of file
diff --git a/frontend/src/components/Info.tsx b/frontend/src/components/Info.tsx
deleted file mode 100644
index 55605597..00000000
--- a/frontend/src/components/Info.tsx
+++ /dev/null
@@ -1,42 +0,0 @@
-import React from "react";
-import { Info as InfoIcon } from "lucide-react";
-import { Dialog, DialogContent, DialogTitle, DialogTrigger } from "./ui/dialog";
-import { VisuallyHidden } from "./ui/visually-hidden";
-import { About } from "./About";
-
-interface InfoProps {
- isCollapsed: boolean;
-}
-
-const Info = React.forwardRef<HTMLButtonElement, InfoProps>(({ isCollapsed }, ref) => {
- return (
- <Dialog aria-describedby={undefined}>
- <DialogTrigger asChild>
- <button
- ref={ref}
- className={`flex items-center justify-center mb-2 cursor-pointer border-none transition-colors ${
- isCollapsed
- ? "bg-transparent p-2 hover:bg-gray-100 rounded-lg"
- : "w-full px-3 py-1.5 mt-1 text-sm font-medium text-gray-700 bg-gray-200 hover:bg-gray-200 rounded-lg shadow-sm"
- }`}
- title="About Meetily"
- >
- <InfoIcon className={`text-gray-600 ${isCollapsed ? "w-5 h-5" : "w-4 h-4"}`} />
- {!isCollapsed && (
- <span className="ml-2 text-sm text-gray-700">About</span>
- )}
- </button>
- </DialogTrigger>
- <DialogContent>
- <VisuallyHidden>
- <DialogTitle>About Meetily</DialogTitle>
- </VisuallyHidden>
- <About />
- </DialogContent>
- </Dialog>
- );
-});
-
-Info.displayName = "About";
-
-export default Info;
\ No newline at end of file
diff --git a/frontend/src/components/Sidebar/index.tsx b/frontend/src/components/Sidebar/index.tsx
index 07ef59f3..d0ca5007 100644
--- a/frontend/src/components/Sidebar/index.tsx
+++ b/frontend/src/components/Sidebar/index.tsx
@@ -27,7 +27,7 @@ import { VisuallyHidden } from "@/components/ui/visually-hidden"
import { MessageToast } from '../MessageToast';
import Logo from '../Logo';
-import Info from '../Info';
+import FeedbackLink from '../FeedbackLink';
import { ComplianceNotification } from '../ComplianceNotification';
import { Input } from '../ui/input';
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput } from '../ui/input-group';
@@ -527,7 +527,7 @@ const Sidebar: React.FC = () => {
<Tooltip>
<TooltipTrigger asChild>
<button
- onClick={() => router.push('/settings')}
+ onClick={() => pathname === '/feedback' ? router.replace('/settings') : router.push('/settings')}
className={`p-2 rounded-lg transition-colors duration-150 ${isSettingsPage ? 'bg-gray-100' : 'hover:bg-gray-100'
}`}
>
@@ -539,7 +539,7 @@ const Sidebar: React.FC = () => {
</TooltipContent>
</Tooltip>
- <Info isCollapsed={isCollapsed} />
+ <FeedbackLink isCollapsed={isCollapsed} />
</div>
</TooltipProvider>
);
@@ -803,13 +803,13 @@ const Sidebar: React.FC = () => {
)}
<button
- onClick={() => router.push('/settings')}
+ onClick={() => pathname === '/feedback' ? router.replace('/settings') : router.push('/settings')}
className="w-full flex items-center justify-center px-3 py-1.5 mt-1 mb-1 text-sm font-medium text-gray-700 bg-gray-200 hover:bg-gray-300 rounded-lg transition-colors shadow-sm"
>
<Settings className="w-4 h-4 mr-2" />
<span>Settings</span>
</button>
- <Info isCollapsed={isCollapsed} />
+ <FeedbackLink isCollapsed={isCollapsed} />
<div className="w-full flex items-center justify-center px-3 py-1 text-xs text-gray-400">
v0.5.0
</div>