Skip to content
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: auto save post #432

Merged
merged 5 commits into from
Feb 11, 2024
Merged

Conversation

Nirajn2311
Copy link
Member

@Nirajn2311 Nirajn2311 commented Feb 7, 2024

Checklist:

Closes #390

So this is how the auto save feature will work after the user modifies a post:

  • The handler will wait for 3 seconds to save the post as long as the user doesn't modify the post in those 3 seconds
  • If the handler has not been called in over 5 seconds, for example the user is typing a paragraph continuously, then the post will automatically be saved at 5 seconds.

Copy link

socket-security bot commented Feb 7, 2024

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/use-debounce@10.0.0 Transitive: environment +3 442 kB xnimorz

View full report↗︎

@Nirajn2311 Nirajn2311 marked this pull request as ready for review February 8, 2024 17:45
@Nirajn2311 Nirajn2311 requested a review from a team as a code owner February 8, 2024 17:45
Co-authored-by: yoko <25644062+sidemt@users.noreply.github.com>
@Nirajn2311 Nirajn2311 requested a review from sidemt February 10, 2024 18:55
Copy link
Member

@sidemt sidemt left a comment

Choose a reason for hiding this comment

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

LGTM 👍 Thank you!

@sidemt sidemt enabled auto-merge (squash) February 11, 2024 15:22
@sidemt sidemt merged commit 511ccad into freeCodeCamp:main Feb 11, 2024
7 checks passed
@Nirajn2311 Nirajn2311 deleted the feat/auto-save-post branch February 11, 2024 15:32
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.

Auto save draft
2 participants