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

Offline checkin feature for a smooth registration workflow during internet outage at events. #151

Closed
wants to merge 172 commits into from

Conversation

vidya-ram
Copy link
Member

Workflow:

  1. When a participant is checked-in, the participant id is added to a checkin queue which is stored in localStorage. Loading and abort indicators are displayed for this participant.
  2. Every 8 seconds items from check-in queue and cancel check-in queue are read and ajax post is send to the server. The participant ids are removed from queue on successful post. Same is done for cancel check-in queue.
  3. Every one minute, participants data is requested from the server and UI is refreshed by ractive. Check-in status of participant ids in the queue(stored in localStorage) are compared with data received from the server , if their status have already been updated (in case of multiple check-in counters) then their are removed from the queue. All participant ids remaining in the queue will have the loading indicators.
  4. On aborting a check-in, if the participant id is present in check-in queue then it is removed from the queue. If participant id is not present in the check-in queue it implies check-in has already been posted to the server, so the participant id is added to the cancel check-in queue.

vidya-ram and others added 30 commits November 16, 2015 17:04
…w after successful ajax get of participants list.
@vidya-ram vidya-ram closed this May 10, 2017
jace added a commit that referenced this pull request Apr 6, 2020
The Members team was introduced in #28, but has never gained traction, so is being deleted to aid transition to the direct membership model presented in #151, #118 and #232. The final switch to direct org membership will happen elsewhere, in #401.
vidya-ram pushed a commit that referenced this pull request Nov 23, 2021
The Members team was introduced in #28, but has never gained traction, so is being deleted to aid transition to the direct membership model presented in #151, #118 and #232. The final switch to direct org membership will happen elsewhere, in #401.
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.

6 participants