Post-merge fixes: verification, attribution, and moderation#96
Open
pglavin2 wants to merge 14 commits into
Open
Post-merge fixes: verification, attribution, and moderation#96pglavin2 wants to merge 14 commits into
pglavin2 wants to merge 14 commits into
Conversation
…et footer - Adds data-markee-address to the static HTML shell so the markee.xyz verifier can detect it (CRA apps are client-side only, so React-rendered attributes are invisible to server-side HTML checks) - Reads topMarkeeOwner (buyer wallet via owner()) from API instead of topMarkeeAddress (the markee contract) for attribution in the footer Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- api/moderation.ts: Vercel serverless function backed by @vercel/kv Admins sign messages to flag/unflag markee contract addresses. Four moderator addresses: 0x809C9f8, 0x07AD02e0, 0x2F9e1134, 0xa25211B6 - MarkeeSign.tsx: fetches flagged list on mount, blurs flagged messages for all users, shows flag/unflag button to connected admin wallets - package.json: adds @vercel/kv (runtime) and @vercel/node (types) Requires KV_REST_API_URL and KV_REST_API_TOKEN in the Honeyswap Vercel project environment variables. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
@pglavin2 is attempting to deploy a commit to the 1hive Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Blur flagged messages in the current message box above tabs, with a red flag icon overlay and helper text explaining users can still buy or boost other messages - Blur flagged entries in the Boost tab list individually, with a flag icon overlay on each - Fix: name input font family now matches message textarea (Courier New) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
Follow-up to #94 with fixes and the moderation system.
data-markee-addressto staticindex.htmlso markee.xyz can detect it (CRA apps are client-side only -- the attribute must be in the server-returned HTML)owner()field from the markee contract via API)/api/moderationbacked by KV (Redis) -- four moderator wallets can flag messages, flagged messages are blurred in the widget for all visitorsModerator addresses
0x809C9f8dd8CA93A41c3adca4972Fa234C28F77140x07AD02e0C1FA0b09fC945ff197E18e9C256838c60x2F9e113434aeBDd70bB99cB6505e1F726C578D6d0xa25211B64D041F690C0c818183E32f28ba9647DdEnvironment variables required
KV_REST_API_URLandKV_REST_API_TOKENmust be set in the Vercel project (already added).🤖 Generated with Claude Code