-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Multiple proof upload page #983
Comments
@serpico I just deployed #1043 in staging, if you want to test it out ! One big caveat I think, is that it doesn't check each image exif if they are indeed from the same date. |
I gave it a first try here are a few thoughts/feedback :
Q : In case it works and X images are selected and validated in the file manager window should we have an equal number of X of "zoomed preview" images appearing here, like "stacked" ?
I'll wait for your answer/advice before going any further |
Thanks for the feedback ! |
ok @serpico i did a quick fix ! the code isn't pretty, but it should work now 🙏 |
edit : Ok I got it !!! CTRL + click to select several images in the file manager window after pressing one of the "image-step" ( take picture/gallery/recent ) buttons - IMHO we need something ( an explainer, a pop up...) that says " you're about to upload only 1 image, if you want to upload more than one go back to .... and select several with CTRL + click..." There must be something that eludes me here somehow. I ( think ) do all the things required ( type, image, location, etc...) then the only button I have ( at the bottom ) is Upload, I click it. I type up the EAN, the price And I press Upload On the following page I have the same picture ( of course, I wasn't able to upload any other ), but the price field is reset/virginized although the price I just added appears at the top of the right part of the screen as if I could enter another product and another price for the same picture ? This feels more like "Upload multiples prices from the same picture" rather than "Multiple proof upload" don't it ? TLDR: where is the button to upload another proof image, X other proofs image ? |
Wait you're not on the right page 😅 I'm talking about a new-dedicated-experiment page. Actually it shouldn't be possible to select multiple images elsewhere... 🤔 |
I think I was on the right page |
Todo
|
Is it possible that all the images get loaded into ram in one go or something? also small fyi: I don't know if you're using the gps coordinates of the images that are uploaded, but if you do: do know that CERTAIN android phones seem to strip the gps coordinates exif data from images when uploading them through a browser, regardless of location permissions of the browser or the website. BUT this can be circumvented if you let it open a 'file picker' instead of 'an image picker' |
The code loops on each image, compresses them into .webp, and sends them to the server. My photos are usually 10MB big, it's a bit slow but I didn't actually measure the split between the compression & the actual uploading to the server. The photos displayed before upload are the raw/full-size so the browser might have a hard time at that moment ? |
I don't know what's going on, but the memory spiking is def happening because of the upload. (ignore my extremely high cpu usage, my pc is doing other things in the backgrounds atm. but it's unrelated, as i could repro this as well when my cpu usage was normal) Kooha-2024-12-06-17-59-45.webmhere are my images: https://drive.proton.me/urls/PT8X329AWW#CBGZzMfgoh4k |
Linked to #1047 |
For the 2nd step ( where the proofs appear oversized - which is good, it makes the price easier to distinguish ) would it be an improvement to have a simple EAN search box ( button or press enter to validate ) on the right side for each proof ? I intentionally de-zoomed the browser so the screenshot would show several proofs - but the rationale is the same at 100% zoom. There's a lot of empty space on the right of the screen and it feels like it will be faster to input all the prices at this stage rather than upload only then go to the dashboard > Proofs and enter each and every price individually. |
From the discussions we're having with the rest of the team, and the speed we're going with integrating assisted contribution, we are rather focused at having a seperation between proof upload & price upload.
So short answer: the multiple proof upload page will stay as is (except for the todo i listed above !!) |
Thanks for the clarification |
Story
Following #639 where we added a dedicated "single proof upload" page.
Some users want to upload multiple proofs at the same time (proofs with the same type, location, date & currency = Price tags)
How
A dedicated page.
Loop on all selected images and upload them one by one.
ProofImageInputRow < ProofInputRow < AddPriceMultiple / AddPriceSingle / ProofAddSingle / (ProofAddMultiple)
The text was updated successfully, but these errors were encountered: