Skip to content

Display a warning when share data exceeds the limit #7636

Open
@niktayv

Description

@niktayv

When the user adds a significant amount of the content to the story (it can be too many scenes or a huge content in one scene), the size of the payload in the /share endpoint may exceed the limit set on the server.

Currently, the user experiences a quiet failure of the URL shortening feature, getting an unshortened URL in the clipboard.
No warning or error message is displayed to the user.

Besides that, the SharePanel's UI gets scrambled both in the StoryBuilder and in the main menu's "Share / Print" panel.

Image

Image

We want to let the user know that the limit has been exceeded.

Additionally, we want to warn the user that the size has exceeded 80% of the limit but still stays within the limit, so that the user may review the content of the story in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions