lnNgyn1 / PeriodInsertBundle

A Kimai plugin which generates entries for a given time-period.
MIT License
2 stars 0 forks source link

Missing weekdays and time periods #1

Closed idemus closed 5 months ago

idemus commented 5 months ago

Hi, I'm very glad that the period-Insert plugin is available again for Kimai 2.0. But I'm missing the option to select specific weekdays and a specific time period for the mass creation. E.g. I want to insert from 1.1. - 31.1. every Monday and Wednesday the time slice from 8 am to 11:30 am.

Would it be possible to adjust this?

Best regards Klaus

lnNgyn1 commented 5 months ago

Hi, thanks for opening this issue! The original plugin did not have those features, so this would be a new addition. It would probably be best to make a new plugin for this. I think your suggestion would be possible in that you could select multiple days rather than a range. I'd have to make a new data type in Kimai for this. For now, I can add the time slice component to this existing plugin if that helps. Would that be okay?

idemus commented 5 months ago

Hi, I've had the former plugin. Here are some screenshots how it was realized. It was quite good. Screenshot_20240130_201257_Microsoft 365 (Office) Screenshot_20240130_201322_Microsoft 365 (Office)

lnNgyn1 commented 5 months ago

Okay, I see! My company removed that feature from the plugin, but I should be able to add it back again. I'll try to update it by the end of this week!

lnNgyn1 commented 5 months ago

Okay, I updated the plugin to select specific days for a specified time period. I am working on adding the begin field. I'll let you know when I've finished adding that component.

lnNgyn1 commented 5 months ago

@idemus I've updated the plugin to select specific days for a time period and added the begin time field. Let me know if you have any problems or suggestions!

idemus commented 5 months ago

Just installed. It works perfect. Thank for your adjustment and the fast implementation! :)