Repository navigation
Update wallet-aware personalization and batch flows - #80
Draft
fulldecent with Copilot wants to merge 2 commits into
Draft
fulldecent with Copilot wants to merge 2 commits into
fulldecent with Copilot wants to merge 2 commits into
Conversation
Preview deploymenthttps://copilot-update-personalize-p.tenthousandsu-com.pages.dev Branch: |
The wallet UI matches main and loads Reown AppKit. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
fulldecent
force-pushed
the
copilot/update-personalize-pages
branch
from
December 2, 2026 03:35
83ae04d to
92cae25
Compare
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
A shadowing const metadata causes wallet connections with Squares to throw an assignment error, preventing loading and leaving the personalization editor hidden.
1 open issue
What changed in this PR
Updates Su Squares personalization with wallet-aware editors and a validated text-based batch flow.
Changes:
- Adds paginated ownership lists, per-Square editors, thumbnails, and exact pricing.
- Introduces batch instructions, ownership rechecks, and explicit transaction failure reporting.
- Extracts shared JavaScript modules and adds regression tests and documentation.
| File | Description |
|---|---|
| tests/personalization.test.mjs | Tests validation, pricing, ownership, pagination, and animation detection. |
| README.md | Documents personalization flows and the test command. |
| personalize.html | Replaces the single-Square form with a wallet-aware table. |
| personalize-batch.html | Adds agent instructions and validated batch-text controls. |
| assets/personalize.mjs | Implements shared wallet, editor, and transaction flows. |
| assets/personalization.mjs | Provides contract definitions and validation helpers. |
| assets/main.css | Styles tables, thumbnails, previews, and batch lists. |
Review effort: Balanced
The AppKit metadata object had the same name as the loaded Square data, so a wallet that owns Squares could not open the editor.
This branch has not been deployed
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
balanceOf, and show a helpful message for wallets without Squares.Validation
node --test tests/personalization.test.mjs— 11 tests passed.git diff --checkpassed.