这是indexloc提供的服务,不要输入任何密码
Skip to content

feat: move profile picture setting to personal information section #432

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
1fd50fa
add dropzone component
muzanella11 Aug 19, 2024
b14c285
add toggle dropzone
muzanella11 Aug 19, 2024
16a3318
fix settings page structure
muzanella11 Aug 19, 2024
21b31b0
default functionality for delete and set dropzone value to preview av…
muzanella11 Aug 20, 2024
7f05322
add profile picture in tanam user model
muzanella11 Aug 20, 2024
a939962
make more consistent
muzanella11 Aug 20, 2024
1061bb4
add useTanamUpload hook
muzanella11 Aug 20, 2024
4fb14f6
add fileUpload utils
muzanella11 Aug 20, 2024
4ff929f
add file blob in onChange dropzone
muzanella11 Aug 20, 2024
f29a4f5
update storage rules
muzanella11 Aug 20, 2024
8e92cde
still getting 403 when upload to storage
muzanella11 Aug 20, 2024
08a2467
remove profilePicture from model
muzanella11 Aug 20, 2024
82175fd
get profile picture from storage
muzanella11 Aug 20, 2024
8408586
add default image
muzanella11 Aug 20, 2024
e584a68
update storage rules
muzanella11 Aug 20, 2024
1245d01
restrict accept file dropzone
muzanella11 Aug 21, 2024
0117ef6
add validation is file accepted when drop event
muzanella11 Aug 21, 2024
aa3d79b
fix delete avatar changes
muzanella11 Aug 21, 2024
666d981
add crop image component
muzanella11 Aug 21, 2024
01edec9
fix crop image wrong output crop
muzanella11 Aug 21, 2024
11ab4f4
crop image in modal component
muzanella11 Aug 21, 2024
b82b286
make it more consistent
muzanella11 Aug 22, 2024
1308761
fix modal overlay
muzanella11 Aug 22, 2024
dfd4ec9
fix modal action in mobile screen
muzanella11 Aug 22, 2024
d158ff5
fix cant select same file to crop after close crop image modal
muzanella11 Aug 22, 2024
cbbd647
make it more consistent
muzanella11 Aug 22, 2024
326066a
add disableOverlayClose to make user focus with modal
muzanella11 Aug 22, 2024
ee558b7
apply crop image
muzanella11 Aug 22, 2024
d43122b
add settings page documentation comment
muzanella11 Aug 22, 2024
3c1f145
update comment
muzanella11 Aug 22, 2024
525be67
optimizing code
muzanella11 Aug 22, 2024
e8673e1
refactor firebase storage hook and make it more consistent
muzanella11 Aug 22, 2024
1e9dc60
make it more better
muzanella11 Aug 22, 2024
93657b6
update fileUpload utils
muzanella11 Aug 22, 2024
94cbbcc
refactor modal component
muzanella11 Aug 22, 2024
7d73c2e
fix cant selectsame file after dropzone unmount
muzanella11 Aug 22, 2024
6a390a1
show notification
muzanella11 Aug 22, 2024
2c47e08
remove console
muzanella11 Aug 22, 2024
e9fc4bf
dont know why width and height in next/image required
muzanella11 Aug 22, 2024
81bd6eb
fix lint error
muzanella11 Aug 22, 2024
31cd4b4
fix lint error
muzanella11 Aug 22, 2024
7b7704c
fix error
muzanella11 Aug 22, 2024
7eecea6
Merge branch 'milestone/9-manage-user-picture' into issue/405-move-pr…
muzanella11 Aug 23, 2024
e97a0c2
remove unused comment
muzanella11 Aug 23, 2024
5fec8eb
remove unused
muzanella11 Aug 23, 2024
83042ba
Merge branch 'milestone/9-manage-user-picture' into issue/405-move-pr…
muzanella11 Aug 29, 2024
159ed55
fix error lint
muzanella11 Aug 29, 2024
1b2d797
fix another error
muzanella11 Aug 29, 2024
9b7446c
implement new shared file
muzanella11 Aug 29, 2024
aa7a33a
fix build error
muzanella11 Aug 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions functions/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"compileOnSave": true,
"include": [
"src",
],
"include": ["src"],
"compilerOptions": {
"module": "commonjs",
"noImplicitReturns": true,
Expand All @@ -14,12 +12,8 @@
"esModuleInterop": true,
"noUnusedLocals": true,
"paths": {
"@/*": [
"./src/*"
],
"tanam-shared/*": [
"../shared/src/*"
]
"@/*": ["./src/*"],
"tanam-shared/*": ["../shared/src/*"]
}
}
}
15 changes: 12 additions & 3 deletions hosting/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions hosting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"react": "^18.3.1",
"react-apexcharts": "^1.4.1",
"react-dom": "^18.3.1",
"react-image-crop": "^11.0.6",
"tanam-shared": "file:../shared",
"zod": "^3.23.8"
},
Expand Down
Binary file added hosting/public/images/no-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading