v0.30.0 — #8 floating suggestion/idea widget (parity with dms + fmb)
Mount @otm/account-panel's SuggestionLightbulb at the dashboard shell root: a bottom-right quick-capture feedback/idea button that posts to the existing /api/suggestions route (files a Gitea issue), with "View all →" linking to the full /suggestions triage page. Backend routes were already wired. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
import { redirect } from "next/navigation";
|
import { redirect } from "next/navigation";
|
||||||
import { getSession } from "@/lib/auth";
|
import { getSession } from "@/lib/auth";
|
||||||
import { db } from "@/lib/db";
|
import { db } from "@/lib/db";
|
||||||
|
import { SuggestionLightbulb } from "@otm/account-panel";
|
||||||
import { Sidebar } from "@/components/layout/sidebar";
|
import { Sidebar } from "@/components/layout/sidebar";
|
||||||
import { TopNav } from "@/components/layout/topnav";
|
import { TopNav } from "@/components/layout/topnav";
|
||||||
import { Footer } from "@/components/layout/footer";
|
import { Footer } from "@/components/layout/footer";
|
||||||
@@ -31,6 +32,11 @@ export default async function DashboardLayout({ children }: { children: React.Re
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<Footer />
|
<Footer />
|
||||||
|
{/* Floating quick-capture idea/feedback widget (parity with dms + fmb).
|
||||||
|
Mounted at the shell root — a fixed-position child of a backdrop-blur
|
||||||
|
ancestor would get trapped. Posts to /api/suggestions → files a Gitea
|
||||||
|
issue; "View all →" links to the full triage page. */}
|
||||||
|
<SuggestionLightbulb panelHref="/suggestions" />
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,6 +8,13 @@ export type ChangelogEntry = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const CHANGELOG: ChangelogEntry[] = [
|
export const CHANGELOG: ChangelogEntry[] = [
|
||||||
|
{
|
||||||
|
version: "0.30.0",
|
||||||
|
date: "2026-07-12",
|
||||||
|
changes: [
|
||||||
|
"Added the floating feedback/idea button (bottom-right corner) that the shop and bakery apps have — jot a quick idea or bug from any page, paste in a screenshot, and it files straight to the project. The header lightbulb still opens the full list.",
|
||||||
|
],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
version: "0.29.0",
|
version: "0.29.0",
|
||||||
date: "2026-07-12",
|
date: "2026-07-12",
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
// Bump on every user-visible release. Changelog entries live in `src/lib/changelog.ts`.
|
// Bump on every user-visible release. Changelog entries live in `src/lib/changelog.ts`.
|
||||||
export const APP_VERSION = "0.29.0";
|
export const APP_VERSION = "0.30.0";
|
||||||
|
|||||||
Reference in New Issue
Block a user