Skip to content

[feat]: <Add file size metadata to all upload guides> #4

@vansham

Description

@vansham

Product

SDK (JS/TS)

Problem to Solve

Developers currently have no visibility into the size of the files they are selecting for upload in the CLI guides. This makes the "upload" experience feel disconnected, as users don't know the scale of data they are processing until the transaction is already in progress.

Proposed Solution

Standardize the display of file size metadata (in MB) across all CLI examples and SDK guides. I have already implemented a proof-of-concept for this in the shelby-quickstart repository (Reference: PR #4). It uses statSync to fetch the size and displays it both during file selection and inside the loading spinner for real-time feedback.

Alternatives Considered

Keeping the current simple feedback, but adding size metadata significantly improves the Developer Experience (DX) and brings the tools in line with modern CLI standards.

Impact / Who Benefits

All developers using the Shelby SDK and Quickstart guides. It provides better context, especially when testing different blob sizes on the protocol.

Pre-checks

  • I've searched existing feature requests

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