Skip to content

fix(catalog): treat tools as first-class listings#102

Merged
jal-co merged 1 commit into
mainfrom
fix/tool-url-normalization
Jul 15, 2026
Merged

fix(catalog): treat tools as first-class listings#102
jal-co merged 1 commit into
mainfrom
fix/tool-url-normalization

Conversation

@jal-co

@jal-co jal-co commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

What

  • normalize schemeless tool/site URLs to HTTPS before inspect or submit
  • use listing-first labels and count every listing kind in Overview/sidebar totals
  • add safe image fallbacks for broken or missing tool preview images
  • add back-to-listings navigation and a Component / Tool or site creation menu
  • allow approved tools/sites to use the same clearly labeled paid boost as components

Why

Tools and sites are first-class Modulora listings, and future listing kinds should not require component-specific dashboard count changes. This also fixes broken legacy Open Graph previews and the confusing schemeless URL flow.

How

The Studio rollup intentionally counts all namespace records without a listingKind filter. A reusable ToolListingImage attaches image error handling after hydration and renders a domain fallback. Boost eligibility now depends on approval state rather than listing kind; public paid placement remains visibly labeled.

Testing

  • pnpm --filter web typecheck
  • pnpm --filter web test (79 passed, 9 integration tests skipped without credentials)
  • pnpm --filter web build
  • pnpm --filter web build-storybook
  • git diff --check
  • browser checks at 1440×900 and 390×844: fallback rendering, Add yours menu, Tool badge, back navigation, and no horizontal overflow

Screenshots

  • Catalog fallback + creation menu: /tmp/catalog-tool-card-fallback.png
  • Tool detail back navigation: /tmp/tool-detail-back-listings.png

Signed-off-by: Justin Levine <20596508+jal-co@users.noreply.github.com>
@jal-co
jal-co requested a review from a team as a code owner July 15, 2026 21:02
@jal-co
jal-co merged commit 9d8654f into main Jul 15, 2026
2 checks passed
@jal-co
jal-co deleted the fix/tool-url-normalization branch July 15, 2026 21:04
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.

1 participant