Commit 020b88e
committed
refactor: remove unused add function and related tests; update profile photo handling
- Deleted the `add` function and its test from the main script.
- Updated `ProfilePageAside`, `UserArticleFeed`, and other components to use `getFileUrl` for profile photo URLs.
- Changed profile photo field names in user models and inputs for consistency.
- Enhanced the `GeneralForm` to handle profile photo uploads with improved file handling.
- Updated the `ImageDropzoneWithCropper` component to work with the new file structure and handle uploads correctly.1 parent 46be810 commit 020b88e
File tree
16 files changed
+63
-1245
lines changed- scripts
- src
- app
- [username]
- (profile-page)
- _components
- articles
- [articleHandle]
- dashboard/settings/_components
- backend
- models
- services
- inputs
- components
16 files changed
+63
-1245
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments