feat(quote-wall): post-to-wall + campaign quote wall#5969
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- QuoteImageDialog: 'Post to wall' button (campaign articles only) via putQuote; gentle quota-reached toast on ACTION_LIMIT_EXCEEDED - CampaignDetail/QuoteWall: compact module (desktop right aside) + chip entry (mobile) + full-wall dialog with shuffle (random refetch) - QuoteCard: sticky-note card linking back to the source article; retract action for the poster or the source article's author (soft delete) - museum link (freewriting.matters.town/memo-wall) in EXTERNAL_LINKS - mount quote wall above discussion in the campaign aside / mobile chips Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- route.ts: support campaignDiscussion comment type (widened CommentType enum from backend) — add to CommentArgs union, add campaign field to commentDetail args, and resolve its href - QuoteWall gql: type $first as first_Int_min_0_max_50 to match the schema's constrained scalar (codegen validation) - QuoteWall/Discussion: drop Extract<..., WritingChallenge> wrapper that resolved to never (campaign is already the single fragment shape in generated types) - analytics: add quote_post_to_wall click_button type - ArticleDetail/gql: import QuoteImageDialog fragments from the leaf gql module instead of the React index, breaking a circular import that left UserDigest undefined and failed the unit test - QuoteImageDialog: drop unused closeDialog prop destructuring - regenerate i18n message ids (enforce-id) and apply lint/format Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
a551535 to
e9c7745
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upstream CI mirror of #5966(原 PR 來自 fork yingshinlee,fork 觸發的 CI 拿不到 secrets、build required check 不會跑)。
此 PR 從 thematters/matters-web 內部分支開啟,讓 CI 能在帶 secrets 的 context 跑、codegen 抓 server.matters.icu 的新 schema(campaign discussion / quote wall 後端已於今日部署上 staging)。
內容與 #5966 相同。Co-Authored-By: Claude Fable 5