-
Notifications
You must be signed in to change notification settings - Fork 7
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
[issue] Not all assets upload via Dashboard can be seen in Capture Cam #3148
Comments
➤ Kenny Hung commented: Sam (cc Scott Yan) Could you provide the current ionic "verified" & collect tab display rules? |
➤ Sam commented: Kenny Hung, let me check. |
➤ Sam commented: Kenny Hung (cc: Scott Yan). VERIFIED TAB display logic ( capture-lite/src/app/shared/dia-backend/asset/downloading/dia-backend-downloading.service.ts Line 62 in 6fb9378
COLLECTED TAB display logic ( https://github.com/numbersprotocol/capture-lite/blob/master/src/app/shared/dia-backend/asset/dia-backend-asset-repository.service.ts#L80 ) tab:
|
➤ Kenny Hung commented: Sam (cc Sherry ChungEthan Wu) Please refer the rule the same as dashboard ([FR] Defining what assets should display in "Verified" folder and what should display in "Collected" folder ( https://app.asana.com/0/1201016280880505/1206212142922269/f ))
|
➤ Sherry Chung commented: Sam (cc Scott YanKenny Hung ) Please refer to the latest definition for both VERIFIED & COLLECTED here Comment by @olga on [FR] Defining what assets should display in "Verified" folder and what should display in "Collected" folder ( https://app.asana.com/0/0/1206212142922269/1206239195659278/f ) |
➤ Sherry Chung commented: Update: There're 2 issues on Dashboard related to this issue.
cc Bofu Chen ^^ the issue you reported in https://dt42-numbers.slack.com/archives/C0323488MEJ/p1703591061245569 ( https://dt42-numbers.slack.com/archives/C0323488MEJ/p1703591061245569 ) is already confirmed and the fixes are waiting for testing & deploy. |
➤ Sherry Chung commented: SamKenny HungScott Yan Since most of the issue related to this issues are due to Capture Dashboard. To prevent the disperse message, I'll close this issue and we leave the remain task & discussion in the following tasks below
|
➤ Sam commented: Kenny Hung in Reproduce step there are example captures that can't be seen in my capture. Which account they belong to? Because I only have access to [email protected] to test with. |
➤ Kenny Hung commented: Sam Reproduce steps
If you want to see the sample, you could try this test account([email protected] ( mailto:[email protected] )) It would help if you compared Dashboard and Ionic. |
➤ Sam commented: Kenny Hung regarding slack thread ( https://dt42-numbers.slack.com/archives/C0323488MEJ/p1704359544665969 ) you were right it's not showing. I check to get assets in VERIFIED TAB capture cam (v0.88.4) do the following
I think it need to change 2 parts.
For 2nd part I might ask senior devs to confirm. |
➤ Sam commented: Olga, I have a question. Why bafybeibv4epkptt4he3szwyqmjvos5cfk3654cmwao5ijlskqjq546yxom 's .information field might be empty? According to docs ( https://docs.captureapp.xyz/capture-sdk/initial-asset-registration ): Please note that proof session is a required part of your metadata. The hash, mimeType, and timestamp fields may be left empty, as the Capture backend will automatically calculate these values for you, as shown in the example above. I assume even if Dashboard didn't fill .proof data backend will autogenerate etc. |
➤ Sam commented: Kenny Hung, I uploaded from dashboard and can see it from capture cam. https://app.claap.io/numbers-protocol/can-not-reproduce-assets-uploaded-from-dashboard-c-O35CsUM4Uy-FVAZCQVIDv9y ( https://app.claap.io/numbers-protocol/can-not-reproduce-assets-uploaded-from-dashboard-c-O35CsUM4Uy-FVAZCQVIDv9y ) Am I doing something different? |
➤ Olga commented: Sam Our backend code never automatically fills in information. However, I can address this in the next release to align with our documentation. Unfortunately, I don't have the time to implement it in this current release. Additionally, the description mentions, proof session is a required part of your metadata, but the asset's metadata does not include the proof. |
➤ Kenny Hung commented: Sam This asset(bafybeibv4epkptt4he3szwyqmjvos5cfk3654cmwao5ijlskqjq546yxom) was deliberately created by QA because, after adjusting the rules for the verified filter, this asset should also be displayed. |
➤ Sam commented: Kenny Hung, oh I see so bafybeibv4epkptt4he3szwyqmjvos5cfk3654cmwao5ijlskqjq546yxom is to make sure old assets uploaded from dashboard before and has no information should still be shown from capture cam is my understanding correct? |
➤ Kenny Hung commented: Sam (cc Scott YanOlga) Yes, as I know in this version(0.88.4) the rule should be changed to Created (Verified) https://api.numbersprotocol.io/api/v3/assets/?offset=0&limit=100&owner= ( https://api.numbersprotocol.io/api/v3/assets/?offset=0&limit=100&owner= )<USER_EMAIL>&source_type=original Owned (Collected) https://api.numbersprotocol.io/api/v3/assets/?offset=0&limit=100&owner= ( https://api.numbersprotocol.io/api/v3/assets/?offset=0&limit=100&owner= )<USER_EMAIL>¬_source_type=original |
➤ Sam commented: Kenny Hung, already changed as mentioned ( https://app.asana.com/0/0/1206212142922263/1206278700843009/f ) before. capture cam v0.88.4
Question is what should we do with assets that uploaded before from dashboard (or other client if any) that does not have .information field. So far I see 2 options:
|
➤ Sherry Chung commented: OlgaSam (also cc Scott YanKenny Hung ) Suggestion, If we found that some of the assets registered via our service didn't follow our spec on gitbook. We should open an issue to that service. |
➤ Sherry Chung commented: Olga Also, for what Sam mentioned in the rule for Capture Cam to store remote capture (most of them are assets registered through dashboard / backend API) Comment by @sam on [issue] Not all assets upload via Dashboard can be seen in Capture Cam ( https://app.asana.com/0/0/1206212142922263/1206278700843009/f ) Can you help to check if the logic make sense or you can suggest other logic? |
➤ Sherry Chung commented: Sam OK. For the statement you mentioned "capture cam store remote capture by this rule ( capture-lite/src/app/shared/dia-backend/asset/downloading/dia-backend-downloading.service.ts Line 63 in 6fb9378
I want to know why you need to set this rule and is it reasonable. Please consult and discuss with Olga then decide if we'll keep this rule or we'll remove it. |
➤ Olga commented: Sam I'm unfamiliar with the purpose or definition of store remote capture. Could you provide a brief explanation? Sherry Chung Additionally, apart from Dashboard updating the code, I believe the backend should also update the code to automatically fill data, aligning it with our documentation in the next release. |
➤ Sherry Chung commented: Olga I think this is for Capture Cam to fetch assets registered by other Capture services (dashboard, backend) then store it and show in Capture Cam. I want to know if the extra rules are needed for some purpose. If not, probably we can also save some API calls and increase performance. |
➤ Tammy Yang commented: Sherry Chung for any issue that is related to the sync between Capture Cam and Capture Dashboard, its medium priority (i.e. please do not focus on it now). |
➤ Tammy Yang commented: Sam please drop any fix if it was not yey discussed fully and drop this issue from the milestone. |
➤ Olga commented: Sherry Chung After reviewing the logic Sammentioned ( https://app.asana.com/0/1201016280880500/1206212142922263/1206236170607481 ), I believe the purpose of storing remote capture is to retrieve assets from the backend. The original intent to filter out entries with no proof or information was because the subsequent logic depends on having proof and information. When the code was initially implemented, we didn't have Dashboard yet, and the definition was assets captured by the App. Therefore, those assets were expected to have proof. However, the definition has now changed to assets registered by the user. As a result, we need to consider and handle sources from any, such as Dashboard or third-party users. It's essential to note that there might not be proof, information, and signature since only the asset_file is required, and other fields are optional. |
➤ Sam commented: Sherry Chung, (cc: Olga, Tammy Yang). regarding Comment by @olga on [issue] Not all assets upload via Dashboard can be seen in Capture Cam ( https://app.asana.com/0/0/1206212142922263/1206284587647885/f ) Agree with Olga assets in capture app expected to have a proof. Since dashboard is also our product can we auto include proof, information signature on asset upload. By auto include I mean dashboard behind the scenes collect minimal browser info to collect information to fulfill proof etc. |
➤ Tammy Yang commented: Agreed, makes sense to me (collecting minimal info) |
User story
As a user of the Capture service, I want all uploaded assets from Dashboard can be seen in Capture Cam as well. So I can have a seamless experience manage my assets from either Capture Dashboard or Capture Cam.
Reproduce step
Below is the asset upload via dashboard by me but can't been seen in my Capture Cap
Expectation
No matter the asset is uploaded from Cam or Dashboard, it should be displayed in either "VERIFIED" or "OWNED" tab with the same logic & order.
┆Issue is synchronized with this Asana task by Unito
┆Created By: Sherry Chung
The text was updated successfully, but these errors were encountered: