FET Forum

FET Development => Suggestions => Topic started by: infoo_ on March 01, 2025, 08:54:17 PM

Title: Move Activities Up or Down
Post by: infoo_ on March 01, 2025, 08:54:17 PM
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
Title: Re: Move Activities Up or Down
Post by: Liviu Lalescu on March 01, 2025, 09:01:57 PM
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"?
Title: Re: Move Activities Up or Down
Post by: infoo_ on March 01, 2025, 09:13:05 PM
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
Title: Re: Move Activities Up or Down
Post by: Liviu Lalescu on March 01, 2025, 09:17:42 PM
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.
Title: Re: Move Activities Up or Down
Post by: infoo_ on March 01, 2025, 09:20:32 PM
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:

Up-Down-Activities.png
Title: Re: Move Activities Up or Down
Post by: Liviu Lalescu on March 01, 2025, 09:27:17 PM
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.
Title: Re: Move Activities Up or Down
Post by: infoo_ on March 01, 2025, 09:29:06 PM
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!
Title: Re: Move Activities Up or Down
Post by: Liviu Lalescu on March 01, 2025, 09:46:16 PM
You are welcome!

Also, all the filters should be deactivated (Teacher, Students, Subject, Activity tag, and Filter).
Title: Re: Move Activities Up or Down
Post by: infoo_ on March 01, 2025, 10:22:18 PM
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