Skip to content

fix(ipfs2filecoin): estimator beside the table, responsive pricing, hero polish - #1

Merged
gmoranxyz merged 3 commits into
gmoranxyz:ipfs2filecoin-design-reviewfrom
filipagr:filipa/ipfs2filecoin-design-polish
Aug 5, 2026
Merged

fix(ipfs2filecoin): estimator beside the table, responsive pricing, hero polish#1
gmoranxyz merged 3 commits into
gmoranxyz:ipfs2filecoin-design-reviewfrom
filipagr:filipa/ipfs2filecoin-design-polish

Conversation

@filipagr

@filipagr filipagr commented Aug 3, 2026

Copy link
Copy Markdown

Summary

Design-review round 2 for /ipfs2filecoin, layered on top of FilOzone#350. This targets ipfs2filecoin-design-review (not main or feat/ipfs2filecoin-landing-page) on purpose, so the diff here is only the new polish and it flows through FilOzone#350 into feat and then main as one piece, the same way FilOzone#350 stacks on FilOzone#346.

Three commits, each independently revertable, each typechecks on its own.

Key changes

feat: the CID checker becomes one input surface. The label, textarea and action fold into a single bordered panel with a live "X of Y lines are CIDs" readout and a Cmd/Ctrl+Enter shortcut. The verdict moves into its own CidListVerdict component with an icon per outcome, and pluralize is extracted so the readout and verdict agree.

fix: pricing table: provider split from tier, and responsive. Each row gains a detail sub-line so the provider is what you compare on and the plan tier stays secondary; rows now key on provider plus tier, since two Pinata tiers share a name (this also clears a duplicate-key React warning). On mobile the three columns do not fit and the egress value is a full sentence, so each provider becomes a stacked card; the full table returns at md.

fix: estimator beside the table, plus hero and type polish. The deposit estimator moves into a companion card beside the comparison table: the table is the market rate, the card prices it for your own data. Its two inputs sit side by side, and the wide three-column result is reworked into a compact stacked receipt that fits the narrow column. The hero gains a faint brand glow (the --color-brand-500 token at 12%) along its bottom edge, the reason-card and agent-warning copy step down a size, and "How it works" renders four across on desktop.

Testing

  • npx tsc --noEmit passes; each commit typechecks independently.
  • biome check clean.
  • Verified in-browser: desktop (1284px) table + estimator pairing and the estimate flow, and mobile (375px), where the pricing table no longer scrolls sideways and the estimator fields stay side by side.

Follow-up (deliberately not in this PR)

The $2.50 rate is still restated as a literal in three places (the rate footnote, one reason card, and the SEO description) rather than referencing USD_PER_TIB_MONTH_PER_COPY. The comparison table and estimator both derive from the constant, so those three can silently drift. Left out to keep this focused; happy to wire them up as a follow-up.

🤖 Generated with Claude Code

filipagr and others added 3 commits August 3, 2026 19:47
Fold the label, textarea and action into a single bordered panel with a live "X of Y lines are CIDs" readout and a Cmd/Ctrl+Enter shortcut. Move the verdict into its own CidListVerdict component with an icon per outcome, and extract pluralize so the readout and verdict agree.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
… responsive

Give each pricing row a detail sub-line so the provider is what you compare on and the plan tier stays secondary, and key rows by provider plus tier now that two Pinata tiers share a name. On mobile the three columns do not fit, so each provider becomes a stacked card; the full table returns at md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
… hero and type

Move the estimator into a companion card beside the comparison table (the table is the market rate, the card prices it for your data), with the two inputs side by side and a compact stacked result that fits the narrow column. Add a faint brand glow along the bottom of the hero, step the reason-card and agent-warning copy down a size, and render How it works four across on desktop.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@gmoranxyz
gmoranxyz merged commit 2a8113a into gmoranxyz:ipfs2filecoin-design-review Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants