-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Decoupling CardViewer and card content #8243
Comments
@Arthur-Milchior do you have any suggestions or ideas for its implementation in mind already or it's a free path to explore? |
If you're not already working on something else, I'll happy give you this task. I do not have anything specific in mind.
and the reviewer or abstract flash card viewer can take this and display it's content without needing to access database at all. |
@Arthur-Milchior I have other issues but and I raised a PR for them, I can work on this now if you want. |
Then please go for it. |
Hello 👋, this issue has been opened for more than 2 months with no activity on it. If the issue is still here, please keep in mind that we need community support and help to fix it! Just comment something like still searching for solutions and if you found one, please open a pull request! You have 7 days until this gets closed automatically |
Any news @IAmJaishree ? |
@Arthur-Milchior how do you feel about this 2+ years on? Do you feel we should still keep it open? |
I'm currently rewriting the reviewer (#14302), which include this. |
Currently, the
AbstractFlashCardViewer
is very coupled with actual card content. For examplemCardContent
contains the question/answer text to be displayed as html,mSoundPlayer
contains all sounds which are going to be played...This mean in particular that it is currently impossible to do any work in advance, in background, since computing the list of sound is equivalent to playing it, and there is no function to compute the html content without displaying it.
At least for the code quality, decoupling a card content from the actual activity displaying the card seems useful. Hopefully, it would also be a first step toward solving #7902
The text was updated successfully, but these errors were encountered: