Commit 8107cf0
committed
Refactor user profile photo handling and implement image upload feature
- Renamed `profile_photo` to `profile_photo_url` across the codebase for consistency.
- Updated user model and database schema to reflect the new property name.
- Enhanced the GeneralForm component to include an image upload feature with cropping capabilities using `ImageDropzoneWithCropper`.
- Adjusted various components to utilize the new `profile_photo_url` property.
- Added support for R2 storage provider in the image upload functionality.
- Created a new component for image upload with cropping and preview features.
- Updated migration files to rename the database column accordingly.1 parent e26de52 commit 8107cf0
File tree
23 files changed
+1320
-35
lines changed- .idea
- inspectionProfiles
- migrations
- meta
- src
- app
- (home)/_components
- [username]/(profile-page)
- _components
- dashboard/settings/_components
- backend
- models
- persistence
- services
- components
- widgets
- hooks
- models
- utils
23 files changed
+1320
-35
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments