Categories

See More
Popular Forum

MBA (4887) B.Tech (1769) Engineering (1486) Class 12 (1030) Study Abroad (1004) Computer Science and Engineering (988) Business Management Studies (865) BBA (846) Diploma (746) CAT (651) B.Com (648) B.Sc (643) JEE Mains (618) Mechanical Engineering (574) Exam (525) India (462) Career (452) All Time Q&A (439) Mass Communication (427) BCA (417) Science (384) Computers & IT (Non-Engg) (383) Medicine & Health Sciences (381) Hotel Management (373) Civil Engineering (353) MCA (349) Tuteehub Top Questions (348) Distance (340) Colleges in India (334)
See More

How to deal with files in use?

Course Queries Syllabus Queries
Max. 2000 characters
Replies

usr_profile.png
Dipti Singh

User

( 5 months ago )

There is a file manager in my application, where teachers can share files with other teachers. Files such as documents and images can be inserted into the learning course for students.

Once your shared file has been used by some other teacher in their course, what should happen if you want to delete your file?

  1. Show notification that the file is in use and allow to delete.
  2. Show notification that the file is in use and do not allow to delete.

usr_profile.png
Lucky Negi

User

( 5 months ago )


Would you like to be interrupted while learning?

If someone is using the file it will not be a good user experience to immediately stop his work because someone has deleted it. Maybe a student is writing something and has made considerable progress. Or maybe she is reading.

Interrupting users will bring a lot of user frustration and loss of their work, specially when learning new material. This is why you should not allow deletion of a document when it's in use.

Provide alternatives

Why not allow the user to finish its work and then delete the file? You can also put a notification that the file will be deleted after its closed.


Update

If there is going to be no real time collaboration or live editing features, then the file will be at use only at download time. Therefore, the answer remains the same:

Don't interrupt users when downloading a file, instead wait for the file to be downloaded and then delete it.

what's your interest


forum_ban8_5d8c5fd7cf6f7.gif