storj / edge

Storj edge services (including multi-tenant, S3-compatible server to interact with the Storj network)
GNU Affero General Public License v3.0
53 stars 18 forks source link

Link Sharing Service should render errors on the wrapped page? #518

Open amwolff opened 1 month ago

amwolff commented 1 month ago

Expected Behavior

Accessing an object from an account that has hit its limits should probably already fail on the wrapped page.

Current Behavior

Right now, it's the embedded content that will fail to load:

image

Possible Solution

Perhaps accessing the wrapped page in that situation should result in what's happening when you access the file "directly":

image

Steps to Reproduce

  1. Upload a video file
  2. Zero one of the account's limits
  3. Share the file and try to access it via the wrapped page

Context (Environment)

Originally reported by @jtolio who was confused by the video not playing, so it's a good indication the behavior is wrong.

Detailed Description

Possible Implementation