Constraint Suggestion – Extension of “Pair of Mutually Exclusive half days

Started by YOUSSEF HOUIET, August 03, 2025, 06:33:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Liviu Lalescu


Vũ Ngọc Thành

It would be nice to build constraints that apply to group ID: id=1, id=2, id=10,....

YOUSSEF HOUIET

Do you mean that the constraint should be more general and apply to activities, with the activities being selected by filtering based on teacher, students, subject, or activity tag?



Liviu Lalescu


Liviu Lalescu

Vu Ngoc, I began it, and I am confident that it will work. Please stay tuned for a test version. I hope I can do it the latest in 8 hours from now (I think tonight 21 Romania time should be ready, the latest). But it might take more, please excuse me if so.

Liviu Lalescu

The code is done. I need to intensively test and check. I will let you know.

Liviu Lalescu


YOUSSEF HOUIET

Hi liviu
I tested the new constraint,
and it works well, producing the expected results.
I tried it on teachers' activities, students, activity tags, and subjects, and no issues appeared.
I also tested leaving one of the interface components empty — the alert messages worked correctly.
I further tested modifying the constraint, and no problems occurred.


Liviu Lalescu


Liviu Lalescu

I added a new snapshot, minor things. Now I allow a single activity in the new constraints.