Skip to content

chore(snapshot): remove share cards with no product placement - #6637

Merged
idoshamun merged 1 commit into
mainfrom
chore/remove-unwired-snapshot-cards
Sep 10, 2026
Merged

chore(snapshot): remove share cards with no product placement#6637
idoshamun merged 1 commit into
mainfrom
chore/remove-unwired-snapshot-cards

Conversation

@idoshamun

@idoshamun idoshamun commented Sep 10, 2026

Copy link
Copy Markdown
Member

#6544 added fourteen designed share cards. Once the open follow-ups land, six of them are wired into the product: profile, reading overview, badges and awards, achievements, single achievement (#6580), and list (the briefing's Must know, #6563). Highlight text already powers the post page.

The rest have no placement in the product or in any open PR, so they are removed rather than shipped as dead code:

  • AwardSnapshotCard, CelebrationSnapshotCard (level up), DiscussionSnapshotCard, EntitySnapshotCard (tag, source, squad), InviteSnapshotCard, LeaderboardSnapshotCard, PostSnapshotCard, StreakSnapshotCard
  • SnapshotLevelRing, which only the leaderboard and level up cards used

Each can come back with the surface that mounts it.

Storybook: the Share images gallery and Edge cases drop the entries for the removed cards, plus the fixtures only those entries used, including a real member's photo inlined as a fixture.

Events

None.

Experiment

None.

Testing

  • No production code imports the removed files.
  • typecheck-strict-changed clean, eslint clean on features/snapshot, snapshot and post specs pass (33 suites, 208 tests), full webapp tsc clean apart from the known __tests__ backlog.
  • Storybook tsc clean for the snapshot stories.

Preview domain

https://chore-remove-unwired-snapshot-ca.preview.app.daily.dev

#6544 landed fourteen designed cards, but only the profile, achievement,
reading overview, badges, list and highlight cards are wired into the
product by the open follow-ups. Award, level up, discussion, tag/source/
squad, invite, leaderboard, post and streak have no placement in the
product or in any open PR, so they are removed along with the level ring
only two of them used. They can come back with the surface that mounts
them.

Storybook drops the gallery entries and edge cases for the removed cards,
the fixtures only those entries used, and a real member's photo that was
inlined as a fixture.
@vercel

vercel Bot commented Sep 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
daily-webapp Ready Ready Preview Sep 10, 2026 1:42pm UTC

Request Review

@idoshamun
idoshamun merged commit a2b0974 into main Sep 10, 2026
11 checks passed
@idoshamun
idoshamun deleted the chore/remove-unwired-snapshot-cards branch September 10, 2026 14:29
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