Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

sultanmyrza
Copy link
Contributor

@sultanmyrza sultanmyrza commented Apr 4, 2022

┆Issue is synchronized with this Asana task by Unito
┆Created By: Tammy Yang

@sultanmyrza
Copy link
Contributor Author

Current implementation looks like this (demo).
The current, implementation has 2 Issues!

  1. (Not reactive) With the current implementation users always need to refresh the page to see if the caption icon is updated.
  2. (Not optimal) for every item I call diaBackendAssetRepository.fetchByProof$ to get DiaBackendAsset and then I get the caption aka map(asset => asset.caption !== '')

Is there a better way to get a caption for capture?

Copy link
Contributor

@shc261392 shc261392 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the current approach is acceptable so I'll accept this pull request. We can optimize it further in the future.

@shc261392 shc261392 merged commit 9f1b99c into numbersprotocol:develop Apr 14, 2022
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.

2 participants