FET Forum

FET Development => Suggestions => Topic started by: Alami mohammed on August 29, 2025, 04:52:46 AM

Title: New Keyboard Shortcuts in FET
Post by: Alami mohammed on August 29, 2025, 04:52:46 AM
Hello,

First, thank you for the great work on FET. The software is very useful and efficient.

Currently, we have the Ctrl+G shortcut for generating an individual timetable, which is very convenient.
I would like to suggest adding two more shortcuts:

Ctrl+H → for generating multiple timetables

Delete (Supp) key → for deleting selected items


These shortcuts would make the workflow faster and more user-friendly.

Thank you for considering this improvement.

Best regards,
[Alami Mohammed]
Title: Re: New Keyboard Shortcuts in FET
Post by: Liviu Lalescu on August 29, 2025, 06:54:06 AM
Hello!

Thank you! Delete is more complicated, but I added Ctrl+H.
Title: Re: New Keyboard Shortcuts in FET
Post by: Alami mohammed on August 29, 2025, 11:05:27 AM
Technical Suggestion for Implementing Delete (Supp) Key

Hello Mr. Liviu,

I was thinking about a possible way to make the Delete (Supp) key easier to implement in FET.

Maybe it could be handled in the following way:

1. When the user presses the Delete key, FET first checks if any item is currently selected (activity, teacher, student, constraint, etc.).


2. If something is selected, FET shows a small confirmation dialog like: "Do you really want to delete this item?"

This step would prevent accidental deletions.



3. If the user confirms, FET then calls the same function that is used when clicking the "Remove" button in the interface.



This way, the Delete key would just act as a shortcut to trigger the existing remove function, without changing the underlying logic.

Do you think this approach could make the implementation simpler?
Title: Re: New Keyboard Shortcuts in FET
Post by: Alami mohammed on August 29, 2025, 11:06:18 AM
Thank you very much for adding Ctrl+H to the TODO list, I really appreciate it!
I understand that the Delete key may be more complicated.

I'd also like to suggest some additional shortcuts for quickly showing the horizontal timetables:

Ctrl+Shift+T → Teachers' timetables (days as rows)

Ctrl+Shift+S → Students' timetables (days as rows)

Ctrl+Shift+R → Rooms' timetables (days as rows)


These would make it much faster to switch between the different horizontal views.

Best regards,
Alami Mohammed
Title: Re: New Keyboard Shortcuts in FET
Post by: Liviu Lalescu on August 29, 2025, 11:37:04 AM
I meant I added Ctrl+H as Generate multiple in FET, and it works! :)

I will also add your suggestions with Ctrl+Shift+(T,S,R) in the TODO.

I will add your details with Delete in the TODO and I will begin investigating if it is possible now.
Title: Re: New Keyboard Shortcuts in FET
Post by: Liviu Lalescu on August 29, 2025, 02:38:06 PM
Hello, Mr. Alami Mohammed,

I did "Delete" key and also "+" key (Adding/inserting) in the main dialogs. There is a snapshot: https://lalescu.ro/liviu/fet/download/test/ (or you can see the Snapshots board for the snapshot information). Thank you! Please test and let me know. (also Ctrl+H = Generate multiple.)

Note: when I add in the TODO, it is for the moment too complicated/difficult/impossible. I am examining the TODO list/file from time to time, and think about the suggestions, but there is no guarantee it will be tried/made soon or ever. I saw your post on Facebook that your suggestions are in the TODO and will be added in the next version, but unfortunately this is not correct. I apologize, and I hope you understand.

Do you agree with my idea to also add "+" for Adding?
Title: Re: New Keyboard Shortcuts in FET
Post by: Liviu Lalescu on August 30, 2025, 05:19:03 PM
I apologize, Mr. Alami Mohammed, but only Ctrl+H will be kept as Generate multiple. I reverted the Delete key's functionality, at the recommendation of a friend. The code is there, but commented/not active. I will think for the future. My friend told me that adding keyboard shortcuts might be hazardous, as users are accustomed that only the mouse will remove/add/etc., and letters are for inputting the names.