-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: store handwriting #21
Conversation
alexanderbira
commented
Jul 15, 2024
- Add storing and loading of canvas data (strokes and app state)
- This is done fully on the frontend by using a JSON string as the answer sent to be stored in the answer table
src/components/questionStructure/Task/variants/HandwritingTask/ViewOnlyCanvas.tsx
Outdated
Show resolved
Hide resolved
0301b3e
to
a531ff3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Higher level remark: I think in the previous PR we missed a suggestion: username
in useLiveUpdates
(and therefore in Canvas
too) is unused, and should be removed.
src/components/questionStructure/Task/variants/HandwritingTask/types.ts
Outdated
Show resolved
Hide resolved
src/components/questionStructure/Task/variants/HandwritingTask/HandwritingEditor.tsx
Outdated
Show resolved
Hide resolved
src/components/questionStructure/Task/variants/HandwritingTask/ViewOnlyCanvas.tsx
Outdated
Show resolved
Hide resolved
src/components/questionStructure/Task/variants/HandwritingTask/HandwritingEditor.tsx
Outdated
Show resolved
Hide resolved
This happens in the next MR #22 |
Co-authored-by: Alexander Biraben-Renard <[email protected]>
…/HandwritingEditor.tsx Co-authored-by: Ivan Procaccini <[email protected]>