Skip to content

Feature/120 users should be able to upload an avatar and edit their description username#122

Merged
felix-schultz merged 10 commits intodevfrom
feature/120-users-should-be-able-to-upload-an-avatar-and-edit-their-description-username
Jul 24, 2025
Merged

Feature/120 users should be able to upload an avatar and edit their description username#122
felix-schultz merged 10 commits intodevfrom
feature/120-users-should-be-able-to-upload-an-avatar-and-edit-their-description-username

Conversation

@felix-schultz
Copy link
Copy Markdown
Member

This pull request introduces significant changes across multiple areas, including dependency updates, refactoring, and new feature implementations. Key updates include transitioning image processing logic to a shared library, adding new dialogs for user account management, and enhancing UI interactions with animations.

Dependency and configuration updates:

  • Added image, imageproc, and webp dependencies to the workspace, consolidating them for shared use (Cargo.toml, apps/backend/aws/media-transformer/Cargo.toml). [1] [2] [3]

Backend refactoring:

  • Refactored image processing logic by removing local implementations (is_supported_image_format, resize_image, encode_as_webp) and replacing them with calls to the flow_like_types::images library (apps/backend/aws/media-transformer/src/event_handler.rs). [1] [2] [3] [4]

New account management features:

  • Implemented ChangeEmailDialog and ChangePasswordDialog components for updating user email and password, with validation, error handling, and integration with AWS Cognito (apps/desktop/app/account/change-email.tsx, apps/desktop/app/account/change-password.tsx). [1] [2]
  • Enhanced AccountPage to support these new dialogs and integrate with AWS Amplify for user attribute updates and password changes (apps/desktop/app/account/page.tsx).

UI enhancements:

  • Added animations to app cards in the library page using framer-motion for smoother hover effects (apps/desktop/app/library/apps/page.tsx). [1] [2]

chore(deps): update eslint and related packages to version 9.31.0

fix(flow-like): add aws.cognito.signin.user.admin scope to OAuth configuration

chore(ui): update eslint dependency in ui package to version 9.31.0
…ted components

feat(api): enforce unique constraints on user fields in Prisma schema
feat(api): add preferred_username to user model and JWT middleware
feat(api): update user info routes to handle preferred_username and avatar signing
feat(api): implement upsert_info route for user profile updates
feat(app): update media path structure for app-related media
- Added framer-motion animations to app cards in the YoursPage and Library pages for improved user experience.
- Introduced a new ProfilePage component to display user information, including avatar, description, and published apps.
- Implemented loading skeletons and error handling for user profile and apps sections.
- Updated AppCard component styles for better visual consistency and interaction feedback.
- Refactored user state management to streamline user info retrieval and error handling.
- Improved code readability and maintainability by restructuring and cleaning up existing code.
@felix-schultz felix-schultz merged commit 47a9a87 into dev Jul 24, 2025
1 of 4 checks passed
@felix-schultz felix-schultz deleted the feature/120-users-should-be-able-to-upload-an-avatar-and-edit-their-description-username branch July 24, 2025 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant