fix: resolve runtime errors and missing routes

- Fix $effect orphan error: move $effect calls from store constructors
  to initEffects() methods called from component context
- Fix icon rendering: create DynamicIcon component to render Lucide icons
  from name strings instead of displaying raw text
- Add /boards/new route for board creation
- Fix seed emails (admin@launcher.local / user@launcher.local) to pass
  Zod email validation
This commit is contained in:
2026-03-24 22:39:23 +03:00
parent e6b50fb4f1
commit bb3b1a5db7
13 changed files with 192 additions and 8 deletions
+4 -4
View File
@@ -29,10 +29,10 @@ async function main() {
// --- Admin User ---
const adminPassword = await bcrypt.hash('admin123', 12);
const admin = await prisma.user.upsert({
where: { email: 'admin@localhost' },
where: { email: 'admin@launcher.local' },
update: {},
create: {
email: 'admin@localhost',
email: 'admin@launcher.local',
password: adminPassword,
displayName: 'Administrator',
role: 'admin',
@@ -44,10 +44,10 @@ async function main() {
// --- Regular User ---
const userPassword = await bcrypt.hash('user123', 12);
const regularUser = await prisma.user.upsert({
where: { email: 'user@localhost' },
where: { email: 'user@launcher.local' },
update: {},
create: {
email: 'user@localhost',
email: 'user@launcher.local',
password: userPassword,
displayName: 'Demo User',
role: 'user',