Skip to content

Enhancement: Add Loading States and Duplicate Submission Prevention for Help Request Actions #1520

Closed

Description

@mithilP007

Describe the issue

The help/support request workflow appears to allow repeated submissions while a request is still processing.

Users can rapidly click the submit button multiple times, potentially causing:

  • duplicate support requests
  • repeated API calls
  • inconsistent UI states
  • backend processing duplication
  • accidental spam submissions

Additionally, the UI may not provide sufficient loading feedback during request processing.

To Reproduce

  1. Open the help/support form
  2. Fill in valid details
  3. Rapidly click the submit button multiple times
  4. Observe repeated requests or inconsistent UI behavior

Expected Behavior

The application should:

  • disable the submit button during processing
  • prevent duplicate submissions
  • display proper loading indicators
  • handle async failures gracefully
  • restore form state correctly after completion

Example:

if (loading) return;

setLoading(true);

Suggested Fix

Implement:

  • loading states
  • submit button disabling
  • duplicate request prevention
  • async cleanup using finally
  • retry/error handling

Optional improvements:

  • success toast notifications
  • request debounce handling
  • reusable loading button component

Impact

Fixing this improves:

  • frontend responsiveness
  • support workflow reliability
  • backend efficiency
  • UX consistency
  • accidental duplicate prevention

Labels Suggested

  • enhancement
  • frontend
  • ui-ux
  • GSSoC2026
  • good first issue

Activity

  1. mithilP007 commented on May 20, 2026

    @mithilP007
    Author

    Hi maintainers,

    I would like to work on this issue under GSSoC 2026.

    I plan to improve the help request workflow by adding proper loading states, duplicate submission prevention, and better async request handling for a smoother and more reliable user experience.

    Please assign this issue to me. Thank you!

  2. github-actions commented on May 20, 2026

    @github-actions
    Contributor

    Hello mithilP007, Thanks for opening an issue in HelpOps-Hub! 🚀

    • Please make sure to follow our Contributing Guidelines.

    • Hope you star our Repo.

    • Join our official Discord server, where we can collaborate and discuss how to make HelpOps-Hub even better and more professional.

    • Don’t forget to follow us on LinkedIn!

  3. github-actions commented on Jun 21, 2026

    @github-actions
    Contributor

    This issue has been automatically closed because it has been inactive for more than 30 days. If you believe this is still relevant, feel free to reopen it or create a new one. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions