You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a unique index to the title is not a good practice for the following two reasons:
There is no requirement for the title to be unique in product design. Adding a unique index solely to prevent duplicate submissions is not a good practice.
Add index to long text is not a good practice as it can potentially impact insertion performance and increase database size.
I think we need to do the following:
Add a loading state to the submit button to prevent duplicate clicks during the HTTP request, which can also improve the interaction experience in weak network conditions.
Add a UUID to POST requests to filter out duplicate requests on the backend.
Creating duplicate questions by clicking repeatedly will generate multiple questions with the same title.
The text was updated successfully, but these errors were encountered: