web-devkits/webinizer-webclient

Enhancement for icons upload feature

Closed this issue · 2 comments

  1. limit maximum number of one project icons

Add the logic of existed icons number check for uploading icon handler.

  1. Set the maximum number as 10.
  2. Sort the uploaded icons by the uploaded time
  3. Remove the icon with earliest upload time when it reaches the maximum number limitation.
  4. Current used icon file can not be removed, removed 2nd earliest instead.

close as completed