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: play sound on successful swaps #536

Merged
merged 2 commits into from
May 22, 2024
Merged

feat: play sound on successful swaps #536

merged 2 commits into from
May 22, 2024

Conversation

dni
Copy link
Member

@dni dni commented Mar 27, 2024

not very happy with the sound still, hard to find a good one

closes #338

screenshot-1716362712

Copy link

vercel bot commented Mar 27, 2024

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

Name Status Preview Updated (UTC)
webapp ✅ Ready (Inspect) Visit Preview May 22, 2024 10:38am
webapp-mainnet ✅ Ready (Inspect) Visit Preview May 22, 2024 10:38am

@kilrau
Copy link
Member

kilrau commented Mar 30, 2024

Nice, but it should play independently from notifications, just like mempool.space

@kilrau
Copy link
Member

kilrau commented May 6, 2024

Don't have "Play sound". Just play it when one enables it via the toggle.

Also, please try a toggle style without writing "on/off" out. Or at least only one of them. These toggles were invented to signify on/off...

Also on right, off left seems to be standard these days

src/components/Audio.tsx Outdated Show resolved Hide resolved
src/components/RefundButton.tsx Outdated Show resolved Hide resolved
src/context/Global.tsx Outdated Show resolved Hide resolved
src/context/Global.tsx Outdated Show resolved Hide resolved
src/context/Global.tsx Outdated Show resolved Hide resolved
src/i18n/i18n.ts Outdated Show resolved Hide resolved
src/context/Global.tsx Outdated Show resolved Hide resolved
src/context/Global.tsx Outdated Show resolved Hide resolved
closes #338

Update src/context/Global.tsx

Co-authored-by: michael1011 <[email protected]>
@kilrau
Copy link
Member

kilrau commented May 22, 2024

translations look good

@michael1011 michael1011 merged commit caa861a into main May 22, 2024
5 checks passed
@michael1011 michael1011 deleted the sound branch May 22, 2024 10:39
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.

UX: Add swap success sound
3 participants