Your favorite shift management application!
chore: guest sync notifications, calendar-switcher dot, and add an Info/donation dialog (#189)
panteL912772118032
diff --git a/README.md b/README.mdindex c471b7b..b7dbbaf 100644--- a/README.md+++ b/README.md@@ -17,8 +17,27 @@ _BetterShift is a self-hosted shift management application for teams and individ<details><summary>Show Screenshots</summary>-<img width="1920" height="1080" alt="calendar_page" src="https://github.com/user-attachments/assets/9b8b01b5-0a5d-4359-8024-5764866cf92a" />-<img width="1920" height="1080" alt="admin_panel" src="https://github.com/user-attachments/assets/976e1c4d-6c7c-4462-abe7-8d81edb33666" />++**Desktop**++<img width="1920" alt="Calendar" src="docs/screenshots/desktop/calendar.png" />+<img width="1920" alt="Presets" src="docs/screenshots/desktop/presets.png" />+<img width="1920" alt="Sharing" src="docs/screenshots/desktop/sharing.png" />+<img width="1920" alt="Statistics" src="docs/screenshots/desktop/statistics.png" />+<img width="1920" alt="Export" src="docs/screenshots/desktop/export.png" />+<img width="1920" alt="External calendar sync" src="docs/screenshots/desktop/external-sync.png" />+<img width="1920" alt="Admin panel" src="docs/screenshots/desktop/admin.png" />+<img width="1920" alt="Login" src="docs/screenshots/desktop/login.png" />++**Mobile**++<p>+<img width="270" alt="Calendar on mobile" src="docs/screenshots/mobile/calendar.png" />+<img width="270" alt="Settings on mobile" src="docs/screenshots/mobile/settings.png" />+<img width="270" alt="Statistics on mobile" src="docs/screenshots/mobile/statistics.png" />+<img width="270" alt="Admin panel on mobile" src="docs/screenshots/mobile/admin.png" />+</p>+</details>## Featuresdiff --git a/app/page.tsx b/app/page.tsxindex 6925c5c..5f6fdbc 100644--- a/app/page.tsx+++ b/app/page.tsx@@ -81,7 +81,7 @@ function HomeContent() {hasLoadedOnce: presetsLoadedOnce,} = usePresets(selectedCalendar);- const { canEdit } = useCalendarPermission(selectedCalendar);+ const { canEdit, canManage } = useCalendarPermission(selectedCalendar);// Toasts are owned by CalendarWorkspace; this is only the stamping gateconst { isOnline } = useConnectionStatus({ toasts: false });@@ -137,7 +137,9 @@ function HomeContent() {updateNote: updateNoteHook,deleteNote: deleteNoteHook,} = useNotes(isCompareMode ? compareNoteCalendarId : selectedCalendar);- const { externalSyncs, hasSyncErrors } = useExternalSync(selectedCalendar || null);+ const { externalSyncs, hasSyncErrors } = useExternalSync(+ canManage ? selectedCalendar || null : null+ );const viewSettings = useViewSettings();const dialogStates = useDialogStates();@@ -427,6 +429,7 @@ function HomeContent() {selectedCalendar={selectedCalendar}currentDate={currentDate}hasSyncErrors={hasSyncErrors}+ canManageSync={canManage}onDateChange={handleDateChange}onSelectCalendar={setSelectedCalendar}onCreateCalendar={() => dialogStates.setShowCalendarDialog(true)}diff --git a/components/app-header.tsx b/components/app-header.tsxindex 77b1fb3..4c607fe 100644--- a/components/app-header.tsx+++ b/components/app-header.tsx@@ -15,7 +15,7 @@ import {import { CalendarWithCount } from "@/lib/types";import { CalendarSwitcher } from "@/components/calendar-switcher";import { GuestMenu, UserMenu } from "@/components/user-menu";-import { ChangelogDialog } from "@/components/changelog-dialog";+import { InfoDialog } from "@/components/info-dialog";import { useAuth } from "@/hooks/useAuth";import { useAuthFeatures } from "@/hooks/useAuthFeatures";import { useVersionUpdateCheck } from "@/hooks/useVersionUpdate";@@ -27,6 +27,8 @@ interface AppHeaderProps {selectedCalendar: string | undefined;currentDate: Date;hasSyncErrors?: boolean;+ /** Sync notifications manage external syncs — hidden for guests and other non-managers */+ canManageSync?: boolean;onDateChange: (date: Date) => void;onSelectCalendar: (id: string) => void;onCreateCalendar: () => void;@@ -142,6 +144,7 @@ export function AppHeader({selectedCalendar,currentDate,hasSyncErrors = false,+ canManageSync = false,onDateChange,onSelectCalendar,onCreateCalendar,@@ -172,7 +175,7 @@ export function AppHeader({const actions = (<>- {selectedCalendar && (+ {selectedCalendar && canManageSync && (<HeaderIconButtonlabel={hasSyncErrors@@ -280,10 +283,11 @@ export function AppHeader({)}</header>- <ChangelogDialog+ <InfoDialogopen={showChangelog}onOpenChange={setShowChangelog}locale={locale}+ defaultTab="changelog"/></>);diff --git a/components/app-preferences-menu-items.tsx b/components/app-preferences-menu-items.tsxindex 25e0327..fe8869a 100644--- a/components/app-preferences-menu-items.tsx+++ b/components/app-preferences-menu-items.tsx@@ -2,7 +2,7 @@import { useLocale, useTranslations } from "next-intl";import { useTheme } from "next-themes";-import { Languages, ScrollText, SlidersHorizontal, SunMoon } from "lucide-react";+import { Info, Languages, SlidersHorizontal, SunMoon } from "lucide-react";import {DropdownMenuItem,DropdownMenuRadioGroup,@@ -20,13 +20,13 @@ export function setLocaleCookie(locale: string) {}interface AppPreferencesMenuItemsProps {- onOpenChangelog: () => void;+ onOpenInfo: () => void;onOpenViewSettings?: () => void;}-/** Appearance, language and changelog entries shared by the user and guest menus. */+/** Appearance, language and info entries shared by the user and guest menus. */export function AppPreferencesMenuItems({- onOpenChangelog,+ onOpenInfo,onOpenViewSettings,}: AppPreferencesMenuItemsProps) {const t = useTranslations();@@ -72,9 +72,9 @@ export function AppPreferencesMenuItems({</DropdownMenuRadioGroup></DropdownMenuSubContent></DropdownMenuSub>- <DropdownMenuItem onClick={onOpenChangelog}>- <ScrollText className="mr-2 h-4 w-4" />- {t("changelog.title")}+ <DropdownMenuItem onClick={onOpenInfo}>+ <Info className="mr-2 h-4 w-4" />+ {t("info.title")}</DropdownMenuItem></>);diff --git a/components/auth-header.tsx b/components/auth-header.tsxindex e2aec61..1b6d9a9 100644--- a/components/auth-header.tsx+++ b/components/auth-header.tsx@@ -5,7 +5,7 @@ import Link from "next/link";import { useLocale, useTranslations } from "next-intl";import { CalendarDays } from "lucide-react";import { GuestMenu, UserMenu } from "@/components/user-menu";-import { ChangelogDialog } from "@/components/changelog-dialog";+import { InfoDialog } from "@/components/info-dialog";import { Pill } from "@/components/form-kit";import { useAuth } from "@/hooks/useAuth";import { useAuthFeatures } from "@/hooks/useAuthFeatures";@@ -66,7 +66,12 @@ function HeaderSessionControls() {</button>)}{signedIn ? <UserMenu /> : <GuestMenu showLogin={isAuthEnabled} />}- <ChangelogDialog open={showChangelog} onOpenChange={setShowChangelog} locale={locale} />+ <InfoDialog+ open={showChangelog}+ onOpenChange={setShowChangelog}+ locale={locale}+ defaultTab="changelog"+ /></>);}diff --git a/components/calendar-switcher.tsx b/components/calendar-switcher.tsxindex 7b0fca8..651e2e0 100644--- a/components/calendar-switcher.tsx+++ b/components/calendar-switcher.tsx@@ -2,6 +2,7 @@import { useTranslations } from "next-intl";import {+ Check,ChevronDown,Columns2,Globe,@@ -18,8 +19,6 @@ import {DropdownMenuContent,DropdownMenuItem,DropdownMenuLabel,- DropdownMenuRadioGroup,- DropdownMenuRadioItem,DropdownMenuSeparator,DropdownMenuTrigger,} from "@/components/ui/dropdown-menu";@@ -155,29 +154,37 @@ export function CalendarSwitcher({/></DropdownMenuTrigger><DropdownMenuContent align="start" className="w-72">- <DropdownMenuRadioGroup value={selectedId} onValueChange={onSelect}>- {groups.map((group, index) => (- <div key={group.key}>- {index > 0 && <DropdownMenuSeparator />}- {group.label && (- <DropdownMenuLabel className="flex items-center gap-1.5 eyebrow">- <group.icon className="size-3" />- {group.label}- </DropdownMenuLabel>- )}- {group.items.map((calendar) => (- <DropdownMenuRadioItem key={calendar.id} value={calendar.id} className="gap-2.5">+ {groups.map((group, index) => (+ <div key={group.key}>+ {index > 0 && <DropdownMenuSeparator />}+ {group.label && (+ <DropdownMenuLabel className="flex items-center gap-1.5 eyebrow">+ <group.icon className="size-3" />+ {group.label}+ </DropdownMenuLabel>+ )}+ {group.items.map((calendar) => {+ const active = calendar.id === selectedId;+ return (+ <DropdownMenuItem+ key={calendar.id}+ onSelect={() => onSelect(calendar.id)}+ className={cn("gap-2.5", active && "bg-brand-soft text-brand-ink")}+ ><spanclassName="size-2 shrink-0 rounded-full"style={{ backgroundColor: calendar.color }}/>- <span className="flex-1 truncate">{calendar.name}</span>+ <span className={cn("flex-1 truncate", active && "font-semibold")}>+ {calendar.name}+ </span>{statusIcon(calendar)}- </DropdownMenuRadioItem>- ))}- </div>- ))}- </DropdownMenuRadioGroup>+ {active && <Check className="size-3.5 shrink-0 text-brand-ink" />}+ </DropdownMenuItem>+ );+ })}+ </div>+ ))}{(!isGuest || (onCompare && visible.length >= 2)) && <DropdownMenuSeparator />}{onCompare && visible.length >= 2 && (<DropdownMenuItem onClick={onCompare}>diff --git a/components/changelog-dialog.tsx b/components/changelog-dialog.tsxindex 6b08df8..7c080e6 100644--- a/components/changelog-dialog.tsx+++ b/components/changelog-dialog.tsx@@ -4,7 +4,6 @@ import { useEffect, useState, Fragment, ReactNode } from "react";import { useTranslations } from "next-intl";import { ExternalLink, Loader2 } from "lucide-react";import { format } from "date-fns";-import { PanelDialog } from "@/components/panel-dialog";import { getDateLocale } from "@/lib/locales";interface GitHubRelease {@@ -19,13 +18,7 @@ interface GitHubRelease {prerelease: boolean;}-interface ChangelogDialogProps {- open: boolean;- onOpenChange: (open: boolean) => void;- locale: string;-}--/** Resolves to an empty list on any failure so the dialog shows its empty state. */+/** Resolves to an empty list on any failure so the panel shows its empty state. */async function fetchReleases(): Promise<GitHubRelease[]> {try {const response = await fetch("/api/releases");@@ -286,13 +279,13 @@ function parseMarkdown(text: string): ReactNode[] {return elements;}-export function ChangelogDialog({ open, onOpenChange, locale }: ChangelogDialogProps) {+/** Release notes list, shown inside the Info dialog's changelog tab. */+export function ChangelogPanel({ locale }: { locale: string }) {const t = useTranslations();// null until the first response arrivesconst [releases, setReleases] = useState<GitHubRelease[] | null>(null);useEffect(() => {- if (!open) return;let cancelled = false;fetchReleases().then((data) => {if (!cancelled) setReleases(data);@@ -300,63 +293,58 @@ export function ChangelogDialog({ open, onOpenChange, locale }: ChangelogDialogPreturn () => {cancelled = true;};- }, [open]);+ }, []);const formatDate = (dateString: string) =>format(new Date(dateString), "PPP", { locale: getDateLocale(locale) });+ if (releases === null) {+ return (+ <div className="flex items-center justify-center py-12">+ <Loader2 className="size-6 animate-spin text-fg-tertiary" />+ </div>+ );+ }++ if (releases.length === 0) {+ return (+ <p className="py-12 text-center text-[13px] text-fg-tertiary">+ {t("changelog.noReleases")}+ </p>+ );+ }+return (- <PanelDialog- open={open}- onOpenChange={onOpenChange}- title={t("changelog.title")}- description={t("changelog.description")}- width="lg"- bodyClassName="py-0"- >- {releases === null ? (- <div className="flex items-center justify-center py-12">- <Loader2 className="size-6 animate-spin text-fg-tertiary" />- </div>- ) : releases.length === 0 ? (- <p className="py-12 text-center text-[13px] text-fg-tertiary">- {t("changelog.noReleases")}- </p>- ) : (- <div className="divide-y divide-line-subtle">- {releases.map((release) => {- const title = release.name && release.name !== release.tag_name ? release.name : null;- const releaseUrl = sanitizeUrl(release.html_url);- return (- <section key={release.id} className="py-[18px]">- <div className="flex flex-wrap items-baseline gap-x-2.5 gap-y-1">- <h3 className="font-mono text-[14px] font-semibold text-fg-strong">- {release.tag_name}- </h3>- <span className="text-[12px] text-fg-tertiary">- {formatDate(release.published_at)}- </span>- {releaseUrl && (- <a- href={releaseUrl}- target="_blank"- rel="noopener noreferrer"- className="ml-auto inline-flex items-center gap-1 text-[12.5px] font-medium text-brand-ink hover:underline"- >- {t("changelog.viewOnGitHub")}- <ExternalLink className="size-3.5" />- </a>- )}- </div>- {title && (- <div className="mt-1 text-[13.5px] font-semibold text-fg-body">{title}</div>- )}- {release.body && <div className="mt-2">{parseMarkdown(release.body)}</div>}- </section>- );- })}- </div>- )}- </PanelDialog>+ <div className="divide-y divide-line-subtle">+ {releases.map((release) => {+ const title = release.name && release.name !== release.tag_name ? release.name : null;+ const releaseUrl = sanitizeUrl(release.html_url);+ return (+ <section key={release.id} className="py-[18px]">+ <div className="flex flex-wrap items-baseline gap-x-2.5 gap-y-1">+ <h3 className="font-mono text-[14px] font-semibold text-fg-strong">+ {release.tag_name}+ </h3>+ <span className="text-[12px] text-fg-tertiary">+ {formatDate(release.published_at)}+ </span>+ {releaseUrl && (+ <a+ href={releaseUrl}+ target="_blank"+ rel="noopener noreferrer"+ className="ml-auto inline-flex items-center gap-1 text-[12.5px] font-medium text-brand-ink hover:underline"+ >+ {t("changelog.viewOnGitHub")}+ <ExternalLink className="size-3.5" />+ </a>+ )}+ </div>+ {title && <div className="mt-1 text-[13.5px] font-semibold text-fg-body">{title}</div>}+ {release.body && <div className="mt-2">{parseMarkdown(release.body)}</div>}+ </section>+ );+ })}+ </div>);}diff --git a/components/info-dialog.tsx b/components/info-dialog.tsxnew file mode 100644index 0000000..472c2e9--- /dev/null+++ b/components/info-dialog.tsx@@ -0,0 +1,121 @@+"use client";++import { useState } from "react";+import { useTranslations } from "next-intl";+import { CalendarDays, Coffee, Github, Heart } from "lucide-react";+import { PanelBody, PanelDialog } from "@/components/panel-dialog";+import { SegmentedControl } from "@/components/segmented-control";+import { ChangelogPanel } from "@/components/changelog-dialog";+import { useVersionUpdateCheck } from "@/hooks/useVersionUpdate";++type InfoTab = "info" | "changelog";++const DONATE_LINKS = [+ { key: "buyMeACoffee", href: "https://www.buymeacoffee.com/pantel", icon: Coffee, tone: "text-warning" },+ { key: "githubSponsors", href: "https://github.com/sponsors/pantelx", icon: Heart, tone: "text-danger" },+] as const;++function InfoTabContent() {+ const t = useTranslations();+ const { versionInfo } = useVersionUpdateCheck();++ return (+ <div className="flex flex-col gap-5">+ <div className="flex items-center gap-3 rounded-[11px] border border-line bg-surface-panel px-4 py-3.5">+ <div className="flex size-9 shrink-0 items-center justify-center rounded-[9px] bg-brand">+ <CalendarDays className="size-[18px] text-white" />+ </div>+ <div className="min-w-0 flex-1">+ <p className="text-[14px] font-semibold text-fg-strong">{t("app.title")}</p>+ <p className="font-mono text-[12px] text-fg-tertiary">+ {versionInfo+ ? versionInfo.isDev+ ? t("info.devBuild")+ : `v${versionInfo.version}${versionInfo.commitHash ? ` · ${versionInfo.commitHash}` : ""}`+ : "…"}+ </p>+ </div>+ {versionInfo?.githubUrl && (+ <a+ href={versionInfo.githubUrl}+ target="_blank"+ rel="noopener noreferrer"+ aria-label="GitHub"+ className="flex size-8 shrink-0 items-center justify-center rounded-lg text-fg-tertiary transition-colors hover:bg-surface-sunken hover:text-fg-secondary"+ >+ <Github className="size-[18px]" />+ </a>+ )}+ </div>++ <div>+ <p className="text-[13.5px] font-semibold text-fg-strong">{t("info.supportTitle")}</p>+ <p className="mt-1 text-[12.5px] leading-relaxed text-fg-tertiary">+ {t("info.supportDescription")}+ </p>+ <div className="mt-3 flex flex-col gap-2">+ {DONATE_LINKS.map(({ key, href, icon: Icon, tone }) => (+ <a+ key={key}+ href={href}+ target="_blank"+ rel="noopener noreferrer"+ className="flex items-center gap-2.5 rounded-[10px] border border-line px-3.5 py-2.5 text-[13.5px] font-semibold text-fg-strong transition-colors hover:bg-surface-panel"+ >+ <Icon className={`size-4 shrink-0 ${tone}`} />+ {t(`info.${key}`)}+ </a>+ ))}+ </div>+ </div>+ </div>+ );+}++interface InfoDialogProps {+ open: boolean;+ onOpenChange: (open: boolean) => void;+ locale: string;+ /** Which tab to land on when the dialog opens; defaults to "info". */+ defaultTab?: InfoTab;+}++/** App info, donation links and release notes — everything about the app in one place. */+export function InfoDialog({ open, onOpenChange, locale, defaultTab = "info" }: InfoDialogProps) {+ const t = useTranslations();+ const [tab, setTab] = useState<InfoTab>(defaultTab);++ // Land on the intended tab every time the dialog re-opens, even if the+ // previous session left it on the other one.+ const [wasOpen, setWasOpen] = useState(open);+ if (open !== wasOpen) {+ setWasOpen(open);+ if (open) setTab(defaultTab);+ }++ return (+ <PanelDialog+ bare+ open={open}+ onOpenChange={onOpenChange}+ title={t("info.title")}+ description={t("info.description")}+ width="lg"+ >+ <div className="border-b border-line px-[22px] pb-3 pt-3">+ <SegmentedControl<InfoTab>+ label={t("info.title")}+ value={tab}+ onChange={setTab}+ options={[+ { value: "info", label: t("info.tabInfo") },+ { value: "changelog", label: t("changelog.title") },+ ]}+ />+ </div>+ <PanelBody className={tab === "changelog" ? "py-0" : undefined}>+ {tab === "info" ? <InfoTabContent /> : <ChangelogPanel locale={locale} />}+ </PanelBody>+ </PanelDialog>+ );+}diff --git a/components/phone-menu.tsx b/components/phone-menu.tsxindex f8a6249..b97c9d4 100644--- a/components/phone-menu.tsx+++ b/components/phone-menu.tsx@@ -9,11 +9,11 @@ import {ChevronRight,Compass,FileText,+ Info,Languages,Loader2,LogIn,LogOut,- ScrollText,Shield,SlidersHorizontal,SunMoon,@@ -30,13 +30,12 @@ import {SettingsSection,useCalendarSettings,} from "@/components/settings-dialog";-import { ChangelogDialog } from "@/components/changelog-dialog";+import { InfoDialog } from "@/components/info-dialog";import { CalendarDiscoverySheet } from "@/components/calendar-discovery-sheet";import { setLocaleCookie } from "@/components/app-preferences-menu-items";import { useAuth } from "@/hooks/useAuth";import { useAuthFeatures } from "@/hooks/useAuthFeatures";import { useIsAdmin } from "@/hooks/useAdminAccess";-import { useVersionInfo } from "@/hooks/useVersionInfo";import { useViewSettings } from "@/hooks/useViewSettings";import { useSignOut } from "@/hooks/useSignOut";import { locales } from "@/lib/locales";@@ -204,10 +203,6 @@ function MenuRow({);}-function AppVersion() {- return useVersionInfo()?.version ?? null;-}-function PhoneMenuSheet({open,onOpenChange,@@ -302,14 +297,8 @@ function PhoneMenuSheet({const inSection = panel !== null;const themeTitle = (themeOptions.find((o) => o.value === theme) ?? themeOptions[0]).title;- const changelogRow = (- <MenuRow- icon={ScrollText}- title={t("changelog.title")}- meta={<AppVersion />}- mono- onClick={() => setChangelogOpen(true)}- />+ const infoRow = (+ <MenuRow icon={Info} title={t("info.title")} onClick={() => setChangelogOpen(true)} />);return (@@ -411,12 +400,12 @@ function PhoneMenuSheet({{isAdmin && (<MenuRow icon={Shield} title={t("admin.adminPanel")} onClick={() => navigate("/admin")} />)}- {changelogRow}+ {infoRow}<MenuRow icon={LogOut} title={t("auth.logout")} danger onClick={handleSignOut} /></MenuGroup>) : (<MenuGroup label={t("settings.groupApp")}>- {changelogRow}+ {infoRow}{isAuthEnabled && (<MenuRow icon={LogIn} title={t("auth.login")} onClick={() => navigate("/login")} />)}@@ -426,7 +415,7 @@ function PhoneMenuSheet({</PanelBody>)}</PanelDialog>- <ChangelogDialog open={changelogOpen} onOpenChange={setChangelogOpen} locale={locale} />+ <InfoDialog open={changelogOpen} onOpenChange={setChangelogOpen} locale={locale} />{signedIn && <CalendarDiscoverySheet open={discoveryOpen} onOpenChange={setDiscoveryOpen} />}<ConfirmationDialog {...confirmProps} /></>diff --git a/components/settings-dialog.tsx b/components/settings-dialog.tsxindex 56e4a85..25019c4 100644--- a/components/settings-dialog.tsx+++ b/components/settings-dialog.tsx@@ -232,16 +232,19 @@ export function useCalendarSettings(calendarId: string | null) {title: t("settings.view"),description: t("settings.viewHint"),meta: calendar.viewSettings ? t("settings.viewOn") : t("settings.viewOff"),- },- {+ }+ );+ // Sync notifications manage external syncs, so they need the same permission+ // tier as that section — guests only ever get read/write, never manage.+ if (permission.canManage)+ items.push({id: "notifications",icon: Bell,title: t("settings.notifications"),description: hasSyncErrors ? t("settings.notificationsError") : t("settings.notificationsHint"),meta: hasSyncErrors ? t("common.error") : undefined,metaTone: hasSyncErrors ? "danger" : undefined,- }- );+ });return { calendar, items };}diff --git a/components/user-menu.tsx b/components/user-menu.tsxindex dcd1df3..10b1469 100644--- a/components/user-menu.tsx+++ b/components/user-menu.tsx@@ -26,7 +26,7 @@ import {SlidersHorizontal,} from "lucide-react";import { CalendarDiscoverySheet } from "@/components/calendar-discovery-sheet";-import { ChangelogDialog } from "@/components/changelog-dialog";+import { InfoDialog } from "@/components/info-dialog";import { AppPreferencesMenuItems } from "@/components/app-preferences-menu-items";import { PhoneMenu } from "@/components/phone-menu";import { useIsAdmin } from "@/hooks/useAdminAccess";@@ -124,7 +124,7 @@ export function UserMenu({ onOpenViewSettings, onOpenPhoneMenu }: MenuProps) {)}<DropdownMenuSeparator /><AppPreferencesMenuItems- onOpenChangelog={() => setChangelogOpen(true)}+ onOpenInfo={() => setChangelogOpen(true)}onOpenViewSettings={onOpenViewSettings}/><DropdownMenuSeparator />@@ -139,11 +139,7 @@ export function UserMenu({ onOpenViewSettings, onOpenPhoneMenu }: MenuProps) {</DropdownMenu><CalendarDiscoverySheet open={discoveryOpen} onOpenChange={setDiscoveryOpen} />- <ChangelogDialog- open={changelogOpen}- onOpenChange={setChangelogOpen}- locale={locale}- />+ <InfoDialog open={changelogOpen} onOpenChange={setChangelogOpen} locale={locale} /></>);}@@ -200,17 +196,13 @@ export function GuestMenu({</DropdownMenuTrigger><DropdownMenuContent align="end" className="w-56"><AppPreferencesMenuItems- onOpenChangelog={() => setChangelogOpen(true)}+ onOpenInfo={() => setChangelogOpen(true)}onOpenViewSettings={onOpenViewSettings}/></DropdownMenuContent></DropdownMenu>{loginButton}- <ChangelogDialog- open={changelogOpen}- onOpenChange={setChangelogOpen}- locale={locale}- />+ <InfoDialog open={changelogOpen} onOpenChange={setChangelogOpen} locale={locale} /></>);}diff --git a/docs/screenshots/desktop/admin.png b/docs/screenshots/desktop/admin.pngnew file mode 100644index 0000000..e6cfb99Binary files /dev/null and b/docs/screenshots/desktop/admin.png differdiff --git a/docs/screenshots/desktop/calendar.png b/docs/screenshots/desktop/calendar.pngnew file mode 100644index 0000000..0610073Binary files /dev/null and b/docs/screenshots/desktop/calendar.png differdiff --git a/docs/screenshots/desktop/export.png b/docs/screenshots/desktop/export.pngnew file mode 100644index 0000000..c0c5d70Binary files /dev/null and b/docs/screenshots/desktop/export.png differdiff --git a/docs/screenshots/desktop/external-sync.png b/docs/screenshots/desktop/external-sync.pngnew file mode 100644index 0000000..00aaa2fBinary files /dev/null and b/docs/screenshots/desktop/external-sync.png differdiff --git a/docs/screenshots/desktop/login.png b/docs/screenshots/desktop/login.pngnew file mode 100644index 0000000..244df63Binary files /dev/null and b/docs/screenshots/desktop/login.png differdiff --git a/docs/screenshots/desktop/presets.png b/docs/screenshots/desktop/presets.pngnew file mode 100644index 0000000..8575aabBinary files /dev/null and b/docs/screenshots/desktop/presets.png differdiff --git a/docs/screenshots/desktop/sharing.png b/docs/screenshots/desktop/sharing.pngnew file mode 100644index 0000000..de1db85Binary files /dev/null and b/docs/screenshots/desktop/sharing.png differdiff --git a/docs/screenshots/desktop/statistics.png b/docs/screenshots/desktop/statistics.pngnew file mode 100644index 0000000..23b4cf2Binary files /dev/null and b/docs/screenshots/desktop/statistics.png differdiff --git a/docs/screenshots/mobile/admin.png b/docs/screenshots/mobile/admin.pngnew file mode 100644index 0000000..8cc9fb9Binary files /dev/null and b/docs/screenshots/mobile/admin.png differdiff --git a/docs/screenshots/mobile/calendar.png b/docs/screenshots/mobile/calendar.pngnew file mode 100644index 0000000..cac9cd5Binary files /dev/null and b/docs/screenshots/mobile/calendar.png differdiff --git a/docs/screenshots/mobile/settings.png b/docs/screenshots/mobile/settings.pngnew file mode 100644index 0000000..d0f97baBinary files /dev/null and b/docs/screenshots/mobile/settings.png differdiff --git a/docs/screenshots/mobile/statistics.png b/docs/screenshots/mobile/statistics.pngnew file mode 100644index 0000000..331b567Binary files /dev/null and b/docs/screenshots/mobile/statistics.png differdiff --git a/messages/cs.json b/messages/cs.jsonindex 047a229..c82d193 100644--- a/messages/cs.json+++ b/messages/cs.json@@ -318,10 +318,19 @@},"changelog": {"title": "Seznam změn",- "description": "Všechny poznámky k vydání a změny BetterShift","noReleases": "Nejsou k dispozici žádná vydání","viewOnGitHub": "Zobrazit na GitHubu"},+ "info": {+ "title": "Info",+ "description": "Verze, seznam změn a možnosti podpory projektu",+ "tabInfo": "Info",+ "devBuild": "Vývojová verze",+ "supportTitle": "Podpořit projekt",+ "supportDescription": "BetterShift je open source a vzniká ve volném čase. Pokud ti pomáhá, budu rád za tvou podporu.",+ "buyMeACoffee": "Buy Me a Coffee",+ "githubSponsors": "GitHub Sponsors"+ },"export": {"formatLabel": "Formát exportu","icsFormat": "ICS (soubor kalendáře)",diff --git a/messages/de.json b/messages/de.jsonindex 052f78a..17eddad 100644--- a/messages/de.json+++ b/messages/de.json@@ -318,10 +318,19 @@},"changelog": {"title": "Changelog",- "description": "Alle Versionshinweise und Änderungen von BetterShift","noReleases": "Keine Releases verfügbar","viewOnGitHub": "Auf GitHub ansehen"},+ "info": {+ "title": "Info",+ "description": "Version, Changelog und Wege, das Projekt zu unterstützen",+ "tabInfo": "Info",+ "devBuild": "Entwicklungsversion",+ "supportTitle": "Projekt unterstützen",+ "supportDescription": "BetterShift ist Open Source und wird in der Freizeit entwickelt. Wenn es dir hilft, freue ich mich über deine Unterstützung.",+ "buyMeACoffee": "Buy Me a Coffee",+ "githubSponsors": "GitHub Sponsors"+ },"export": {"formatLabel": "Export-Format","icsFormat": "ICS (Kalenderdatei)",diff --git a/messages/en.json b/messages/en.jsonindex 4e85c24..f6fbfb7 100644--- a/messages/en.json+++ b/messages/en.json@@ -318,10 +318,19 @@},"changelog": {"title": "Changelog",- "description": "All release notes and changes of BetterShift","noReleases": "No releases available","viewOnGitHub": "View on GitHub"},+ "info": {+ "title": "Info",+ "description": "Version, changelog and ways to support the project",+ "tabInfo": "Info",+ "devBuild": "Development build",+ "supportTitle": "Support the project",+ "supportDescription": "BetterShift is open source and built in spare time. If it helps you, I'd appreciate your support.",+ "buyMeACoffee": "Buy Me a Coffee",+ "githubSponsors": "GitHub Sponsors"+ },"export": {"formatLabel": "Export Format","icsFormat": "ICS (Calendar File)",diff --git a/messages/es.json b/messages/es.jsonindex dbfc194..25618c4 100644--- a/messages/es.json+++ b/messages/es.json@@ -318,10 +318,19 @@},"changelog": {"title": "Registro de cambios",- "description": "Notas de lanzamiento y cambios de BetterShift","noReleases": "No hay lanzamientos disponibles","viewOnGitHub": "Ver en GitHub"},+ "info": {+ "title": "Info",+ "description": "Versión, registro de cambios y formas de apoyar el proyecto",+ "tabInfo": "Info",+ "devBuild": "Versión de desarrollo",+ "supportTitle": "Apoyar el proyecto",+ "supportDescription": "BetterShift es de código abierto y se desarrolla en el tiempo libre. Si te resulta útil, agradezco tu apoyo.",+ "buyMeACoffee": "Buy Me a Coffee",+ "githubSponsors": "GitHub Sponsors"+ },"export": {"formatLabel": "Formato de exportación","icsFormat": "ICS (Archivo de calendario)",diff --git a/messages/fr.json b/messages/fr.jsonindex 55f2b6c..0f66bd4 100755--- a/messages/fr.json+++ b/messages/fr.json@@ -318,10 +318,19 @@},"changelog": {"title": "Journal des modifications",- "description": "Toutes les notes de version et modifications de BetterShift","noReleases": "Aucune version disponible","viewOnGitHub": "Voir sur GitHub"},+ "info": {+ "title": "Infos",+ "description": "Version, journal des modifications et moyens de soutenir le projet",+ "tabInfo": "Infos",+ "devBuild": "Version de développement",+ "supportTitle": "Soutenir le projet",+ "supportDescription": "BetterShift est open source et développé sur le temps libre. Si l'application vous aide, votre soutien est très apprécié.",+ "buyMeACoffee": "Buy Me a Coffee",+ "githubSponsors": "GitHub Sponsors"+ },"export": {"formatLabel": "Format d'export","icsFormat": "ICS (fichier calendrier)",diff --git a/messages/it.json b/messages/it.jsonindex 518f634..c4a8985 100644--- a/messages/it.json+++ b/messages/it.json@@ -318,10 +318,19 @@},"changelog": {"title": "Changelog",- "description": "Tutte le note di rilascio e modifiche di BetterShift","noReleases": "Nessun rilascio disponibile","viewOnGitHub": "Visualizza su GitHub"},+ "info": {+ "title": "Info",+ "description": "Versione, changelog e modi per sostenere il progetto",+ "tabInfo": "Info",+ "devBuild": "Versione di sviluppo",+ "supportTitle": "Sostieni il progetto",+ "supportDescription": "BetterShift è open source e sviluppato nel tempo libero. Se ti è utile, il tuo sostegno è molto apprezzato.",+ "buyMeACoffee": "Buy Me a Coffee",+ "githubSponsors": "GitHub Sponsors"+ },"export": {"formatLabel": "Formato di esportazione","icsFormat": "ICS (File Calendario)",