Skip to content

feat(redesign): complete widget tool functionality#202

Merged
DarianM merged 22 commits intomainfrom
redesign-widget
Aug 7, 2025
Merged

feat(redesign): complete widget tool functionality#202
DarianM merged 22 commits intomainfrom
redesign-widget

Conversation

@DarianM
Copy link
Copy Markdown
Member

@DarianM DarianM commented Jul 28, 2025

Summary of Changes

  • widget web component positioning & customization:

    • positioning the widget on the left or right side of the screen.
    • font size can be set through theme config.
  • wallet address input validation:

    • improved wallet address validation and error messaging in the widget form.
  • preview mode:

    • isPreview prop to the widget, confirmation, and interaction components to enable previewing the widget without making real payment requests.
  • css refactor & variable consistency:

    • Improved responsiveness and alignment for mobile.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Jul 28, 2025

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
publisher-tools 3943ef1 Commit Preview URL Aug 07 2025, 12:39 PM

@Tymmmy

This comment was marked as resolved.

Comment thread components/src/widget/widget.ts
@DarianM DarianM linked an issue Jul 31, 2025 that may be closed by this pull request
@DarianM DarianM self-assigned this Jul 31, 2025
@DarianM DarianM moved this from Backlog to In Review in Publisher Tools Jul 31, 2025
@DarianM DarianM changed the title feat: redesign widget builder fix(components): widget Aug 4, 2025
@DarianM DarianM changed the title fix(components): widget feature(redesign): complete widget tool functionality Aug 4, 2025
@DarianM
Copy link
Copy Markdown
Member Author

DarianM commented Aug 4, 2025

The order of merging should be:

@DarianM DarianM changed the title feature(redesign): complete widget tool functionality feat(redesign): complete widget tool functionality Aug 4, 2025
@DarianM DarianM requested a review from sidvishnoi August 6, 2025 09:42
sidvishnoi

This comment was marked as resolved.

Copy link
Copy Markdown
Member

@sidvishnoi sidvishnoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "Active"/"Visible" checkboxes can be fixed as a follow up. Rest, LGTM!

@sidvishnoi

This comment was marked as resolved.

@sidvishnoi
Copy link
Copy Markdown
Member

On mobile, the preview area jumps when toggling the button.

Screencast.from.2025-08-06.17-01-44.mp4

@DarianM
Copy link
Copy Markdown
Member Author

DarianM commented Aug 6, 2025

On mobile, the preview area jumps when toggling the button.
Screencast.from.2025-08-06.17-01-44.mp4

I can't find a solution to fix this because we are displaying the web widget relative to the preview container.
It is jumping due to relative positioning.

@DarianM DarianM merged commit 38e0eab into main Aug 7, 2025
5 checks passed
@DarianM DarianM deleted the redesign-widget branch August 7, 2025 13:01
@github-project-automation github-project-automation bot moved this from In Review to Done in Publisher Tools Aug 7, 2025
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.

redesign ui/ux: Widget tool

4 participants