Skip to content

Refactor : Optimise and Resolve UI Hang Issue on Admin Skip Button #39

@khushijoshi1234

Description

@khushijoshi1234

🧾 User Story

As an admin conducting a quiz,
I want the "Skip" button to function reliably during live sessions. Currently, sometimes it gets hung, so please try to optimise the backend logic
so that I can manage the quiz flow smoothly without interruptions.


✅ Acceptance Criteria

Given: I am hosting a live quiz session as an admin
When: I click the "Skip" button to move to the next question smoothly
Then: The question should transition instantly without requiring a page refresh

Tasks:

  • Ensure the Skip button is consistently responsive for the admin
  • Fix any issues related to:
    • Improper state management
    • Event listener leaks
    • Unintended component re-renders
  • Ensure the quiz session continues smoothly even with rapid skip actions

Reference :

  • As shown in this image, you can see :
Image

Testing Criteria

Test the fix under the following scenarios:

  • With single and multiple participants
  • Across major browsers (Chrome, Firefox, Edge, etc.)
  • Under varying network speeds
  • With rapid consecutive skips (stress testing)

Sprint Ready Checklist

    • Acceptance criteria defined
    • Team understands acceptance criteria
    • Solution approach or steps defined
    • Acceptance criteria are verifiable/testable

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestgoPull requests that update go code

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions