Logic and operations for recurring events #108
Closed
intelagense
started this conversation in
General
Replies: 2 comments
-
What if we just set the end date to automatically be 3 months after the start date? Then just render everything with an active date? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Events that are recurring will be embedded as an array of objects in each containing document in the database. I will update this in the whiteboard discussion #9 and it is linked to issue #126 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to get the appropriate data into the current calendar view quickly and without downloading and processing the entire database
What do you think about using MongoDB methods against
startDate
andendDate
key values to request the data for the current calendar view? Then as the user scrolls through the months the additional data will be requested and added to a local object to update the calendar view (+- a few months in both directions for speed.)I am roughly estimating that we can fit about 100-150 events with descriptions in under 100Kb of request data with the current schema setup.
We can use Date libraries to render the data to the views. (I am thinking this will be done client-side from our previous discussions.)
Not yet sure how to implement this yet but here is some pseudocode to start from.
Step 4 is actually the hardest and we may not need steps 1-3 for the MVP.
Let me know if this all sounds reasonable so far. 🙏
Beta Was this translation helpful? Give feedback.
All reactions