Top Shelf Calendar -Updates & Bug Fixes

Bubble can't push updates to Apps that you already created with the Template, use the notes below to investigate if you need a fix. Future apps you create with the Template will have these fixes.

2021-06-25

Issue

  • Page: /event-editor

  • Element Workflow: Repeating Group "NEWSpecific Availability"

  • When a User adds Specific Date Ranges or Blocked Days to their schedule, the Date Ranges and Dates get saved directly on the schedule, but do not get removed after the date has past. So there are old past dates still saved on the Schedule piece of data. It does not take up a lot of space, but the past dates should be removed to keep the Schedule data lightweight / smaller in size and to keep things looking good.

Changed

  • We will add in a Weekly update to Schedule Data Types so that it removes any past dates. You can change the frequency of this if you would like to be different than 1 week (7 days)

  • Added a Backend Workflow to remove these past dates:

New API Workflow and 2 new Actions to be added. Add a Parameter to the API Workflow with the Schedule data type
The Filter applied to the Blocked Days list field
Filter applied to the Available Date Times list field
Second Action, scheduling the same workflow to run in 1 week, so that it automatically loops and stays up to date

Next we need to add a Workflow to start this weekly loop. To do this we will create the initial Schedule API Workflow when the schedule gets created to ensure all future created Schedules will have this 'Clean Up Loop' applied. To do this:

  • Go to the page /manage

  • Find the Workflow that Creates a New Event, which is the same Workflow that also creates a Schedule. Here you will add a Schedule API Workflow to run the Clean Up Loop in 1 week. It will loop because there is a Workflow within the Backend Workflow that also schedules it for the next week. This will occur continuously until the Schedule is deleted or until you cancel the Schedule API Workflow from the Bubble Editor

Showing where to add the Scheduled Workflow and the expressions to use

2021-03-19

Issue

  • Page: /calendar

  • Element Workflow: Get Day Times

  • When selecting a Date on the Calendar element to display Time Slots the Filters on the Display List action were not allowing at 12pm time slot to be included in the times.

Changed

  • Changed the the Action's Display List Filter condition to this:

2021-03-19

Issue

  • Page: /calendar

  • Element Workflow: Get Day Times

  • When selecting a Date on the Calendar element to display Time Slots the Filters on the Display List action were not allowing at 12am time slot to be included in the times.

Changed

  • Changed the the Action's Display List Filter condition to this:

Bubble does not allow a Greater Than or Equal to in this constraint, so we need to add 1 second to the Date

It was previously this:

Parent groups date is the Calendar date which is a 12am value, so greater than does not include a 12am time

2021-03-15

Issue

  • Page: /event-editor

  • The 'AirColorpicker A' element's value is not always saving a color code to the event properly and thus saves as an empty value on the event. This is an issue with the Plugin unfortunately

Changed

  • To try and prevent an empty value from being saved, we placed an Input on the page to default to the AirColor picker's value, and if for some reason the Picker is empty it defaults to the Event's current Color Code. Then in the Workflows we save the Input's value instead of the AirColor picker's value

Save the Input's value instead of the AirColor picker's value

Last updated

Was this helpful?