FET Forum

FET Support (International) => Greek / Ελληνικά => Topic started by: g.theodoroy on February 22, 2025, 09:56:17 AM

Title: FET - edit & print
Post by: g.theodoroy on February 22, 2025, 09:56:17 AM
Καλησπέρα αγαπητοί.

Θα ήθελα να μοιραστώ μαζί σας ένα αρχείο .html

με το οποίο μπορείς να κάνεις μικρές χειροκίνητες τροποποιήσεις

και να εκτυπώσεις πρόγραμμα φτιαγμένο με το FET.

FET - edit + print (https://drive.google.com/uc?export=download&id=1fJSvDq9JIz2PIEaVxy38YjFL6mzwf7tb)







Δυνατότητες:


Ελπίζω να μας χρησιμεύσει!


------------------------------------------------


(https://drive.google.com/thumbnail?id=1xkc7G7T5UPQtK2pzMaPWRdgWoIAJRAwE&sz=w800)


------------------------------------------------

Good evening friends.


I would like to share with you a .html file

with which you can make small manual modifications

and print a schedule made with FET.


FET - edit + print (https://drive.google.com/uc?export=download&id=1fJSvDq9JIz2PIEaVxy38YjFL6mzwf7tb)







Features:




I hope it will be useful!
Title: Re: FET - edit & print
Post by: Volker Dirr on February 22, 2025, 10:48:16 AM
Nice. But how to save the file?
Title: Re: FET - edit & print
Post by: Liviu Lalescu on February 22, 2025, 11:17:53 AM
Thank you, g.theodoroy! It looks nice.

I opened the file_data_and_timetable.fet, I think this is what you mean, not the initial unlocked file. So a suggestion for you is to write there "Please input a locked (data_and_timetable) fet file" or something like that.
Title: Re: FET - edit & print
Post by: g.theodoroy on February 22, 2025, 03:57:09 PM
Thank you for your suggestions.


Truly, this effort does not mean to create from scratch a real schedule, nor to manipulate fet files.
 

It reads necessary data form already generated (locked)  "_data_and_timetable.fet" file.



It tries to provide an opportunity of manual, "on the fly", changing a schedule for one day when teacher is absent and finally print that day.


Of course FET can do all this more efficiently but also complicated

Quote from: Vangelis Karafillidis on November 20, 2023, 11:49:08 PMGenerally speaking and in most cases, FET can handle these situations. But, it depends on your dataset.

1) If you need a completely manual approach, you can try the FET-read tool by Petros Nouvakis. But, I think that FET-read works correctly only with activities involving groups or subgroups. If your activities involve years, I think it's a good idea to use other approaches.
2) If a teacher is absent for one or two days (not the whole week). If you need an automated approach, you can use FET for most cases. Open the .fet file from the fet-results, change its name (if you care about keeping your older timetables) and generate again. Then go for example to Teachers -> Time Horizontal. Click on each one of the activities of the absent teacher for the specific days that he/she is going to be absent (for example Wednesday). On the upper right part of the window the information of each activity is going to be displayed. Write down the id of each one of these activities. Then, select all the activities (and not just the activities of this teacher) of the specific day and unlock them all. Then select all the activities (and not just the activities of this teacher) of this specific day and lock them to days (100%). Then go to Data -> Subactivities, filter the activities of the specific teacher and deactivate the ones with the id you wrote down. Then use the constraints "students not available times" and abstract (make not available) the latest hours of each one of the groups that are affected by the teacher's absence. Most of the time, you should take care of constraints of the type "Min days per week" for this teacher. If "min days" = 5 (for most schools) and the teacher is absent for one day, you should modify the respective constraint for this teacher and make "min days" = 4. Then generate again.
3) If a teacher is absent for the whole week. Again you open the file from the fet-results, you change its name (in order to keep your old timetables), you generate, you go for example to Teachers -> Time horizontal, you unlock all the activities of the timetable (and not just the activities of this teacher). Then select again all the activities of the timetable and lock them to days (100%). Then go to Data -> Activities (or Subactivities) and filter the activities of this specific teacher. Select them all and deactivate them. Use the constraints "students not available times" and abstract the latest hours for each one of the student groups that are affected by the teacher's absence. You should also take care of the constraints of the type "min days per week" for this teacher, and deactivate (or delete) it. Then generate again.

In most cases the above approaches should work. By locking the activities to their respective days, you don't change drastically the timetable of your school.
You should be very careful if (for example) the absent teacher has common activities (teachings) with other teachers (multiple teachers on a single activity), so deactivating these activities is wrong. Also, if you have some types of constraints for teachers/students, it might be impossible to use this approach, unless you modify and/or deactivate these constraints.

Vangelis.

 
Title: Re: FET - edit & print
Post by: Vangelis Karafillidis on February 22, 2025, 04:41:25 PM
Καλησπέρα.

Έκανα κάποιες δοκιμές μικρής έκτασης. Συγχαρητήρια για την ιδέα και την προσπάθεια. Καταγράφω λοιπόν τις πρώτες μου εντυπώσεις.
Προσωπικά βλέπω πολύ θετικά την ιδέα για τους εξής λόγους:
1) Σε κάποιες περιπτώσεις οι αλλαγές που πρέπει να γίνουν στο ωρολόγιο είναι οφθαλμοφανείς ακόμη και με μία πρώτη ματιά. Μία χειροκίνητη λειτουργία τροποποίησης βοηθά πάρα πολύ στις περιπτώσεις αυτές. Με το FET (όπως σωστά επισημάνθηκε) είναι εφικτή η αυτοματοποιημένη τροποποίηση, αλλά όταν πρόκειται για απλές αλλαγές, οι απαιτούμενοι χειρισμοί στο FET, δεν είναι η απλούστερη και γρηγορότερη οδός.
2) Η ιδέα έχει υλοποιηθεί με τέτοιον τρόπο που μπορεί να αξιοποιηθεί σε οποιαδήποτε πλατφόρμα με μόνη απαίτηση την εφαρμογή Firefox.

Παρατηρήσεις:
1) Με μία μικρή δοκιμή που έκανα, δεν κατάφερα να κάνω undo. Εάν δεν έχει υλοποιηθεί κάτι τέτοιο, ενδεχομένως να ήταν πολύ χρήσιμο, ειδικά για τις περιπτώσεις που κάποιοι χρήστες δοκιμάσουν να κάνουν αλλαγές μέτριας έως μεγάλης έκτασης τροποποιήσεις στο ωρολόγιο.
2) Δεν έχω καταλάβει εάν είναι εφικτό να αποθηκευτεί σε νέο αρχείο η τροποποιημένη μορφή του ωρολογίου. Νομίζω πως κάτι τέτοιο θα ήταν πολύ χρήσιμο.

Βαγγέλης Καραφυλλίδης.

======



Good evening.

I did some small-scale tests. Congratulations for the idea and your efforts. Here are my first impressions.
Personally, I see the idea very positively for the following reasons:
1) In some cases, the changes that need to be made on the timetable are obvious even at first glance. A manual modification functionality helps a lot in these cases. With FET (as rightly pointed out) automated modification is possible, but when it comes to simple changes, the required manipulations in FET are not the simplest and fastest way.
2) The way the idea is implemented makes it usable on any platform with the only requirement being the Firefox application.

Notes:
1) With a small test that I did, I didn't find a some kind of "undo". If this has not been implemented, it could be very useful, especially in cases where some users try to make moderate to large-scale modifications on the timetable.
2) I have not understood if it is possible to save the modified form of the timetable in a new file. I think it would be very useful.

Vangelis Karafillidis

Title: Re: FET - edit & print
Post by: g.theodoroy on February 22, 2025, 04:51:50 PM
Η σκέψη είναι μια μικρή "on the fly" αλλαγή και εκτύπωση.

Δεν υπάρχει "undo". Κάθε φορά που κάτι "δεν βγαίνει" ξεκινάμε από την αρχή φορτώνοντας πάλι τα δεδομένα από την αρχή.

Δεν γίνεται προσπάθεια αποθήκευσης του αρχείου fet (xml).

---------------------------------------------------

The thought is a small "on the fly" edit and print

There is no "undo" capability. Every time manual edit is not successful we must start from the beginning loading the fet file again.

There is no intention to save fet file


Title: Re: FET - edit & print
Post by: Liviu Lalescu on February 22, 2025, 07:34:12 PM
@g.theodoroy ,

I had a second try and a quick look through the code. I did not know that you could do so much with just a bit of HTML code. I appreciate your work, and it is amazing. You sure know much in HTML and programming.

I report this: "availiable" is a typo, it should be "available", without the second "i".

Also, I would recommend you to write everything in English, including source code comments; after that, if you want, you can internationalize the interactive strings (I am not sure it is possible easily in HTML).

Also, I would recommend a GNU/Linux-style line end, only LF, not CR+LF. But you might prefer the Windows CR+LF.

Would you like me to offer your file in the Tools/Links section of FET? Or link to your homepage?
Title: Re: FET - edit & print
Post by: Vangelis Karafillidis on February 22, 2025, 08:02:14 PM
Καλησπέρα και πάλι.

Στο facebook έχω δημιουργήσει μία ομάδα με τίτλο «Κατάρτιση Ωρολογίων Προγραμμάτων». Εάν θέλεις μπορείς να αναρτήσεις το αρχείο σου και εκεί. Εάν δεν έχεις λογαριασμό στο facebook, μπορώ να αναρτήσω το αρχείο εγώ, εφόσον μου υποδείξεις τι ακριβώς θέλεις να γράψω στην ανάρτηση.
Πιστεύω πως η προσπάθειά σου είναι προς την κατεύθυνση που θέλουν πολλοί χρήστες του FET, γιατί με το αρχείο που δημιούργησες (και σε περιπτώσεις εύκολων τροποποιήσεων) ο χρήστης μπορεί να κάνει γρήγορα τις αλλαγές που απαιτούνται στο ωρολόγιο, αφού σχεδόν καθημερινά θα τύχει κάποιοι εκπαιδευτικοί να απουσιάζουν. Ωστόσο, εάν είναι εύκολο, καλό θα ήταν να μπορεί να αποθηκευτεί το καινούργιο ωρολόγιο, καθώς και να υλοποιηθεί κάποια μορφή undo/redo.

Βαγγέλης Καραφυλλίδης.



========


Good evening again.

I have created a group on Facebook entitled "Κατάρτιση Ωρολογίων Προγραμμάτων". If you want, you can post your file there too. If you don't have a Facebook account, I can post the file myself, as long as you tell me exactly what you want me to write in the post.
I believe that your effort is in the direction that many FET users want, because with the file you created (and in cases of easy modifications) the user can quickly make the changes required in the timetable, since almost every day some teachers will be absent. However, if it is easy, it would be good to be able to save the new timetable, as well as to implement some form of undo/redo.

Vangelis Karafillidis
Title: Re: FET - edit & print
Post by: g.theodoroy on February 23, 2025, 06:12:57 PM
Thank you Mr Lalescu.

Your work is amazing !!!




It will be grate honor for me if you offer to my file a place in the Tools/Links section of FET
Title: Re: FET - edit & print
Post by: g.theodoroy on February 23, 2025, 06:16:45 PM

Προστέθηκε λειτουργικότητα "Undo - Redo"


Added functionality "Undo - Redo"
Title: Re: FET - edit & print
Post by: Liviu Lalescu on February 23, 2025, 06:25:23 PM
Thank you! :) You can call me Liviu, if you want :)

I am working on some (FET) things right now. I will link your file after I hopefully finish. If you want, I can link to your site, or I can host your file on my server (but in this last case you need to inform me of any updates and you depend on me updating the file on my server). Please tell me your option.
Title: Re: FET - edit & print
Post by: Liviu Lalescu on February 24, 2025, 07:35:51 AM
Hello, g.theodoroy,

I just added your link. Thank you! I like your work! :)
Title: Re: FET - edit & print
Post by: g.theodoroy on February 24, 2025, 04:04:30 PM

Υλοποιήθηκε η δυνατότητα αποθήκευσης (λήψης) του τροποποιημένου αρχείου fet

Implemented ability to save (download) modified fet file
Title: Re: FET - edit & print
Post by: Liviu Lalescu on February 24, 2025, 04:18:42 PM
Nice!

I have these observations:

1) You write "Download fet" as a tool tip for saving. Maybe "Download fet file"?

2) The output fet file does not contain at the beginning the BOM (byte order mark). The FET saved file contains this BOM (0xFEFF). Might be a problem, but I am not sure.

3) The HTML code file and the output fet file do not end with a newline. I always prefer to add an endl at the end of the file, but you might know better than me about HTML.
Title: Re: FET - edit & print
Post by: g.theodoroy on February 24, 2025, 05:24:10 PM
Fixed. I think.

Please give me feedback.

Thank you.
Title: Re: FET - edit & print
Post by: Liviu Lalescu on February 24, 2025, 06:46:33 PM
Thank you, g.theodoroy!

You corrected the minor problems which I reported.

I found a possible typo in your source code:

"existingElenents" -> should be Elements, with m instead of n?

Please forgive me for something: I forgot to add your name in the THANKS and Help/About/Thanks. I just released the new version without it :( . I will add your name in the next version.
Title: Re: FET - edit & print
Post by: Liviu Lalescu on February 24, 2025, 07:08:50 PM
@g.theodoroy ,

Vangelis just sent me a file saved file by your program and we found a bug: in the constraints activity preferred starting time, you write 1..n instead of hour_name[1],..,hour_name[n]. The fet file cannot be opened by FET.
Title: Re: FET - edit & print
Post by: Liviu Lalescu on February 24, 2025, 07:25:41 PM
@g.theodoroy ,

Vangelis gave me the attached file which if you load in your program shows nothing (empty). Is this a bug?
Title: Re: FET - edit & print
Post by: g.theodoroy on February 24, 2025, 07:33:47 PM
Obviously it needs debugging


 
Title: Re: FET - edit & print
Post by: Liviu Lalescu on February 24, 2025, 07:34:49 PM
Vangelis puts your program to work/test! :)
Title: Re: FET - edit & print
Post by: g.theodoroy on February 24, 2025, 07:50:04 PM
The problem in Mytest-for-conflicts... is that in one activity there are no teachers.

if i put teachers it works

I will check it.

Of course this "program" cannot fulfill all the abilities of real FET


As for the hours in my fet files i used "numbers" for hour names.

I will check both bugs
Title: Re: FET - edit & print
Post by: Liviu Lalescu on February 24, 2025, 08:04:53 PM
Don't worry, even I make a lot of bugs.
Title: Re: FET - edit & print
Post by: g.theodoroy on February 25, 2025, 04:51:10 PM
Fixed



I don't understand something

When i open with FET the modified fet file from html some times the first generation stucks at one Activity ( one of activities that have been moved )

Title: Re: FET - edit & print
Post by: Liviu Lalescu on February 25, 2025, 04:54:35 PM
Thank you!

It is normal, because the fixed activities are scheduled first, and they are possible, but the last unscheduled activities will be impossible to place. To be able to schedule all, deactivate all the time and space constraints of type other than the locking time and space constraints: activity preferred starting time and activity preferred room.
Title: Re: FET - edit & print
Post by: Liviu Lalescu on February 25, 2025, 05:38:52 PM
Thank you!

I checked and now it behaves correct. I like the program, because it is so short and does so many things! Unfortunately, I don't understand the code, because it is so different from C++ :)

I would recommend you to maybe:

1) Write your name+contact in the source file.

2) Write the license type and conditions in the source file.

3) Write your name+contact in something like Help/About when running the file. This is maybe. See how I did in FET Help/About, but I am not sure you can do this in HTML... As you consider best.

4) Write the license type (short) when running the file. Again this is maybe.
Title: Re: FET - edit & print
Post by: Vangelis Karafillidis on February 25, 2025, 06:38:57 PM
Quote from: Liviu Lalescu on February 25, 2025, 04:54:35 PMThank you!

It is normal, because the fixed activities are scheduled first, and they are possible, but the last unscheduled activities will be impossible to place. To be able to schedule all, deactivate all the time and space constraints of type other than the locking time and space constraints: activity preferred starting time and activity preferred room.


@Liviu Lalescu and @g.theodoroy,

I think that this html file should have a specific behavior. When the user has modified an existing timetable, they need to save the new timetable as a .fet file in order to generate all the other forms (views) of the timetable. The constraints (for example teacher - min hours daily) are not needed anymore. So, since a) the user is sure about the new (modified) timetable, and b) this timetable is a temporary one (i.e. it is going to be used for the next day), only the locking time and space constraints are needed. All the other constraints could be omitted. I don't know if this easier regarding the coding part, but in my opinion if this possible (this "cleaning-up" of the constraints), it might simplify things...

Vangelis.

P.S. I am going to test the new file in more detail soon...
I really like this idea by @g.theodoroy !!!
Title: Re: FET - edit & print
Post by: Liviu Lalescu on February 25, 2025, 09:35:06 PM
@g.theodoroy ,

I had a consultation with Volker and, if you want, we could make a board for your program here on the forum, and make you moderator on this board. It will be similar to Volker's TiTiTo, StElTo, and TSC boards on the FET Tools section.

Please let me know if you would like this.
Title: Re: FET - edit & print
Post by: g.theodoroy on February 26, 2025, 05:16:40 AM
Let first decide that it is robust enough and deserves to be there.

Thank you very much.

Title: Re: FET - edit & print
Post by: Liviu Lalescu on February 26, 2025, 07:51:33 AM
Sure, sorry!
Title: Re: FET - edit & print
Post by: g.theodoroy on February 26, 2025, 05:10:16 PM
Added


Thank you Liviu for your advices!
Title: Re: FET - edit & print
Post by: Liviu Lalescu on February 26, 2025, 05:27:47 PM
You are welcome, George! :) It is good.

I found maybe a typo: "sourse" - do you mean "source"?
Title: Re: FET - edit & print
Post by: g.theodoroy on February 26, 2025, 05:34:18 PM
Fixed  :)
Title: Re: FET - edit & print
Post by: Liviu Lalescu on February 26, 2025, 05:47:09 PM
Great! I hope many will use it :)
Title: Re: FET - edit & print
Post by: g.theodoroy on February 27, 2025, 04:19:39 PM
Added functionality:

When saving the modified fet file

user confirms if he wants to disable "unnecessary constrains".


If answer is yes, all time and space constrains are set to inactive

except



Title: Re: FET - edit & print
Post by: Liviu Lalescu on February 27, 2025, 04:27:20 PM
Great! I will download your new file soon.

I have two notes:

1) Space constraints ConstraintActivityPreferredRoom are also locking space constraints.

2) Even if you deactivate the "unnecessary constraints", the file might still be impossible. The activities outside the tables in your view might not have an allowed slot. Maybe a solution is to inactivate them, but I am not sure if this is good.
Title: Re: FET - edit & print
Post by: Liviu Lalescu on February 27, 2025, 04:35:06 PM
I saw your file, and I was right, the modified timetables might still be unsolvable.

Also, you might want to keep the locking constraints (activity preferred starting time and activity preferred room) only if their weight is 100%.
Title: Re: FET - edit & print
Post by: g.theodoroy on February 27, 2025, 04:48:29 PM
I deactivate all time and space constrains

except
   

This is only to avoid stuck in first generation


if user wants, activates them again with FET or changes them


Of course user has the original fet file that is not touched by FET - edit + print
Title: Re: FET - edit & print
Post by: Liviu Lalescu on February 27, 2025, 04:50:13 PM
Yes, sorry.

The user can generate and stop highest after some seconds, and he'll have the partial timetable. Correct!
Title: Re: FET - edit & print
Post by: g.theodoroy on February 27, 2025, 05:00:45 PM
ConstraintActivityPreferredStartingTime "out of table" are removed.

ConstraintActivityPreferredStartingTime not Activities themself.

I first tried to set their Day and Hour to empty string but FET complained with error.


if i save fet file with less ConstraintActivityPreferredStartingTime ( let remove all cards from FRIDAY )

FET puts them again in schedule in first generation
Title: Re: FET - edit & print
Post by: g.theodoroy on February 27, 2025, 05:05:04 PM
I prefer to manipulate fet file as less is necessary.
Title: Re: FET - edit & print
Post by: Liviu Lalescu on February 27, 2025, 05:07:21 PM
Yes, you are right.
Title: Re: FET - edit & print
Post by: g.theodoroy on February 27, 2025, 06:05:30 PM
I am glad to inform you that FET-edit+print works from now on in all other browsers also!

I tested

 :)
Title: Re: FET - edit & print
Post by: Liviu Lalescu on February 27, 2025, 06:23:18 PM
Great, George! I will modify the entry in Tools/Links later (not at my computer now).

Title: Re: FET - edit & print
Post by: Liviu Lalescu on February 27, 2025, 08:17:49 PM
I just modified the description of your program in the Tools/Links. Let me know if you have suggestions for your entry (description or link).
Title: Re: FET - edit & print
Post by: Volker Dirr on February 28, 2025, 09:26:38 PM
Quote from: g.theodoroy on February 27, 2025, 06:05:30 PMI am glad to inform you that FET-edit+print works from now on in all other browsers also!

Nice. I saw some maybe errors. Please check your file with:
https://validator.w3.org/
Title: Re: FET - edit & print
Post by: g.theodoroy on March 01, 2025, 08:56:33 AM
Thanks. I checked it.


Added fuctionality:


If we open a fet file without ConstraintActivityPreferredStartingTimes ( not locked file )

all cards are placed in warehouse.



There are two drawbacks i want to solve:


Title: Re: FET - edit & print
Post by: g.theodoroy on March 01, 2025, 06:05:29 PM
Fixed memory full.

When memory gets full we remove old entries and add new ones

We keep in session only 35 instances of table.

That means we remember only the last 35 moves of cards
Title: Re: FET - edit & print
Post by: Liviu Lalescu on March 01, 2025, 06:19:38 PM
Oh, I see... for each Undo/Redo operation you need to keep the whole table. We kind of do this also in FET History - we keep each state archived with zlib (via Qt qCompress), because in FET it was impossible to only remember the operation and then undo it.
Title: Re: FET - edit & print
Post by: g.theodoroy on March 01, 2025, 06:21:04 PM
It is the same strategy!
Title: Re: FET - edit & print
Post by: g.theodoroy on March 02, 2025, 10:32:18 AM
Format of downloaded fet file almost fixed !

It's better now ...

Title: Re: FET - edit & print
Post by: Liviu Lalescu on March 02, 2025, 11:10:29 AM
Thank you!

Interesting idea to add Undo states until memory full, then remove old states. What size of memory do you consider full?

Added: I saw two typos in your file: ecxeption, and wont -> exception, won't.
Title: Re: FET - edit & print
Post by: g.theodoroy on March 02, 2025, 04:51:29 PM
According to this site

http://dev-test.nemikor.com/web-storage/support-test/

Same value (Firefox, Chrome, Opera in my Manjaro linux pc) for



I decided not to set a hardcoded number ( for example 35 ) because the size of table instance depends on number of teachers and subjects. So for every case a (e.g. 35) number that is OK for me and my data might be NOT OK for other users.


Finally we sacrifice the exact "table entry" that raises the exception of full memory to set the count limit dynamically.

This exception does not affect the moving of cards but stops saving the latest data. We prefer to keep latest data than the previous.
Title: Re: FET - edit & print
Post by: Liviu Lalescu on March 02, 2025, 05:05:31 PM
Oh, I see, interesting.
Title: Re: FET - edit & print
Post by: g.theodoroy on March 03, 2025, 06:57:58 AM
Format of downloaded fet file fixed.

Made small modifications on how day and hour is displayed in table header.


I have a feeling that it tends to be complete.

Probably it will need modifications for "problems" that will show up from the real use of it.
Title: Re: FET - edit & print
Post by: Liviu Lalescu on March 03, 2025, 03:41:31 PM
Good!

I tried it. I have an older question: in the attached screenshot, what are the students sets names in the bottom of the page?
Title: Re: FET - edit & print
Post by: g.theodoroy on March 03, 2025, 05:07:38 PM
In my school we have 5 Student Groups : A1, B1, B2, ΓΠ, ΓΜ.

In some subjects ΓΠ and ΓΜ combine to one group "ΓΠ ΓΜ"

The "Greek high schools logic" is that all Groups should have activities every day for all hours of schedule. No gaps between them.

So when cards are moved we check every column if all groups have activities. If a group has no activity appears to the table footer as "group with no activity" in the bottom of the page.

In uploaded picture this makes sense. For every card (single or double) in warehouse there is a student group in bottom of table to show the missing place. At the same time cell at the table header with hour names becomes grey and on mouse over displays this data in whiteboard (at top center). This data is used to decide which cell should be green (and say "here is the gap")

I need to mention that in the uploaded picture group Α1 and ΓΠ appear twice because they have two teachers. They move together. Actually they are only one activity.



Now, in your picture, where does not apply the "Greek high schools logic" things become messy.

I think i should hide the footer and use a toggle button to show it when user wishes.


We must have in mind that "FET-edit+print" cannot follow the complexity of FET. It is impossible!!!
 
Title: Re: FET - edit & print
Post by: Liviu Lalescu on March 03, 2025, 05:56:30 PM
I think I understand (I am not sure if I understand everything perfectly).

Note: When I load my file, initially there are no students sets at the bottom. Is this a bug?

Oh, don't worry, you did a good work!
Title: Re: FET - edit & print
Post by: g.theodoroy on March 03, 2025, 05:58:39 PM
No.

This function triggers after card move.
Title: Re: FET - edit & print
Post by: Liviu Lalescu on March 03, 2025, 06:01:14 PM
OK, I see.
Title: Re: FET - edit & print
Post by: g.theodoroy on March 03, 2025, 06:03:24 PM
If we wish we can trigger it also after table creation
Title: Re: FET - edit & print
Post by: Liviu Lalescu on March 03, 2025, 06:04:51 PM
It is you who know best, to decide.
Title: Re: FET - edit & print
Post by: g.theodoroy on March 03, 2025, 07:10:57 PM
Modified:

Groups with no activities are not visible by default at the bottom of the table.

Added a toggle button so user can toggle them visible or not.

Groups with no activities scan is triggered also in table creation and update (Undo - Redo)

Title: Re: FET - edit & print
Post by: Vangelis Karafillidis on March 03, 2025, 07:25:18 PM
Hello @Liviu Lalescu and @g.theodoroy.

I think that displaying the students groups at the bottom of the timetable is a good idea. Since I have tried preparing timetables using spreadsheets, the user needs definitely to check which students sets have activities and which ones not (for every single time slot). For most schools, the timetablers work on the "teachers time horizontal" view of the timetable in order to make the necessary adjustments. But this view, is insufficient when the user needs to check easily and fast the situation of the students sets for each one of the time slots. So, the user needs a supplementary chart in order to monitor the "status" of each students group (gap or activity) for all time slots. In my opinion a chart at the bottom the timetable with "ones" (1=activity) and "zeros" (0=no activity) for all the respective students sets would be highly useful. This chart should have in the vertical axis the names of all students groups, and in the horizontal axis these "ones" and "zeros". Of course, the timetable and this supplementary chart should be "aligned" in the vertical axis, so that their time slots correspond each other. Another variant of this chart would be even more useful. For example if a group has no activity in a specific time slot, this specific group ad its respective subgroups should appear with "zeros". And vice-versa. For example, if all the groups of a year have no activities on a specific time slot, this year should appear with a "zero" as well. I don't know if this is possible to be implemented, but the user needs definitely a way to "monitor" their data.

Vangelis.

Title: Re: FET - edit & print
Post by: Liviu Lalescu on March 03, 2025, 07:38:43 PM
Thank you, Vangelis! I am not the best person to answer, I will wait for others' opinions.
Title: Re: FET - edit & print
Post by: GUEFFAZ ABDELKRIM on March 06, 2025, 02:20:33 PM
good job
 did you add this table of teachers and student
Title: Re: FET - edit & print
Post by: g.theodoroy on March 06, 2025, 06:20:52 PM
This program does not intend to substitute printing of schedule.

It uses "teachers_time_horizontal" projection in order to be able to

If you like to print more reports you should
Title: Re: FET - edit & print
Post by: g.theodoroy on March 11, 2025, 11:52:31 AM
Added ability to

set the title to be printed

instead of fet filename
Title: Re: FET - edit & print
Post by: Liviu Lalescu on March 11, 2025, 12:00:21 PM
Thank you, George!
Title: Re: FET - edit & print
Post by: abuayham2016 on March 11, 2025, 07:40:07 PM
Thank you, brother. Please add the ability to change the direction of the table from right to left.
Title: Re: FET - edit & print
Post by: g.theodoroy on March 12, 2025, 06:23:59 PM
Added functionality.


A button selects direction of table either "right to left" (rtl) or "left to right" (ltr).


Thanks abuayham2016 for suggestion and confirmation that works !!!
 
Title: Re: FET - edit & print
Post by: Liviu Lalescu on March 12, 2025, 06:28:09 PM
Thank you! :)
Title: Re: FET - edit & print
Post by: g.theodoroy on March 14, 2025, 11:23:16 PM
Added functionality

A button shows/hides subject at cards.

Title: Re: FET - edit & print
Post by: g.theodoroy on March 15, 2025, 05:48:18 PM
Modified show/hide button.


Click in center shows or hides subject in card.


Default value of font-size of subject is 6px


Title: Re: FET - edit & print
Post by: abuayham2016 on March 15, 2025, 07:04:13 PM
Dear Brother

Thank you very much for the modifications and new additions

New suggestions for improvement:

Do not print on teachers

Automatic adjustment of the text of subject names when the font is enlarged or decreased

Improved font size for teachers and names of days and time periods
Title: Re: FET - edit & print
Post by: g.theodoroy on March 16, 2025, 07:24:21 AM
Please give me more details of your suggestions.
Title: Re: FET - edit & print
Post by: Liviu Lalescu on March 16, 2025, 10:05:38 AM
Hello, George,

I just tried your file:

1) By chance, I saw a typo in the source code: "speciphic" - it should be "specific".

2) I cannot increase/decrease the font clicking left/right.

3) If I show subjects, the table cells text is not centered vertically. Is this intended?
Title: Re: FET - edit & print
Post by: g.theodoroy on March 16, 2025, 10:39:19 AM
Hello Liviu.


1) Fixed typo.


3) Space is limited. I prefer to see the beginning of each word of subject and omit the end. This way user understands ( i think ) the subject. It is intended. Of course i work with my greek .fet files. Maybe subjects in other languages of other users behave differently.



2) Button show/hide subjects has this form [ ... ]. More detailed with parenthesis: [( )(...)( )]


If you click three dots in center of button [ (...) ]  means center


If you click left gap inside button [( )... ]  means left


If you click right gap inside button [ ...( )]  means right


This is the idea of designing.


Title: Re: FET - edit & print
Post by: g.theodoroy on March 16, 2025, 10:52:50 AM
About vertical align of cards.

Sorry i misunderstood your question!


Cards are vertical aligned at bottom intentionally so that students groups are aligned.

Title: Re: FET - edit & print
Post by: Liviu Lalescu on March 16, 2025, 11:05:05 AM
OK, I see now. Thank you!
Title: Re: FET - edit & print
Post by: g.theodoroy on March 17, 2025, 03:42:37 PM
Quote from: Liviu Lalescu on February 25, 2025, 09:35:06 PM@g.theodoroy ,

I had a consultation with Volker and, if you want, we could make a board for your program here on the forum, and make you moderator on this board. It will be similar to Volker's TiTiTo, StElTo, and TSC boards on the FET Tools section.

Please let me know if you would like this.


If your proposition is still active i think we can do it.
Title: Re: FET - edit & print
Post by: Liviu Lalescu on March 17, 2025, 03:45:00 PM
Oh, great! I was hoping for this :)

Please let me know the desired title and description (like the other boards).
Title: Re: FET - edit & print
Post by: g.theodoroy on March 17, 2025, 03:57:49 PM
The description in FET Tools/Links is grate.

So it could be:

Title: FET - edit + print

Description: A .html file with which you can import a .fet file of schedule made with FET, make small manual modifications when a teacher is absent, print one or more days schedule and finally export .fet file.

Title: Re: FET - edit & print
Post by: Liviu Lalescu on March 17, 2025, 04:08:47 PM
Great! I just created it. I will let you have the first post there, if OK?
Title: Re: FET - edit & print
Post by: g.theodoroy on March 17, 2025, 04:20:32 PM
OK

thanks
Title: Re: FET - edit & print
Post by: Liviu Lalescu on March 17, 2025, 04:27:41 PM
You're welcome! Thank you, too!
Title: FET - edit + print modifications
Post by: g.theodoroy on April 08, 2025, 12:20:48 PM
Added functionalities


Modified code to be able to work either with versions
Title: Re: FET - edit & print
Post by: abuayham2016 on June 07, 2025, 03:13:32 PM
hi
Improvement Suggestions
Add an option to show or hide colors in tables
Center teacher names in teacher tables
Fix class tables not sorted according to the contents in the fet file
Enable font size in class tables
Add a font size option for teacher names, class names, days, hours, etc.
Add a new table to show years time vertical
Save the output tables from the program as a raw HTML file.
regards