Commit Graph

322 Commits

Author SHA1 Message Date
Leon Bösche
3a80ad4f15 Implement overlay dropdown for username suggestions to prevent pushing content down 2026-01-24 04:54:42 +01:00
Leon Bösche
032b287548 Increase width of ModernGlassButton for improved layout consistency 2026-01-24 04:50:00 +01:00
Leon Bösche
4f9230cdc2 Fix TextField not accepting input by moving TextEditingController to state instead of recreating on every build 2026-01-24 04:39:58 +01:00
Leon Bösche
be09b5830e Refactor Send Invitation button to use fixed width for better layout consistency 2026-01-24 04:38:43 +01:00
Leon Bösche
5cf3b1d997 Use content_copy icon for copy link button; fix missing buttons in personal workspace by granting full permissions for orgId empty 2026-01-24 04:36:40 +01:00
Leon Bösche
4786e5b5d9 Change regenerate button to use refresh icon instead of text 2026-01-24 04:30:15 +01:00
Leon Bösche
c0a3e4d8c3 Add text overflow handling for invite link in Organization Settings dialog 2026-01-24 04:29:02 +01:00
Leon Bösche
56f3de5d0d Fix LoadPermissions event usage: add import and correct constructor call 2026-01-24 04:27:43 +01:00
Leon Bösche
d387f6c4d3 Fix missing buttons in personal workspace by reloading permissions on org change; fix untypeable TextField by removing Container wrapper and using InputDecoration borders 2026-01-24 04:27:09 +01:00
Leon Bösche
9654497a2b Reorder invite tab: move invite link above user search fields; style TextField and Dropdown with app theme colors to avoid purple borders 2026-01-24 04:04:29 +01:00
Leon Bösche
01d3ef8a46 Fix type error in ModernGlassButton onPressed: provide always non-null callback with permission check inside 2026-01-24 03:51:51 +01:00
Leon Bösche
1f7f4f33cc Make invite form always visible in Organization Settings dialog, with send button enabled only if user has manage permission; reposition copy link button next to invite link text for sleeker layout 2026-01-24 03:49:58 +01:00
Leon Bösche
c1c8f837a8 Add null check in ApiClient.getList to handle cases where response.data is null, returning empty list instead of throwing cast error 2026-01-24 03:39:31 +01:00
Leon Bösche
f53424aaa4 Format CircularProgressIndicator for better readability in Organization Settings dialog 2026-01-24 03:36:26 +01:00
Leon Bösche
aaa0062568 Fix CircularProgressIndicator color in Organization Settings dialog to use AppTheme.accentColor 2026-01-24 03:35:58 +01:00
Leon Bösche
b57b1ab030 Fix package name to use underscore instead of dot notation 2026-01-24 03:25:42 +01:00
Leon Bösche
d7ae944aee Fix backend to return empty slices instead of null for JSON encoding
- Initialize slices as empty in database query functions to prevent json.Encode(nil) returning 'null'
- This fixes Flutter Dio parsing 'null' as null, causing cast to List to fail
2026-01-24 03:21:30 +01:00
Leon Bösche
5012c9a1b5 Update package name to use dot notation and add icons asset path 2026-01-24 02:36:33 +01:00
Leon Bösche
c3e3356574 Refactor user struct and user info handling for improved readability 2026-01-24 02:30:34 +01:00
Leon Bösche
c7e740e732 Fix Organization Management dialog type errors
- Fix JSON key mismatch in Flutter models: change 'User' to 'user' in Member and JoinRequest fromJson
- Update backend userInfo to send displayName as *string (null when empty)
- Add json tags to database User struct for consistent lowercase keys
- Handle displayName nullability in backend handlers
2026-01-24 02:30:15 +01:00
Leon Bösche
273976a69e Add onTap handler to 'Add' navigation button in HomePage 2026-01-24 01:33:11 +01:00
Leon Bösche
3dd4a9b692 Update header text in organization settings dialog to include organization name 2026-01-24 01:31:25 +01:00
Leon Bösche
c675cb9125 Update icon for Manage button to use rounded accounts icon 2026-01-24 01:19:43 +01:00
Leon Bösche
76ad2f4581 Update header text in organization settings dialog to 'Manage Organization' 2026-01-24 01:17:08 +01:00
Leon Bösche
4c8ef754c0 Add initial state emission for empty organization ID in permissions loading 2026-01-24 00:35:38 +01:00
Leon Bösche
25b053ee13 Improve error handling and logging in data loading for organization settings dialog 2026-01-24 00:24:43 +01:00
Leon Bösche
960d2c8805 Refactor button color logic and improve readability in home page and organization settings dialog 2026-01-24 00:22:38 +01:00
Leon Bösche
56d8054d90 Fix Manage button visibility
- Change icon from Icons.settings to Icons.admin_panel_settings for better recognition
- Use AppTheme.primaryText (white) instead of secondaryText (white70) for action buttons
- Improve visibility of the Manage button in the navigation bar
2026-01-24 00:21:15 +01:00
Leon Bösche
b4e9829f04 Fix splash effects on all buttons in organization settings dialog
- Add splashColor: Colors.transparent and highlightColor: Colors.transparent to all IconButtons
- Add ButtonStyle with NoSplash.splashFactory and transparent overlayColor to all TextButtons
- Updated close button, remove member button, cancel invitation button, and accept/reject buttons
- Maintains consistent button behavior across the entire app
2026-01-24 00:02:22 +01:00
Leon Bösche
48c9c19a64 Fix settings button and dialog tab buttons
- Change 'Settings' button to 'Manage' with proper icon visibility
- Only show Manage button when in an organization (selectedOrg != null)
- Replace TabBar with custom animated tab buttons that match app styling
- Add smooth animations and visual feedback to tab buttons
- Maintain consistent splash effects across the dialog
2026-01-24 00:00:04 +01:00
Leon Bösche
e10e499b6c Backend: Fix organization API endpoints and RBAC
- Fix member list API response format to match frontend expectations
- Fix join requests API response format
- Add proper JSON tags to Invitation struct
- Grant OrgManage permission to admin role for proper RBAC

