Skip to content

[TOOL-4228] Dashboard: Add file upload for in-app wallet branding form tool-4228 #6811

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

MananTank
Copy link
Member

@MananTank MananTank commented Apr 22, 2025


PR-Codex overview

This PR focuses on enhancing the BrandingFieldset component by modifying how application branding information is handled. It introduces a new image upload feature for the application logo and rearranges form fields for better clarity.

Detailed summary

  • Added AppImageFormControl component for image uploading.
  • Changed branding.applicationName and branding.applicationImageUrl fields in BrandingFieldset.
  • Updated form labels and descriptions for clarity.
  • Integrated image upload functionality using useThirdwebClient and upload method.
  • Included error handling for image upload failures.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

linear bot commented Apr 22, 2025

@vercel vercel bot temporarily deployed to Preview – docs-v2 April 22, 2025 12:34 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground April 22, 2025 12:34 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui April 22, 2025 12:34 Inactive
Copy link

vercel bot commented Apr 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 22, 2025 0:53am
4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Apr 22, 2025 0:53am
login ⬜️ Skipped (Inspect) Apr 22, 2025 0:53am
thirdweb_playground ⬜️ Skipped (Inspect) Apr 22, 2025 0:53am
wallet-ui ⬜️ Skipped (Inspect) Apr 22, 2025 0:53am

Copy link

changeset-bot bot commented Apr 22, 2025

⚠️ No Changeset found

Latest commit: 8dc27ff

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel vercel bot temporarily deployed to Preview – login April 22, 2025 12:34 Inactive
Copy link
Member Author


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Apr 22, 2025
@MananTank MananTank marked this pull request as ready for review April 22, 2025 12:34
@MananTank MananTank requested review from a team as code owners April 22, 2025 12:34
Copy link
Contributor

github-actions bot commented Apr 22, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 50.73 KB (0%) 1.1 s (0%) 200 ms (+108.97% 🔺) 1.3 s
thirdweb (cjs) 138.79 KB (0%) 2.8 s (0%) 369 ms (+50.99% 🔺) 3.2 s
thirdweb (minimal + tree-shaking) 5.6 KB (0%) 113 ms (0%) 67 ms (+835.76% 🔺) 180 ms
thirdweb/chains (tree-shaking) 514 B (0%) 11 ms (0%) 33 ms (+969.34% 🔺) 43 ms
thirdweb/react (minimal + tree-shaking) 19.41 KB (0%) 389 ms (0%) 44 ms (+149.35% 🔺) 433 ms

@MananTank MananTank force-pushed the 04-22-_tool-4228_dashboard_add_file_upload_for_in-app_wallet_branding_form_tool-4228 branch from b96bd97 to 9b5d9b3 Compare April 22, 2025 12:39
@vercel vercel bot temporarily deployed to Preview – login April 22, 2025 12:39 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui April 22, 2025 12:39 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 April 22, 2025 12:39 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground April 22, 2025 12:39 Inactive
Copy link

codecov bot commented Apr 22, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.18%. Comparing base (f85163e) to head (8dc27ff).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6811   +/-   ##
=======================================
  Coverage   55.18%   55.18%           
=======================================
  Files         896      896           
  Lines       56940    56940           
  Branches     3943     3943           
=======================================
  Hits        31420    31420           
  Misses      25424    25424           
  Partials       96       96           
Flag Coverage Δ
packages 55.18% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

graphite-app bot commented Apr 22, 2025

Merge activity

…m tool-4228 (#6811)

<!--

## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes"

If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000):

## Notes for the reviewer

Anything important to call out? Be sure to also clarify these in your comments.

## How to test

Unit tests, playground, etc.

-->

<!-- start pr-codex -->

---

## PR-Codex overview
This PR focuses on enhancing the `BrandingFieldset` component by introducing an `AppImageFormControl` for managing application images, while also refining the handling of branding properties in the form.

### Detailed summary
- Added `Team` type import.
- Introduced `useThirdwebClient` and `resolveSchemeWithErrorHandler`.
- Modified `BrandingFieldset` to swap `applicationName` and `applicationImageUrl` fields.
- Created `AppImageFormControl` for image upload handling.
- Integrated image upload logic with error handling using `toast`.

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
@graphite-app graphite-app bot force-pushed the 04-22-_tool-4228_dashboard_add_file_upload_for_in-app_wallet_branding_form_tool-4228 branch from 9b5d9b3 to 8dc27ff Compare April 22, 2025 12:46
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground April 22, 2025 12:46 Inactive
@vercel vercel bot temporarily deployed to Preview – login April 22, 2025 12:46 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 April 22, 2025 12:46 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui April 22, 2025 12:46 Inactive
@graphite-app graphite-app bot merged commit 8dc27ff into main Apr 22, 2025
23 checks passed
@graphite-app graphite-app bot deleted the 04-22-_tool-4228_dashboard_add_file_upload_for_in-app_wallet_branding_form_tool-4228 branch April 22, 2025 12:53
@vercel vercel bot temporarily deployed to Production – docs-v2 April 22, 2025 12:53 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui April 22, 2025 12:53 Inactive
@vercel vercel bot temporarily deployed to Production – login April 22, 2025 12:53 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground April 22, 2025 12:53 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dashboard Involves changes to the Dashboard.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants