Skip to content

Revamp Attendance Import and Export Functionality - #174

Open
tatokis wants to merge 7 commits into
gunet:masterfrom
tatokis:attendance_book_spreadsheet_master
Open

Revamp Attendance Import and Export Functionality#174
tatokis wants to merge 7 commits into
gunet:masterfrom
tatokis:attendance_book_spreadsheet_master

Conversation

@tatokis

@tatokis tatokis commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

This PR incorporates various changes improving ease of use regarding the attendance import/export workflow.

More specifically,

  • Import and Export buttons were added under the “gears” for attendance books and activities for easier accessibility. screenshot of export button screenshot of another export button
  • Fixed blank alert messages when an attendance activity was untitled. blank alert message in UI
  • A new spreadsheet design was implemented both for attendance book export and activity import/export. summary page of the new spreadsheet detailed page of an activity in the spreadsheet

The new exported spreadsheets contain a new metadata field to distinguish spreadsheets exported with the new format in order to preserve backwards compatibility with previously exported files.
In addition, custom metadata was added that can be used in the future for additional functionality (such as asking the user if they are sure they are importing the correct spreadsheet to the correct activity).

Due to requiring certain new features from PHPSpreadsheet, we had to update it to the latest version. This has not resulted in any breaking changes.

In addition, a lean third party library was added (ondrej-vrto/php-filename-sanitize) to sanitise file names, especially useful for Windows users where filenames are restricted (as the exported filename is now named based on the course and activity). The code of the library was manually reviewed and was deemed to be of sufficient quality, and preferable to rolling our own.

tatokis and others added 4 commits July 30, 2026 21:31
Co-authored-by: Mavroudis Chatzilazaridis <mavchatz@protonmail.com>
Co-authored-by: Mavroudis Chatzilazaridis <mavchatz@protonmail.com>
This is more in line with general UI guidelines.

In addition, the fa-cogs icon was replaced with fa-edit to be consistent
with the other edit buttons.

Co-authored-by: Mavroudis Chatzilazaridis <mavchatz@protonmail.com>
Co-authored-by: Mavroudis Chatzilazaridis <mavchatz@protonmail.com>
@tatokis
tatokis force-pushed the attendance_book_spreadsheet_master branch from 1a7c12e to ca3d6c2 Compare August 2, 2026 13:48
MavChtz and others added 2 commits August 10, 2026 18:21
The export spreadsheet functionality now splits activity attendance
books into individual worksheets and summarizes attendance results
into a 'Summary' worksheet.

Additionally, some translations have been improved and file sanitization
has been added to prevent illegal file names for non Linux users.

Co-authored-by: Tasos Sahanidis <tasos@tasossah.com>
Co-authored-by: Mavroudis Chatzilazaridis <mavchatz@protonmail.com>
@tatokis
tatokis force-pushed the attendance_book_spreadsheet_master branch from ca3d6c2 to dd072e8 Compare August 10, 2026 15:23
Co-authored-by: Karl Fleischmann <fleischmann.karl@mailbox.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants