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

Slots count and IP rendering #9790

Closed
rajku-dev opened this issue Jan 6, 2025 · 7 comments · Fixed by #9799
Closed

Slots count and IP rendering #9790

rajku-dev opened this issue Jan 6, 2025 · 7 comments · Fixed by #9799
Assignees

Comments

@rajku-dev
Copy link
Contributor

rajku-dev commented Jan 6, 2025

Describe the Bug

  • 13 Feb there is slots available in Calendar but also showing No slots available on right.
  • Total IP rounds doesn't sum up to to the number displayed on Calendar

Click here to reproduce

Image

Image

@rajku-dev
Copy link
Contributor Author

I would like to fix this.

@rajku-dev rajku-dev changed the title Slots count and rendering error Slots count and rendering Jan 6, 2025
@rajku-dev rajku-dev changed the title Slots count and rendering Slots count and IP rendering Jan 6, 2025
@bodhish
Copy link
Member

bodhish commented Jan 6, 2025

How would you fix it @rajku-dev

@rajku-dev
Copy link
Contributor Author

rajku-dev commented Jan 6, 2025

How would you fix it @rajku-dev

actually i just checked and realized this is a backend related error.

Image

@rajku-dev
Copy link
Contributor Author

rajku-dev commented Jan 6, 2025

How would you fix it @rajku-dev

since data for each day is consistent,
if i still had to solve this, maybe prefetch the correct data for each day and calculate number of slots for each day and assign it to calendar.
But that is like hard-coding the logic, i hope backend fixes it.

@rithviknishad
Copy link
Member

Looks like something to do with timezone ig... availability calendar doesn't show schedule on 13th feb.

Image

@rithviknishad
Copy link
Member

Assigning it to myself for further debugging. Will free this up for contribution if it's something that can be done in the frontend itself easily.

@rithviknishad rithviknishad self-assigned this Jan 6, 2025
@rithviknishad
Copy link
Member

Note to myself: prevent token slot creation if it's an Open schedule so that heatmap / get slots for day doesn't report it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants