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

auto-add Day Break every 8h+ #192

Open
timmwille opened this issue Jan 22, 2024 · 5 comments
Open

auto-add Day Break every 8h+ #192

timmwille opened this issue Jan 22, 2024 · 5 comments
Labels
bug Something isn't working prio1 waiting-for-input

Comments

@timmwille
Copy link
Member

this feature was in place but caused a bug to not be able to delete the last day break in case one wanted a longer training day.

this will need a bit of coding, maybe you can elaborate on this one @saisilinus

@saisilinus
Copy link
Collaborator

In the initial implementation, a daybreak was added automatically everytime the clock time went past 5pm. This happened on every update to the configurator which includes deleting or moving the daybreaks. We need a better logic for auto-adding daybreaks presumably one that allows users to:

  • Auto-add a daybreak after a given period
  • Modify the daybreak including moving and deleting

@timmwille
Copy link
Member Author

I think the clock time is not so relevant it is more the 8h+ timeframe, after wich a training is kind of over due, but on the other hand a training unit can also come in as a "Time Slot" so we should consider a button/feature to add auto-daybreaks with a preset duration by the user maybe?

@saisilinus
Copy link
Collaborator

Sure. A button could work. So the daybreaks are only added after a user clicks on the button. This will avoid the issue of daybreaks being added automatically even after deletion.

@timmwille
Copy link
Member Author

if we add buttons, we might want to think about other feature buttons too

  • auto-day break
  • switch time view (day schedule with clock time vs. time blocks with XhYmin) (not sure how to handle day breaks here)
  • batch add selected modules via button
  • reset button

could all be placed here on the right or left next to the selection panel:

grafik

@saisilinus
Copy link
Collaborator

Sure. I've also been thinking about the batch add selected modules button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working prio1 waiting-for-input
Projects
None yet
Development

No branches or pull requests

2 participants