-
Notifications
You must be signed in to change notification settings - Fork 9
Files
When a file is added to a project, a page for that file should be created and be accessible.
When an image file is added, the image should render as a preview in the page.
Supported file types: JPG, PNG, GIF
When a text file is added, the text should be included as a preview in the page.
Supported file types: TXT, HTML
When an archive file is added, a list of files in the archive should be included as a preview in the page.
For files over 2MB, a message should be displayed stating that the file is too large to preview on the page.
For files other than image, text, or archives, a preview should not be available and the default page layout should be used instead.
For files with multiple versions, the latest version should be displayed in the preview pane.
After a file is uploaded, then a second version is uploaded, both version should display in the version history. When downloaded, they should contain the appropriate content.