You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
memos/web
johnnyjoygh 96cb65320b fix(instance): add needs_setup so admin-less instances aren't treated as fresh
The frontend keyed first-run setup off a null InstanceProfile.admin, but a
null admin only means "no admin-role user exists" — which also happens on a
populated instance that has lost all its admins. Such an instance was wrongly
redirected to signup, where the new account is created as a normal user (the
first-user promotion only triggers when there are zero users), leaving the
instance permanently admin-less.

Add an explicit InstanceProfile.needs_setup derived from user count == 0, and
switch the signup redirect and host tip to use it. admin stays for display only.
3 weeks ago
..
docs
public
src fix(instance): add needs_setup so admin-less instances aren't treated as fresh 3 weeks ago
tests feat: surface newly created memo above pinned list 3 weeks ago
.gitignore
biome.json
components.json
index.html
package.json chore(ui): align frontend on shadcn kit 3 weeks ago
pnpm-lock.yaml chore(ui): align frontend on shadcn kit 3 weeks ago
pnpm-workspace.yaml
tsconfig.json
vite.config.mts
vitest.config.mts