ppresume / community

Discussions, feedbacks, roadmaps, community.
59 stars 3 forks source link

bug: debounced update failed to work, lead to batch of errors when update #19

Closed xiaohanyu closed 11 months ago

xiaohanyu commented 11 months ago

Description

Debounce save request failed to work which lead to bunch of saving request send at the same time and lead to backend failure.

To Reproduce

Steps to reproduce the behavior:

  1. Go to a resume form page
  2. Type in some characters (let's say you typed 4 characters here)
  3. wait for a while

Actual Behavior

Browser will report a list of errors

Expected Behavior

The newly typed characters should be save in one request and browser should not report errors

[Optional] Screenshots

If applicable, add screenshots to help explain your problem.

Desktop

https://github.com/ppresume/community/assets/1164623/73da18af-ad0c-4fe7-9455-23467fa8f4b4

Smartphone

NA

Additional Context

This is a regression bug caused by https://github.com/ppresume/community/issues/14.

xiaohanyu commented 11 months ago

Issue fixed.

Made a stupid mistake in last refactor, which lead to this regression bug.