-
Notifications
You must be signed in to change notification settings - Fork 1
Description
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