Skip to content
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

[TOOL-2808] Add back freewallets announcement banner + hide it after 31st Dec 2024 #5814

Conversation

MananTank
Copy link
Member

@MananTank MananTank commented Dec 19, 2024

Problem solved

Short description of the bug fixed or feature added


PR-Codex overview

This PR introduces the UnlimitedWalletsBanner component to the dashboard, replacing a placeholder comment with the actual banner in two locations. The banner promotes a limited-time offer for free in-app wallets until December 31, 2024.

Detailed summary

  • Added import of UnlimitedWalletsBanner in apps/dashboard/src/pages/_app.tsx.
  • Replaced comment with <UnlimitedWalletsBanner /> in ConsoleApp component.
  • Added import of UnlimitedWalletsBanner in apps/dashboard/src/app/layout.tsx.
  • Replaced comment with <UnlimitedWalletsBanner /> in RootLayout component.
  • Created UnlimitedWalletsBanner function in apps/dashboard/src/components/notices/AnnouncementBanner.tsx.
  • Implemented logic to hide the banner after December 31, 2024.
  • Configured the banner to link to a settings page with a promotional code.

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

Copy link

linear bot commented Dec 19, 2024

@vercel vercel bot temporarily deployed to Preview – docs-v2 December 19, 2024 22:32 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground December 19, 2024 22:32 Inactive
Copy link

vercel bot commented Dec 19, 2024

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 Dec 19, 2024 10:57pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Dec 19, 2024 10:57pm
thirdweb_playground ⬜️ Skipped (Inspect) Dec 19, 2024 10:57pm
wallet-ui ⬜️ Skipped (Inspect) Dec 19, 2024 10:57pm

Copy link

changeset-bot bot commented Dec 19, 2024

⚠️ No Changeset found

Latest commit: baa2157

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 – wallet-ui December 19, 2024 22:32 Inactive
@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Dec 19, 2024
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.

@MananTank MananTank marked this pull request as ready for review December 19, 2024 22:32
@MananTank MananTank requested review from jakubkrehel and a team as code owners December 19, 2024 22:32
Copy link

codecov bot commented Dec 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.34%. Comparing base (df03dbd) to head (baa2157).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5814   +/-   ##
=======================================
  Coverage   53.34%   53.34%           
=======================================
  Files        1101     1101           
  Lines       59124    59124           
  Branches     4824     4824           
=======================================
  Hits        31541    31541           
  Misses      26864    26864           
  Partials      719      719           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from df03dbd
packages 50.56% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

Copy link
Contributor

github-actions bot commented Dec 19, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 45.05 KB (+0.05% 🔺) 901 ms (+0.05% 🔺) 3.7 s (+7.16% 🔺) 4.6 s
thirdweb (cjs) 110.76 KB (0%) 2.3 s (0%) 7.8 s (+24.63% 🔺) 10 s
thirdweb (minimal + tree-shaking) 5.58 KB (0%) 112 ms (0%) 640 ms (+8.55% 🔺) 752 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 134 ms (+142.68% 🔺) 144 ms
thirdweb/react (minimal + tree-shaking) 19.1 KB (0%) 383 ms (0%) 770 ms (+6.06% 🔺) 1.2 s

Copy link

graphite-app bot commented Dec 19, 2024

Merge activity

…31st Dec 2024 (#5814)

## Problem solved

Short description of the bug fixed or feature added

<!-- start pr-codex -->

---

## PR-Codex overview
This PR introduces the `UnlimitedWalletsBanner` component, which displays a promotional banner for free in-app wallets until December 31, 2024, replacing placeholder comments in the layout files.

### Detailed summary
- Added import of `UnlimitedWalletsBanner` in `apps/dashboard/src/pages/_app.tsx`.
- Replaced placeholder comment with `<UnlimitedWalletsBanner />` in `apps/dashboard/src/pages/_app.tsx`.
- Added import of `UnlimitedWalletsBanner` in `apps/dashboard/src/app/layout.tsx`.
- Replaced placeholder comment with `<UnlimitedWalletsBanner />` in `apps/dashboard/src/app/layout.tsx`.
- Created `UnlimitedWalletsBanner` component in `apps/dashboard/src/components/notices/AnnouncementBanner.tsx` that hides after December 31, 2024.

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

<!-- end pr-codex -->
@jnsdls jnsdls force-pushed the 12-20-_tool-2808_add_back_freewallets_announcement_banner_hide_it_after_31st_dec_2024 branch from 518dda4 to baa2157 Compare December 19, 2024 22:49
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground December 19, 2024 22:49 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 December 19, 2024 22:49 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui December 19, 2024 22:49 Inactive
@graphite-app graphite-app bot merged commit baa2157 into main Dec 19, 2024
32 checks passed
@graphite-app graphite-app bot deleted the 12-20-_tool-2808_add_back_freewallets_announcement_banner_hide_it_after_31st_dec_2024 branch December 19, 2024 22:58
@vercel vercel bot temporarily deployed to Production – docs-v2 December 19, 2024 22:58 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground December 19, 2024 22:58 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui December 19, 2024 22:58 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