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

fix(feed): Fix Tip action and TipModal #1387

Merged
merged 5 commits into from
Nov 18, 2024
Merged

fix(feed): Fix Tip action and TipModal #1387

merged 5 commits into from
Nov 18, 2024

Conversation

Fix refresh Tip
Fix error uncontrolled input
Remove legacy stuff
Close properly Tip Modal and prevent unstoppable loading
Copy link

netlify bot commented Nov 18, 2024

Deploy Preview for testitori ready!

Name Link
🔨 Latest commit 57224f3
🔍 Latest deploy log https://app.netlify.com/sites/testitori/deploys/673b63b1fcb6ed0008f3ca2e
😎 Deploy Preview https://deploy-preview-1387--testitori.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Nov 18, 2024

Deploy Preview for teritori-dapp ready!

Name Link
🔨 Latest commit 57224f3
🔍 Latest deploy log https://app.netlify.com/sites/teritori-dapp/deploys/673b63b17092900008c662a9
😎 Deploy Preview https://deploy-preview-1387--teritori-dapp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@n0izn0iz n0izn0iz left a comment

Choose a reason for hiding this comment

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

I have a full app crash when a decimal number (like 0.42) is entered as tip amount, it's not present on main

Error: Fractional part missing

    at _e.TipModal (https://deploy-preview-1387--teritori-dapp.netlify.app/_expo/static/js/web/AppEntry-365ba3edc76685e54f8abeac0296fa69.js:3706:1087)
    at _e.TipButton (https://deploy-preview-1387--teritori-dapp.netlify.app/_expo/static/js/web/AppEntry-365ba3edc76685e54f8abeac0296fa69.js:3705:1495)
    at div
    at https://deploy-preview-1387--teritori-dapp.netlify.app/_expo/static/js/web/AppEntry-365ba3edc76685e54f8abeac0296fa69.js:603:1621
    at div
    at https://deploy-preview-1387--teritori-dapp.netlify.app/_expo/static/js/web/AppEntry-365ba3edc76685e54f8abeac0296fa69.js:603:1621
    at e.FlexRow (https://deploy-preview-1387--teritori-dapp.netlify.app/_expo/static/js/web/AppEntry-365ba3edc76685e54f8abeac0296fa69.js:3247:260)
    at e.SocialCardFooter (https://deploy-preview-1387--teritori-dapp.netlify.app/_expo/static/js/web/AppEntry-365ba3edc76685e54f8abeac0296fa69.js:5133:328)
    at div

MikaelVallenet
MikaelVallenet previously approved these changes Nov 18, 2024
Copy link
Member

@MikaelVallenet MikaelVallenet left a comment

Choose a reason for hiding this comment

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

LGTM

@WaDadidou
Copy link
Collaborator Author

I have a full app crash when a decimal number (like 0.42) is entered as tip amount, it's not present on main

Error: Fractional part missing

    at _e.TipModal (https://deploy-preview-1387--teritori-dapp.netlify.app/_expo/static/js/web/AppEntry-365ba3edc76685e54f8abeac0296fa69.js:3706:1087)
    at _e.TipButton (https://deploy-preview-1387--teritori-dapp.netlify.app/_expo/static/js/web/AppEntry-365ba3edc76685e54f8abeac0296fa69.js:3705:1495)
    at div
    at https://deploy-preview-1387--teritori-dapp.netlify.app/_expo/static/js/web/AppEntry-365ba3edc76685e54f8abeac0296fa69.js:603:1621
    at div
    at https://deploy-preview-1387--teritori-dapp.netlify.app/_expo/static/js/web/AppEntry-365ba3edc76685e54f8abeac0296fa69.js:603:1621
    at e.FlexRow (https://deploy-preview-1387--teritori-dapp.netlify.app/_expo/static/js/web/AppEntry-365ba3edc76685e54f8abeac0296fa69.js:3247:260)
    at e.SocialCardFooter (https://deploy-preview-1387--teritori-dapp.netlify.app/_expo/static/js/web/AppEntry-365ba3edc76685e54f8abeac0296fa69.js:5133:328)
    at div

Fixed
b02a670
and 57224f3

Copy link
Collaborator

@n0izn0iz n0izn0iz left a comment

Choose a reason for hiding this comment

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

test and reviewed

@n0izn0iz n0izn0iz added this pull request to the merge queue Nov 18, 2024
Merged via the queue into main with commit f9aee16 Nov 18, 2024
22 of 23 checks passed
@n0izn0iz n0izn0iz deleted the fix-tip branch November 18, 2024 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants