Commit Graph

32 Commits

Author SHA1 Message Date
AlacrisDevs
f9dc950394 fix: add +page.server.ts loaders for all event module sub-pages 2026-02-07 13:09:18 +02:00
AlacrisDevs
202f0fe9a1 chore: supabase CLI setup, migrations, type regeneration - Install supabase CLI as dev dependency - Fix migration 023: use gen_random_uuid() instead of uuid_generate_v4() - Push migrations 023 + 024 to remote Supabase - Regenerate TypeScript types from live DB schema - Remove all (supabase as any) workaround casts across 6 files - Add convenience type aliases to generated types file - Align EventMember/EventRole/EventDepartment interfaces with DB nullability - Add npm scripts: db:push, db:types, db:migrate - svelte-check: 0 errors, vitest: 112/112 passed 2026-02-07 13:05:47 +02:00
AlacrisDevs
d304129e5c Merge feature/events-platform: event team management, extended profiles, module pages 2026-02-07 12:56:32 +02:00
AlacrisDevs
676468d3ec feat: extended profile fields (phone, discord, shirt/hoodie sizes) - Migration 024: add phone, discord_handle, shirt_size, hoodie_size to profiles - Account page: new Contact & Sizing section with phone, discord, size dropdowns - Save profile persists all new fields - Layout server: profile queries include new fields for org members and user - Event team page: member rows show phone, discord, T-shirt and hoodie sizes - EventMemberWithDetails profile type extended - i18n: 8 new keys in EN and ET - svelte-check: 0 errors, vitest: 112/112 passed 2026-02-07 12:53:56 +02:00
AlacrisDevs
1f2484da3d feat: event team management with departments and roles - Migration 023: event_roles, event_departments, event_member_departments tables - Auto-seed default roles (Head Organizer, Team Lead, Organizer, Volunteer, Sponsor) and departments (Logistics, IT & Tech, Marketing, Finance, Program, Sponsorship, Design, Volunteers) on event creation - API: full CRUD for roles, departments, member-department assignments - Enhanced fetchEventMembers with role + department resolution - Team page: sidebar with department filter + role legend, list/dept view toggle, add/edit/remove members with role + multi-department + notes - i18n: 25 new keys in EN and ET for team management - svelte-check: 0 errors, vitest: 112/112 passed 2026-02-07 12:47:34 +02:00
AlacrisDevs
edc5f8af85 feat: add event module pages (placeholders + full Team module) - 6 placeholder 'coming soon' pages: tasks, files, schedule, budget, guests, sponsors - Full Team module: add/remove members, change roles, role badges - Uses existing event_members DB table and API layer - i18n keys added for EN and ET (module placeholders + team) - svelte-check: 0 errors, vitest: 112/112 passed 2026-02-07 11:39:51 +02:00
AlacrisDevs
4999836a57 ui: overhaul org settings components (General, Members, Roles, Integrations) - SettingsGeneral: border-based cards, compact danger zone with error border - SettingsMembers: Avatar component, icon buttons, border-based list - SettingsRoles: icon buttons for edit/delete, smaller permission badges - SettingsIntegrations: compact integration cards, Material Symbols for coming-soon - Removed unused Card imports from all settings components - svelte-check: 0 errors, vitest: 112/112 passed 2026-02-07 11:23:49 +02:00
AlacrisDevs
9d5e58f858 ui: overhaul home page, style guide, account settings - Home page: bg-background, border-based org cards, material icons, compact typography - Style guide: new header with back button, rounded-xl swatches, consistent section headings - Account settings: replace bg-background rounded-[32px] with border-based rounded-xl cards - svelte-check: 0 errors, vitest: 112/112 passed 2026-02-07 11:18:23 +02:00
AlacrisDevs
819d5b876a ui: overhaul files, kanban, calendar, settings, chat modules
- FileBrowser: modernize breadcrumbs, toolbar, list/grid items, empty states
- KanbanColumn: remove fixed height, border-based styling, compact header
- KanbanCard: cleaner border styling, smaller tags, compact footer
- Calendar: compact nav bar, border grid, today circle indicator, day view empty state
- DocumentViewer: remove bg-night rounded-[32px], border-b header pattern
- Settings tags: inline border/rounded-xl cards, icon action buttons
- Chat: create +layout.svelte with PageHeader, overhaul sidebar and main area
- Chat i18n: add nav_chat, chat_title, chat_subtitle keys (en + et)

svelte-check: 0 errors, vitest: 112/112 passed
2026-02-07 11:03:58 +02:00
AlacrisDevs
2913912cb8 feat: UI overhaul - component library + route layouts with instant headers
- Created 11 reusable UI components: PageHeader, SectionCard, StatCard, StatusBadge, TabBar, MemberList, ActivityFeed, EventCard, ContentSkeleton, QuickLinkGrid, ModuleCard
- Created route-specific +layout.svelte for documents, calendar, kanban, events, settings, account
- Each layout renders PageHeader instantly from parent data, shows ContentSkeleton during navigation
- Removed full-page PageSkeleton from parent layout
- Refactored all pages to use new components instead of inline markup
- Overview page: uses StatCard, SectionCard, EventCard, ActivityFeed, MemberList, QuickLinkGrid
- Events list: uses EventCard, Button components
- Event detail: uses ModuleCard, SectionCard
- Settings/Account/Calendar/Kanban: headers in layouts, toolbars in pages
- Added i18n keys for overview page (EN + ET)
- 0 errors, 112 tests pass
2026-02-07 10:44:53 +02:00
AlacrisDevs
fe6ec6e0af i18n: add Paraglide messages for all events pages (EN + ET) 2026-02-07 10:16:13 +02:00
AlacrisDevs
36496e8cdb fix: event detail SSR children guard, state_referenced_locally warnings, a11y warnings 2026-02-07 10:09:00 +02:00
AlacrisDevs
556955f349 feat: Phase 1 - Events entity (migration, API, list page, detail layout with module sidebar, overview page) 2026-02-07 10:04:37 +02:00
AlacrisDevs
4f21c89103 Merge feature/matrix-chat-integration: full Matrix chat integration 2026-02-07 09:46:10 +02:00
AlacrisDevs
8140fddc8b test: add 20 unit tests for markdown utils (mentions, emoji-only, formatTime, formatFileSize) 2026-02-07 09:32:57 +02:00
AlacrisDevs
13cdb605ca chore: regenerate Supabase types (includes matrix_credentials + matrix_space_id), remove db() cast workarounds 2026-02-07 09:25:33 +02:00
AlacrisDevs
45ab939b7f feat: Matrix Space membership sync API (invite/kick members from org space + child rooms) 2026-02-07 02:02:11 +02:00
AlacrisDevs
23035b6ab4 feat: auto-provision Matrix Space per org + migration 021 + /api/matrix-space endpoint 2026-02-07 02:01:08 +02:00
AlacrisDevs
3f267e3b13 feat: room scoping (org/DM/other sections), unread badge on nav, highlight.js CSS 2026-02-07 01:59:34 +02:00
AlacrisDevs
be99a02e78 fix: add missing chat CSS (twemoji sizing, emoji-only, mentions, message highlight) 2026-02-07 01:53:06 +02:00
AlacrisDevs
a8d79cf138 fix: configure Vite to handle matrix-js-sdk WASM crypto module 2026-02-07 01:49:42 +02:00
AlacrisDevs
d1ce5d0951 feat: integrate Matrix chat (Option 2 - credentials stored in Supabase)
- Add matrix-js-sdk, marked, highlight.js, twemoji, @tanstack/svelte-virtual deps
- Copy Matrix core layer: /matrix/, /stores/matrix.ts, /cache/, /services/
- Copy Matrix components: matrix/, message/, chat-layout/, chat-settings/
- Copy UI components: EmojiPicker, Twemoji, ImagePreviewModal, VirtualList
- Copy utils: emojiData, twemoji, twemojiGlobal
- Replace lucide-svelte with Material Symbols in SyncRecoveryBanner
- Extend Avatar with xs size and status indicator prop
- Fix ui.ts store conflict: re-export toasts from toast.svelte.ts
- Add migration 020_matrix_credentials for storing Matrix tokens per user/org
- Add /api/matrix-credentials endpoint (GET/POST/DELETE)
- Create [orgSlug]/chat page with Matrix login form + full chat UI
- Add Chat to sidebar navigation
2026-02-07 01:44:06 +02:00
AlacrisDevs
e55881b38b Mega push vol 5, working on messaging now 2026-02-07 01:31:55 +02:00
AlacrisDevs
d8bbfd9dc3 Mega push vol 4 2026-02-06 16:08:40 +02:00
AlacrisDevs
b517bb975c Mega push vol 3 2026-02-05 01:48:29 +02:00
AlacrisDevs
9af0ef5307 Mega push vol2 2026-02-05 01:36:06 +02:00
AlacrisDevs
1534e1f0af Mega push vol1 2026-02-05 01:09:55 +02:00
AlacrisDevs
2cfbd8531a Added example 2026-02-05 00:08:14 +02:00
AlacrisDevs
8aa5c74b25 Updated README 2026-02-05 00:05:12 +02:00
AlacrisDevs
424a03f177 Added invite page and fixed inviting logic 2026-02-05 00:02:40 +02:00
AlacrisDevs
6ec6b0753f New features user management Google Calendar integration 2026-02-04 23:53:34 +02:00
AlacrisDevs
cfec43f7ef First commit 2026-02-04 23:01:44 +02:00