-
Notifications
You must be signed in to change notification settings - Fork 63
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: added draft functionality for comment and responses #727
Conversation
9330fcf
to
bc30a62
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #727 +/- ##
==========================================
+ Coverage 92.88% 93.16% +0.28%
==========================================
Files 160 160
Lines 3329 3396 +67
Branches 888 917 +29
==========================================
+ Hits 3092 3164 +72
+ Misses 219 214 -5
Partials 18 18 ☔ View full report in Codecov by Sentry. |
7ac7115
to
fe11e53
Compare
42a2c94
to
6ebb89b
Compare
6ebb89b
to
0e6f9a5
Compare
src/discussions/post-comments/comments/comment/CommentEditor.jsx
Outdated
Show resolved
Hide resolved
src/discussions/post-comments/comments/comment/CommentEditor.jsx
Outdated
Show resolved
Hide resolved
src/discussions/post-comments/comments/comment/CommentEditor.jsx
Outdated
Show resolved
Hide resolved
src/discussions/post-comments/comments/comment/CommentEditor.jsx
Outdated
Show resolved
Hide resolved
src/discussions/post-comments/comments/comment/CommentEditor.jsx
Outdated
Show resolved
Hide resolved
src/discussions/post-comments/comments/comment/CommentEditor.jsx
Outdated
Show resolved
Hide resolved
ab6e381
to
eb97c65
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.
Please do some refactoring in test cases.
INF-1444
Description
Learners using the discussion board have faced a frustrating issue: losing their work when switching tabs and returning to the post. This can be especially disheartening for those writing lengthy comments or responses. The issue occurs specifically while writing comments or responses on posts.
Solution
Draft Feature: Offering a draft functionality where users can save unfinished posts and return to them later. The draft only be saved on the frontend and are lost on page reload.
Screenshots/sandbox (optional):
https://www.loom.com/share/fa0007a967ea406f89835409009dd3b1?sid=72cdf8c3-2e9f-4816-ba62-d7b991b5872b
Merge Checklist
Post-merge Checklist