Skip to content

Add time component to slot's hideuntil setting - #52

Open
tezvi wants to merge 1 commit into
learnweb:masterfrom
tezvi:feature/add_time_component_to_slot_form
Open

Add time component to slot's hideuntil setting#52
tezvi wants to merge 1 commit into
learnweb:masterfrom
tezvi:feature/add_time_component_to_slot_form

Conversation

@tezvi

@tezvi tezvi commented Jan 2, 2023

Copy link
Copy Markdown

Changed hideuntil setting to include time component. This is a one liner.

Currently we are not able to be more precise when exactly a slot should be visible to students. Especially in situation with multiple slots within a same day. Students will see all slots at once at 00:00 and book them immediately. To prevent that and introduce "fair booking" a time component should be used.

@tezvi

tezvi commented Aug 20, 2023

Copy link
Copy Markdown
Author

@bostelm Any chance of merging this?

@bostelm

bostelm commented Aug 25, 2023

Copy link
Copy Markdown
Collaborator

Hello
thanks for that patch, and it's certainly easily to merge - that doesn't however mean it's necessarily desirable.
Normally teachers would fill the "hideuntil" field when creating a series of slots, not edit it in individual slots (at least I've never done so). But the "series of slots" form allows only midnight as the start time. Hence I feel I'd be creating an inconsistency here.
I think this feature needs a bit more thought.

@tezvi

tezvi commented Sep 9, 2023

Copy link
Copy Markdown
Author

Hi @bostelm!

Thanks for your feedback.

Normally teachers would fill the "hideuntil" field when creating a series of slots, not edit it in individual slots (at least I've never done so).

Well in our Moodle environment that is actually a very common case. One employee opens a series of slots with "general" parameters, another one might choose to limit a certain slot afterwards because of various reasons. Honestly I don't see a problem in having more detailed options in a single slot edit form but of course I could be wrong.

But the "series of slots" form allows only midnight as the start time.

Perhaps we should change it there as well? Are you refering to hideuntilrel form element?

After all, it seems very limited to discard a time component as midnight is not flexible enough and might not work for everyone's needs. Especially when fix is relatively easy and won't disrupt AS-IS usage.

Thanks for your time!

@tezvi tezvi closed this Sep 9, 2023
@tezvi tezvi reopened this Sep 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants