Repository navigation
Schedule picker: a weekly time-block editor (demo + source) #2852
Unanswered
duemti
asked this question in
Feature Requests
Replies: 1 comment
|
fluxui is moving very slow for this day and age... |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi! I needed a way to edit a recurring weekly schedule (blocks of time per weekday), and none of the existing Flux components covered it, so I built one on top of Flux and Alpine. It's modelled on the "Recurring Schedule" editor in Ubiquiti's UniFi Protect.
Live demo, API and full source: https://claude.ai/artifact/ETTDkmNjXcp3kbffSwz76N
The value is a plain list:
[{ "day": "monday", "start": "09:00", "end": "17:00" }, …].endcan be"24:00".What it does:
stepminutes.wire:model.livesends one request per change.Typical uses are opening hours, staff shifts, access windows, quiet hours and recording schedules.
I know Flux's components are built as
ui-*web elements, so I don't expect this to be merged as-is. I'm offering it as a working reference in case it's a fit for Flux. I'm happy to adjust the API or behaviour if you have opinions.All reactions