Sign in with a code, made-up data without Plaid, and easier everyday use
- Sign in with a code from your email (the link still works); setup item for the code email - Use made-up data: a pretend bank with three months of spending, no Plaid account needed - Is this your pay? when regular money in is filed as something else, with a one-press fix - They look right: keep every bank-given category in one press - Your week on Home, Plan in the main menu, history start per bank on Accounts - A new version of broke is ready, in the sidebar and Settings - Start skips the rebuild when nothing changed; country screen says it was guessed - Fix: skipping banks no longer sends you back to setup Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
37a97fe20a
commit
73208b79df
30 files changed
+496
-39
No files matched your search
@@ -11,12 +11,14 @@ import { countryOf } from "@/lib/countries";
|
||||
import { getUser, userTz } from "@/lib/data";
|
||||
import { fmtFor, todayIn } from "@/lib/format";
|
||||
import { modeOf } from "@/lib/privacy";
|
||||
import { updateReady } from "@/lib/updates";
|
||||
import { createClient } from "@/utils/supabase/server";
|
||||
|
||||
// Accounts made before country support are treated as US (countryOf default) and get a dashboard nudge instead.
|
||||
const FIRST_RUN_SINCE = "2026-10-22";
|
||||
|
||||
export default async function AppLayout({ children }: { children: React.ReactNode }) {
|
||||
const update = await updateReady();
|
||||
const [{ user }, tz] = await Promise.all([getUser(), userTz()]);
|
||||
const profile = user?.user_metadata?.profile;
|
||||
// created_at isn't in the token, so only users with no country pay for the full user record.
|
||||
@@ -47,6 +49,7 @@ export default async function AppLayout({ children }: { children: React.ReactNod
|
||||
</div>
|
||||
<Nav />
|
||||
<div className="hidden md:block mt-auto px-3 space-y-3">
|
||||
{update && <Link href="/settings#improve" className="block text-sm underline underline-offset-4">A new version of broke is ready</Link>}
|
||||
<ThemeToggle />
|
||||
<p className="text-[11px] text-muted leading-relaxed">broke is a personal project. Bank data comes from Plaid.</p>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user