Move Activities Up or Down

Started by infoo_, March 01, 2025, 08:54:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

infoo_

Hello

I would like to suggest two buttons for activities dialog (maybe Modify):

- One button for moving an activity up;
- One button for moving an activity down;

This is present in Time constraints dialog and it is nice, but not in activities.

Thank you

Liviu Lalescu

Hello,

I think other users suggested this (or Sort activities). However:

1) Most important reason is that FET relies on increasing and adjacent ids for the activities.

2) I prefer to have ids ordered, and also the first component is not indented, while the next are indented.

But I will write down your suggestion.

What do you mean by "maybe Modify"?

infoo_

Hello

Quote from: Liviu Lalescu on March 01, 2025, 09:01:57 PM1) Most important reason is that FET relies on increasing and adjacent ids for the activities.

The moving up/down feature would impact only before generation, then we could generate with the activities changed its position. Why is it important for FET not to move activities if the time constraints can also be moved?

Quote from: Liviu Lalescu on March 01, 2025, 09:01:57 PM2) I prefer to have ids ordered, and also the first component is not indented, while the next are indented.

I thought ids played an important role while generating timetables. Do they also play a role before generation?

Quote from: Liviu Lalescu on March 01, 2025, 09:01:57 PMBut I will write down your suggestion.

Thank you :)

Quote from: Liviu Lalescu on March 01, 2025, 09:01:57 PMWhat do you mean by "maybe Modify"?

I meant the "Move Up" and "Move Down" buttons can be present in both Activities and Modify subactivities dialogs

Liviu Lalescu

The ids do not play a role in generation, but in certain places (like deciding if an activity is split, or if a subactivity is part of a larger activity) we need increasing and adjacent ids.

infoo_

Quote from: Liviu Lalescu on March 01, 2025, 09:17:42 PMThe ids do not play a role in generation, but in certain places (like deciding if an activity is split, or if a subactivity is part of a larger activity) we need increasing and adjacent ids.


Oh, I see your point

In that case, moving the entire splitted activity would be ok. I think users don't want to change subactivities order, but between activities

If I was not clear, I propose these buttons:

You cannot view this attachment.

Liviu Lalescu

Oh, I understood your suggestion.

I will write also this suggestion (move entire split activity). It might be working. However, there might be other portions of the program assuming increasing ids.

infoo_

Quote from: Liviu Lalescu on March 01, 2025, 09:27:17 PMOh, I understood your suggestion.

I will write also this suggestion (move entire split activity). It might be working. However, there might be other portions of the program assuming increasing ids.


Thank you!

Liviu Lalescu

You are welcome!

Also, all the filters should be deactivated (Teacher, Students, Subject, Activity tag, and Filter).

infoo_

Quote from: Liviu Lalescu on March 01, 2025, 09:46:16 PMAlso, all the filters should be deactivated (Teacher, Students, Subject, Activity tag, and Filter).


Yes, like time constraints