Skip to content

Gallery image upload#56

Open
zoranmesec wants to merge 5 commits intoplezanje-net:mainfrom
zoranmesec:gallery-image-upload
Open

Gallery image upload#56
zoranmesec wants to merge 5 commits intoplezanje-net:mainfrom
zoranmesec:gallery-image-upload

Conversation

@zoranmesec
Copy link
Copy Markdown

Created image upload functionality in crag gallery:

  • new image upload component (for logged in users only)
  • added image upload component to crag gallery page
  • progress bar standalone component
  • sandbox page for progress bar

Comment thread src/components/image-upload/image-upload.tsx Outdated
Comment thread src/components/image-upload/image-upload.tsx
Comment thread src/components/image-upload/image-upload.tsx Outdated
Comment thread src/components/image-upload/image-upload.tsx Outdated
Comment thread package.json Outdated
Comment thread src/components/image-upload/image-upload.tsx Outdated
Comment thread src/components/image-upload/server-actions/create-image-action.tsx Outdated
@salamca
Copy link
Copy Markdown
Contributor

salamca commented Nov 16, 2024

maybe have one state variable for each field, and construct form data only before posting to api?

@salamca
Copy link
Copy Markdown
Contributor

salamca commented Nov 17, 2024

multiple progress bar sizes will probably not be needed. I suggest we keep only one that is designed in figma to avoid confusion and possible misuse in the future. if a need for another size arises will be designed later.

  • font-size iz to large
  • progress bar and percentage text is not vertically aligned

from figma:
image

@zoranmesec
Copy link
Copy Markdown
Author

#56 (comment) @salamca Progress bar font size and padding fixed.

@zoranmesec zoranmesec requested a review from demshy November 19, 2024 18:18
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.

3 participants