IllusioQuest / teacher-quotation-manager

This project contains the source code of a Vaadin application created with Java which allows adding, maintaining and rating of quotations. Also includes a login system and a user management tool for admins. BRAND NEW: Improved UX for content from schulmanager-online
https://schulhub.web.app
GNU Lesser General Public License v2.1
0 stars 1 forks source link

Add attachments to messages #2

Open IllusioQuest opened 7 months ago

IllusioQuest commented 4 months ago

Either needs the workaround mentioned here or has to wait until stable Vaadin 24.4 releases. See https://github.com/vaadin/flow-components/pull/5789, feature is necessary, otherwise users are tricked into thinking they removed a file but it still gets uploaded. Even if the workaround will be used, the attachment feature should be updated after the 24.4 release.

IllusioQuest commented 3 months ago

As there's an alternative file list now, this can be used as a workaround until 24.4.

IllusioQuest commented 3 months ago

A new problem is now the regular occurance of OutOfMemoryExceptions due to the fact that the file is saved in-memory for the period of time between uploading it and sending the message. A possible workaround could be saving it temporarily as blob in the browser or upload it to an external file hosting service like Drive.