These changes ensure frontend-backend API contracts are aligned and admins can manage organizations.
2026-01-23 23:48:10 +01:00
Leon Bösche
bfe2d1d521 Fix string concatenation for error messages in audio playback handling 2026-01-23 23:40:30 +01:00
Leon Bösche
26cbe83d66 Add JoinPage feature with invite token handling and update routing 2026-01-23 23:39:59 +01:00
Leon Bösche
98e7bbdb9e Refactor code for improved readability and consistency in multiple files 2026-01-23 23:21:46 +01:00
Leon Bösche
20bc0ac757 Implement complete Organizations feature with RBAC
- Add owner/admin/member roles with proper permissions
- Implement invite links and join requests system
- Add organization settings dialog with member management
- Create database migrations for invitations and invite links
- Update backend API with org management endpoints
- Fix compilation errors and audit logging
- Update frontend models and API integration
2026-01-23 23:21:23 +01:00
Leon Bösche
a03b0dfe33 idle 2026-01-21 14:54:47 +01:00
Leon Bösche
73e757a86b Adjust audio player bar positioning for improved layout 2026-01-19 23:12:46 +01:00
Leon Bösche
6c4a5555f3 letzte heute 2026-01-17 04:17:53 +01:00
Leon Bösche
d41566f4dc Adjust audio player bar positioning and width for improved layout 2026-01-17 04:12:40 +01:00
Leon Bösche
800d0c3020 Adjust audio player bar positioning for improved layout 2026-01-17 04:04:03 +01:00
Leon Bösche
968065a0a3 idle 2026-01-17 03:55:48 +01:00
Leon Bösche
cb5f4d0e83 Remove debug print statements from audio player for cleaner code. deploy now 2026-01-17 03:45:07 +01:00
Leon Bösche
898922efd1 Refactor audio player to manage subscriptions more effectively and ensure proper cleanup 2026-01-17 03:40:56 +01:00
Leon Bösche
014b77a27e idle3 2026-01-17 03:39:07 +01:00
Leon Bösche
ab6c6b2ff8 idle2 2026-01-17 03:38:07 +01:00
Leon Bösche
bdba13cb60 idle 2026-01-17 03:32:22 +01:00
Leon Bösche
0c1e470779 Replace close button with a simple 'x' text for improved clarity and simplicity 2026-01-17 03:31:13 +01:00
Leon Bösche
0d88d8e58e Increase right padding of audio player bar to avoid overlapping navigation buttons 2026-01-17 03:30:19 +01:00
Leon Bösche
3e7cc12b32 Increase right padding of audio player bar to avoid overlapping navigation buttons 2026-01-17 03:14:41 +01:00
Leon Bösche
d806fb806c Adjust audio player bar width to 24% for improved layout 2026-01-17 03:08:16 +01:00