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

Feat/tma socials #3025

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open

Feat/tma socials #3025

wants to merge 15 commits into from

Conversation

ganchoradkov
Copy link
Member

@ganchoradkov ganchoradkov commented Oct 7, 2024

Description

Implemented social login flow that works in telegram mini apps. It uses direct redirects instead of popup window for social login approval.

TODO: remove custom secure site urls before merge. This would also cause the test app linked here to stop working as its using latest vercel deployment of this PR

Type of change

  • Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Test app

https://t.me/appkit_test_ggr_bot/appkit

Checklist

  • Code in this PR is covered by automated tests (Unit tests, E2E tests)
  • My changes generate no new warnings
  • I have reviewed my own code
  • I have filled out all required sections
  • I have tested my changes on the preview link
  • Approver of this PR confirms that the changes are tested on the preview link

Copy link

changeset-bot bot commented Oct 7, 2024

⚠️ No Changeset found

Latest commit: cffa36a

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

Copy link

vercel bot commented Oct 7, 2024

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

Name Status Preview Updated (UTC)
appkit-laboratory ✅ Ready (Inspect) Visit Preview Oct 9, 2024 9:23am
web3modal-gallery ✅ Ready (Inspect) Visit Preview Oct 9, 2024 9:23am

Copy link
Contributor

github-actions bot commented Oct 7, 2024

Warnings
⚠️ Secure site URL has been changed

Generated by 🚫 dangerJS against cffa36a

Copy link
Contributor

github-actions bot commented Oct 7, 2024

Coverage Report for Coverage

Status Category Percentage Covered / Total
🔵 Lines 320.32000000000005% 4423 / 19323
🔵 Statements 320.32000000000005% 4423 / 19323
🔵 Functions 343.09999999999997% 347 / 1033
🔵 Branches 378.8% 637 / 1332
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
packages/appkit/src/client.ts 75.83% 71.56% 86.41% 75.83% 92-93, 112-113, 116-117, 120-121, 124-127, 130-133, 136-137, 258, 266, 304-307, 313, 315-317, 319-320, 323, 418, 420-422, 425-426, 428-430, 445, 447-448, 461-462, 477-478, 481-482, 485-486, 495-497, 506, 527-530, 565, 574-586, 596-601, 603-614, 616-624, 627-628, 630-631, 633, 635-636, 638-639
packages/common/src/utils/SafeLocalStorage.ts 90.9% 100% 80% 90.9% 57-60
packages/core/src/utils/CoreHelperUtil.ts 37.58% 71.42% 33.33% 37.58% 15-20, 22-23, 26-27, 30, 32-33, 36, 38-39, 42-43, 46-47, 50-51, 54-55, 62-63, 77, 79-82, 84-89, 92-93, 96-106, 108, 110-112, 114-118, 121-128, 130-134, 137, 139-141, 143-144, 146-147, 149-154, 156-161, 166, 168, 170, 174-184, 186-187, 189-190, 193, 195-197, 200-201, 204, 206, 208, 210, 212, 214, 216-217, 220-226, 228-229, 248, 250-257, 259-264, 279-281, 283-285, 287-289, 296-299, 301, 320, 322, 324-325, 335-338, 340-341, 344-345, 347-348, 357, 362, 367, 377-378, 386-393, 395-396
packages/scaffold-ui/src/partials/w3m-social-login-list/index.ts 0% 0% 0% 0% 1, 10-14, 16-17, 19-21, 24, 29, 31, 33, 35-44, 46-48, 51-52, 54-56, 58-66, 68, 70, 73-75, 77-85, 87-99, 101-108, 110-133
packages/scaffold-ui/src/partials/w3m-social-login-widget/index.ts 0% 0% 0% 0% 1, 12-15, 17-20, 22-23, 25-27, 30, 35, 37, 39, 41, 43-52, 54-56, 59-60, 62-64, 66, 71, 74, 76, 78, 81-82, 84-86, 88-97, 99, 101, 103-108, 110, 112, 114-115, 117-119, 121-123, 125-134, 136-137, 139, 141-149, 151, 153, 155-157, 159-161, 163-164, 167-169, 171-173, 175-183, 185-188, 190-230
packages/scaffold-ui/src/utils/ConstantsUtil.ts 0% 0% 0% 0% 1-13
Generated in workflow #6699 for commit cffa36a by the Vitest Coverage Report Action

Copy link
Contributor

github-actions bot commented Oct 7, 2024

♻️ Vite-Size ♻️

Size Difference

Size (kb) Gzip (kb)
Total Diff. 0 0

Current Size

Name Size (kb) Gzip (kb)
assets/index-BYllPMIi.js 1892.494 540.415
assets/index.js 9.642 3.149
assets/index2.js 11.588 3.21
assets/w3m-modal.js 7.504 2.654
assets/noble-curves.js 31.941 12.778
assets/2.21.4_bufferutil.js 2.789 1.328
assets/index3.js 102.251 29.116
assets/index4.js 304.393 87.285
assets/hooks.module.js 74.286 25.525
index.html 0.329 0.237
Total Size 2437.217 705.697

Base Size

Name Size (kb) Gzip (kb)
assets/index-BYllPMIi.js 1892.494 540.415
assets/index.js 9.642 3.149
assets/index2.js 11.588 3.21
assets/w3m-modal.js 7.504 2.654
assets/noble-curves.js 31.941 12.778
assets/2.21.4_bufferutil.js 2.789 1.328
assets/index3.js 102.251 29.116
assets/index4.js 304.393 87.285
assets/hooks.module.js 74.286 25.525
index.html 0.329 0.237
Total Size 2437.217 705.697

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.

1 participant