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

next -> master #1126

Open
wants to merge 1,135 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1135 commits
Select commit Hold shift + click to select a range
41eda10
Fix onramper alph code
nop33 Feb 3, 2025
05d4031
Add onramper client UUID
nop33 Feb 3, 2025
c418271
Merge pull request #1202 from alephium/fix-android-qr-code-reader
mvaivre Feb 3, 2025
c489591
Rename callback
nop33 Feb 3, 2025
7a6e9ee
Align region settings to the right
nop33 Feb 3, 2025
07cacf7
Use region settings for crypto amounts
nop33 Feb 3, 2025
6352523
Merge pull request #1147 from alephium/onramper
nop33 Feb 3, 2025
ef6c499
Simplify buy disclaimer modal
nop33 Feb 3, 2025
8091f07
Pod install for expo blur update
nop33 Feb 3, 2025
f7e8c44
Do not calculate bg color for ALPH
nop33 Feb 3, 2025
5b3c6b3
Add link to Alph.land
nop33 Feb 3, 2025
b180631
Replace bytecode section with copy button
nop33 Feb 3, 2025
392f9ab
Do not display rejected message after approving
nop33 Feb 3, 2025
89c7854
Hide "Return to your browser" when in in-app browser
nop33 Feb 3, 2025
01fde12
Improve btn consistency
mvaivre Feb 3, 2025
d114a85
Fix onramp disclaimer padding
mvaivre Feb 3, 2025
34bdd72
Merge pull request #1210 from alephium/post-eco-fixes
nop33 Feb 3, 2025
9212bd0
New Crowdin translations by GitHub Action
crowdin-bot Feb 3, 2025
d4ffe73
Merge pull request #1217 from alephium/l10n_crowdin_translations
nop33 Feb 3, 2025
a189bf6
Merge branch 'next' into region-mw
nop33 Feb 3, 2025
4a4fe3e
Don't show close button in non scrollable modals
mvaivre Feb 3, 2025
aa0fb2a
Add changeset
mvaivre Feb 3, 2025
3ec04e7
Merge pull request #1219 from alephium/modal-optional-close-btn
nop33 Feb 3, 2025
31fac99
Merge pull request #1197 from alephium/region-mw
nop33 Feb 3, 2025
1322fb4
New Crowdin translations by GitHub Action
crowdin-bot Feb 3, 2025
94c6c50
Bump mobile wallet version to v2.1.2
nop33 Feb 3, 2025
dc8c952
Merge pull request #1220 from alephium/l10n_crowdin_translations
nop33 Feb 3, 2025
a1897b5
Clean up region select modal
nop33 Feb 4, 2025
c0a7204
Add search bar in regions modal
nop33 Feb 4, 2025
a4ad590
Move search bar to bottom on Android
nop33 Feb 4, 2025
8e86afc
Display tx and fee worth before sending tx
nop33 Jan 28, 2025
02fda76
Simplify fees box
nop33 Feb 4, 2025
e61d45f
Add bg to NFT thumbnails
nop33 Feb 4, 2025
9f6f688
Close all modals before send navigation
nop33 Feb 4, 2025
ef089dc
Show NST at the end of lists
mvaivre Feb 4, 2025
46b9059
Misc UI tweaks
mvaivre Feb 5, 2025
f2be191
Merge remote-tracking branch 'origin/next' into redesign-and-banxa-re…
mvaivre Feb 5, 2025
61ecf8c
Replace banxa with onramper
mvaivre Feb 5, 2025
c40402d
Fix FTNameCell overflow
mvaivre Feb 5, 2025
c5380ad
Fix ALPH logo
nop33 Feb 5, 2025
3a3acbe
Listen to URL changes in onramper's child windows
mvaivre Feb 5, 2025
b9d9e8a
Check for clipboard content before getting text
nop33 Feb 5, 2025
6a42450
Refactor selectOptionItem
mvaivre Feb 5, 2025
bd63de3
Clean up address selects
mvaivre Feb 5, 2025
66b57da
Merge pull request #1229 from alephium/alph-logo-v2
nop33 Feb 5, 2025
48ff4c9
Merge pull request #1227 from alephium/close-modals
nop33 Feb 5, 2025
b17a08d
Merge pull request #1231 from alephium/clipboard-mw
nop33 Feb 5, 2025
3d3cfee
Cleanup and simplify buttons (remove contrast variant)
mvaivre Feb 6, 2025
9dc86c1
Misc UI improvements
mvaivre Feb 6, 2025
0e01e6f
Start making more consistent the use of ModalFooterButtons
mvaivre Feb 6, 2025
8a3199b
Better popup / options + misc
mvaivre Feb 6, 2025
5a07181
Merge branch 'next' into dw-redesign
nop33 Feb 6, 2025
7446ccd
Remove unused prop
nop33 Feb 5, 2025
2aa32c9
Rename
nop33 Feb 5, 2025
b540843
Create basic tokens details modal
nop33 Feb 5, 2025
b7b7034
Fix lint
nop33 Feb 5, 2025
2456f14
Hide/unhide tokens
nop33 Feb 6, 2025
5e243d6
Lint
mvaivre Feb 7, 2025
4e24620
Fix all type errors
nop33 Feb 7, 2025
82d71b2
Rename temporarily
nop33 Feb 7, 2025
f259b63
Revert renaming
nop33 Feb 7, 2025
cbcdc59
Rename temp
nop33 Feb 7, 2025
62fcc84
Rename revert
nop33 Feb 7, 2025
9cd80ef
Rename temp
nop33 Feb 7, 2025
50b82a6
Rename revert
nop33 Feb 7, 2025
b5f3886
Add hidden assets list in address details modal
nop33 Feb 7, 2025
9fb1388
Add changeset
nop33 Feb 7, 2025
882213b
Move hook
nop33 Feb 7, 2025
5c3e164
Add link to contract address in explorer
nop33 Feb 7, 2025
5e10e2c
Merge pull request #1235 from alephium/dw-redesign-ilias
nop33 Feb 7, 2025
abead37
Add shortcut buttons in token details modal
nop33 Feb 7, 2025
205f337
Initialize amounts with selected token
nop33 Feb 7, 2025
254ff35
Merge pull request #1187 from Fugashu/featAddressOrdering
nop33 Feb 7, 2025
dc830c0
New Crowdin translations by GitHub Action
crowdin-bot Feb 7, 2025
0f70480
Fix lint
nop33 Feb 7, 2025
0cf5498
Add changeset
nop33 Feb 7, 2025
202ba3e
Merge pull request #1238 from alephium/l10n_crowdin_translations
nop33 Feb 7, 2025
c8ed474
Address list in token details modal
nop33 Feb 7, 2025
48896df
Design research (WIP)
mvaivre Feb 7, 2025
4d02c23
Fix type errors
nop33 Feb 7, 2025
fb910bc
Continue background cleaning
mvaivre Feb 7, 2025
ae8522f
Fix Paragraph centering + more tweaks
mvaivre Feb 7, 2025
5bcacb1
Bold amount in Verify screen + simpler label
mvaivre Feb 10, 2025
0a4e2b7
Merge pull request #1198 from alephium/tx-worth
nop33 Feb 10, 2025
8bc650f
New Crowdin translations by GitHub Action
crowdin-bot Feb 10, 2025
d7f54a6
Tweak inputs, modal header for more consistency and less clutter
mvaivre Feb 10, 2025
3013b92
More visible radio button
mvaivre Feb 10, 2025
b1d0d63
Merge pull request #1221 from alephium/searchable-flashlists
nop33 Feb 10, 2025
28a4580
Group NFTs per collection
nop33 Feb 5, 2025
371dde9
Merge pull request #1243 from alephium/l10n_crowdin_translations
nop33 Feb 10, 2025
6221f1f
New Crowdin translations by GitHub Action
crowdin-bot Feb 10, 2025
f096c50
Merge pull request #1245 from alephium/l10n_crowdin_translations
nop33 Feb 10, 2025
08bdc63
Hide already entered words of imported mnemonic
nop33 Feb 10, 2025
aa1d37c
Display entered amount fiat worth
nop33 Feb 10, 2025
d4996fe
Display address group in address details modal
nop33 Feb 10, 2025
1a2a2ca
Display address group in address box
nop33 Feb 10, 2025
f6b92b9
Remove unused prop
mvaivre Feb 10, 2025
8faa931
Use flashlist for addresses list in addresses screen
nop33 Feb 10, 2025
ed26819
Merge pull request #1244 from alephium/searchable-flashlists-mika
nop33 Feb 10, 2025
0b104b5
Cleanup
nop33 Feb 10, 2025
97229d7
Move onramper code to shared
nop33 Feb 10, 2025
a37b06d
Polish group labeling UI
mvaivre Feb 10, 2025
6fb5430
Merge pull request #1249 from alephium/display-address-group
nop33 Feb 10, 2025
b09b921
New Crowdin translations by GitHub Action
crowdin-bot Feb 10, 2025
95e8b59
Merge pull request #1251 from alephium/l10n_crowdin_translations
nop33 Feb 10, 2025
cc2a77d
Merge pull request #1250 from alephium/addresses-flashlist
nop33 Feb 10, 2025
25ece07
UI tweaks
mvaivre Feb 10, 2025
e841dff
Fix amount component catching press event even if discreet mode isn't…
mvaivre Feb 10, 2025
6d7cb4b
Merge pull request #1248 from alephium/fiat-worth
nop33 Feb 10, 2025
f6d4c62
Light UI tweaks
mvaivre Feb 10, 2025
9652a01
Reuse existing component for NftsCollectionTitle
mvaivre Feb 10, 2025
e13077f
Fix content padding top in VerifyMnemonicScreen
mvaivre Feb 10, 2025
1509b55
Merge pull request #1222 from alephium/nfts-bg
nop33 Feb 10, 2025
90243e6
Merge pull request #1232 from alephium/grouped-nfts-mw
nop33 Feb 10, 2025
840a19a
Merge pull request #1247 from alephium/hide-imported-mnemonic
nop33 Feb 10, 2025
f5bc1b8
Merge pull request #1199 from alephium/update-web3
nop33 Feb 10, 2025
6f1ab0f
Sanitize onOnRampTargetLocationReached callback execution
mvaivre Feb 11, 2025
d1fec63
Extract onramp windows management logic
mvaivre Feb 11, 2025
3cf276d
Simplify onramp code a bit
mvaivre Feb 11, 2025
21fe848
Fix web3 version in shared react package
nop33 Feb 11, 2025
e0a188a
Merge pull request #1254 from alephium/fix-web3-version
nop33 Feb 11, 2025
9b4d2cf
Fix display of NFT placeholder
nop33 Feb 4, 2025
613e322
Install expo-video
nop33 Feb 4, 2025
146e5d6
Support video NFTs in mobile wallet
nop33 Feb 4, 2025
d78a9a2
Fix lint
nop33 Feb 4, 2025
cc12dc9
Remove picture in picture
nop33 Feb 11, 2025
ddd17db
Add play icon overlay
nop33 Feb 11, 2025
789dea8
Unknown tokens modal
nop33 Feb 4, 2025
9641b7e
Merge pull request #1226 from alephium/unknown-tokens-modal
nop33 Feb 11, 2025
363f783
New Crowdin translations by GitHub Action
crowdin-bot Feb 11, 2025
f341169
Remove console logs in prod builds
nop33 Feb 11, 2025
d8a78c5
Remove unecessary toast for WC messages
mvaivre Feb 11, 2025
4510431
Remove background actions
nop33 Feb 11, 2025
5488972
Remove curly braces
mvaivre Feb 11, 2025
f89b617
Add Tanstack debug tools
nop33 Feb 11, 2025
340a5db
Remove useless placeholder data
mvaivre Feb 11, 2025
f9fdb9d
Move react packages to dev deps
mvaivre Feb 11, 2025
8450667
Add comment + tweak scrollbar color
mvaivre Feb 11, 2025
6c8f87c
Densify UI further
mvaivre Feb 11, 2025
002bf78
Merge pull request #1255 from alephium/l10n_crowdin_translations
nop33 Feb 11, 2025
6f66dc9
New Crowdin translations by GitHub Action
crowdin-bot Feb 11, 2025
cf6be15
Merge pull request #1258 from alephium/l10n_crowdin_translations
nop33 Feb 12, 2025
0e1ee4c
New Crowdin translations by GitHub Action
crowdin-bot Feb 12, 2025
6a06245
Merge pull request #1259 from alephium/l10n_crowdin_translations
nop33 Feb 12, 2025
fead26c
Create token details modal tabs
nop33 Feb 12, 2025
dbde99a
More densification, try to justify left
mvaivre Feb 11, 2025
9fef815
Optimize performance when switching tabs
nop33 Feb 12, 2025
f996bdb
Moar design / branding refinements
mvaivre Feb 12, 2025
d9800c8
Try using colors in NavItems
mvaivre Feb 12, 2025
f9fb54d
Tweak font sizes
mvaivre Feb 12, 2025
4d21b00
Optimize performance by freezing invisible content
nop33 Feb 12, 2025
718aa20
Remove unused files
nop33 Feb 12, 2025
2b60de1
Enable token activity tab
nop33 Feb 12, 2025
7b2dbe3
Fix no filtered tx message
nop33 Feb 12, 2025
b63cba3
Fix type errors
nop33 Feb 12, 2025
faec89e
Put wallet name button to top, relocate settings + many tweaks
mvaivre Feb 12, 2025
45910b8
Use contrasted tabs + misc
mvaivre Feb 12, 2025
bc8d65e
Contrasted allocation
mvaivre Feb 12, 2025
2499e4c
Enable navigation freezing
nop33 Feb 12, 2025
94d1834
Continue work on layout, move trafic lights
mvaivre Feb 12, 2025
23a4402
Disable animated bg animation when screen not in focus
nop33 Feb 12, 2025
305a5e5
Lighter tabbar design
mvaivre Feb 12, 2025
c08e00f
Disable gyroscope when screen not in focus
nop33 Feb 12, 2025
2ad4cbc
Modal content cleanup
mvaivre Feb 12, 2025
141fa4a
Add changeset
nop33 Feb 12, 2025
889fc8d
Fix wallet unlock glitch
nop33 Feb 12, 2025
cc04372
Cleanup
nop33 Feb 12, 2025
d8ab00b
More consistency
mvaivre Feb 13, 2025
44ad1f1
More cleaning
mvaivre Feb 13, 2025
db758d7
Clean modal header, animation
mvaivre Feb 13, 2025
6cc98b6
Do not download NFT images larger than 5 MB
nop33 Feb 13, 2025
b32ac6a
Downlaod NFT when opening the NFT details modal
nop33 Feb 13, 2025
766cc15
Display cached NFT after tapping
nop33 Feb 13, 2025
58bdbfe
Introduce dynamic color generation for UI compoenents
mvaivre Feb 13, 2025
29665f3
Use dynamic colors for shortcut buttons
mvaivre Feb 13, 2025
d9e206b
Reduce runs of combine Tanstack functions
nop33 Feb 13, 2025
d5a552e
Refine logic around dynamic colors
mvaivre Feb 13, 2025
3cfef3f
Fix tab rerendering on mouse over
nop33 Feb 13, 2025
ed782c0
Avoid potential contrast issues
mvaivre Feb 13, 2025
5e3da66
Restrict wallet colors to palette colors
mvaivre Feb 13, 2025
fbe5cd6
Merge pull request #1256 from alephium/dw-redesign-clean-onramp
mvaivre Feb 14, 2025
418063c
Reduce NFT modal margin top
mvaivre Feb 14, 2025
7c1fcd1
Merge pull request #1237 from alephium/dw-redesign-ilias
nop33 Feb 14, 2025
e1a4b0b
Merge pull request #1223 from alephium/video-nfts-mw
nop33 Feb 14, 2025
586937d
Fade animation in, slow it down, add it to overview
mvaivre Feb 14, 2025
d63e1d5
Tweaks to onboarding (mnemonic, words)
mvaivre Feb 14, 2025
8a628c6
Merge pull request #1257 from alephium/performance-mw
nop33 Feb 14, 2025
63a9d22
Continue with design experimentation and research
mvaivre Feb 14, 2025
ffcfb34
Work with wallet colors
mvaivre Feb 14, 2025
a0a1560
Cleanup popups
mvaivre Feb 14, 2025
b5bedb5
Quick WIP snackbar redesign
mvaivre Feb 14, 2025
87f6fe8
Avoid re-calculating wallet tokens by type
nop33 Feb 14, 2025
08712dd
Delete unused file
nop33 Feb 14, 2025
e4ce402
Optimize address token badge list
nop33 Feb 14, 2025
71ec492
Unify alph and tokens balances context
nop33 Feb 14, 2025
1fddfee
Clean address grid rows
mvaivre Feb 14, 2025
25f69cf
Improve token fetching
nop33 Feb 14, 2025
9cff0c8
Improve token query with fetchQuery
nop33 Feb 16, 2025
0ab4cc0
Improve types
nop33 Feb 16, 2025
63a3285
Cleanup
nop33 Feb 16, 2025
e6457fb
Clean select itoms and code
mvaivre Feb 17, 2025
76a6e17
Improve performance of address picker
nop33 Feb 17, 2025
4341e56
Fix theme
nop33 Feb 17, 2025
62e30c0
Fix NFT list
nop33 Feb 17, 2025
d43a49d
Add changeset
nop33 Feb 17, 2025
69c4789
Remove override prop
nop33 Feb 17, 2025
ff64255
Merge pull request #1262 from alephium/dw-redesign-ilias
nop33 Feb 17, 2025
2303a87
Merge branch 'next' into dw-redesign
nop33 Feb 17, 2025
a8688e0
Merge pull request #1236 from alephium/dw-redesign
mvaivre Feb 17, 2025
67be057
New Crowdin translations by GitHub Action
crowdin-bot Feb 17, 2025
a4ba69e
Send modal cleaning
mvaivre Feb 17, 2025
5c2a1c5
Merge remote-tracking branch 'origin/next' into dw-redesign-mika
mvaivre Feb 17, 2025
0d7fea3
Reduce animation fade-in duration
mvaivre Feb 17, 2025
c0ee0bb
Remove unused variables
mvaivre Feb 17, 2025
b58c558
Fix audit
mvaivre Feb 17, 2025
8d5afff
Merge pull request #1263 from alephium/l10n_crowdin_translations
nop33 Feb 17, 2025
cb941fe
New Crowdin translations by GitHub Action
crowdin-bot Feb 17, 2025
1ce6a5b
Merge pull request #1265 from alephium/l10n_crowdin_translations
nop33 Feb 17, 2025
1a208ba
Revert change + remove props destructuration
mvaivre Feb 17, 2025
5635025
Fix lint
nop33 Feb 17, 2025
bce6618
Fix token initialization when coming from token details modal
nop33 Feb 17, 2025
83a9b85
Simplify asset selection when only 1 asset
nop33 Feb 17, 2025
5f1cad8
Fix layout of check step
nop33 Feb 17, 2025
6aa9362
Fix padding in address options modal
nop33 Feb 18, 2025
aa44694
Fix header of central modal
nop33 Feb 18, 2025
7071fff
Use address has as subtitle in address options modal
nop33 Feb 18, 2025
714d176
Remove duplicated check icon in default address picker
nop33 Feb 18, 2025
c7cae24
Fix address hash truncations
nop33 Feb 18, 2025
bd90355
Move address label input label above input field
nop33 Feb 18, 2025
dafd711
Prevent popup overflow when its close to header
nop33 Feb 18, 2025
e24d26c
Fix sort by selector width
nop33 Feb 18, 2025
5677473
Rename
nop33 Feb 18, 2025
309f502
Add label to input field
nop33 Feb 18, 2025
0f5dac9
Fix address badge label truncations
nop33 Feb 18, 2025
7e59269
Fix spacing in check send modal
nop33 Feb 18, 2025
27cfb52
Update token details modal layout
nop33 Feb 18, 2025
49eb016
Fix modals overlapping
nop33 Feb 18, 2025
146028f
Fix passphrase unlock
nop33 Feb 18, 2025
527fbde
Add settings button to locked wallet screens
nop33 Feb 18, 2025
aa41908
Fix header of token details modal
nop33 Feb 18, 2025
a01f265
Fix size of QR code
nop33 Feb 18, 2025
471c4d5
Fix margins and font sizes
mvaivre Feb 20, 2025
4b881b0
Refinements
mvaivre Feb 20, 2025
9f23d23
Clean TransactionDetailsModal top part
mvaivre Feb 20, 2025
70ca590
WIP Use boxes in TX verify
mvaivre Feb 20, 2025
0c4c36b
Merge pull request #1268 from alephium/dw-redesign-mika-ilias-mika
nop33 Feb 20, 2025
081f557
Merge pull request #1267 from alephium/dw-redesign-mika-ilias
nop33 Feb 20, 2025
3414a14
Merge pull request #1264 from alephium/dw-redesign-mika
nop33 Feb 20, 2025
a9b3ce9
New Crowdin translations by GitHub Action
crowdin-bot Feb 20, 2025
d09916a
Merge pull request #1269 from alephium/l10n_crowdin_translations
nop33 Feb 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .changeset/cold-donuts-film.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"alephium-desktop-wallet": patch
---

Fix display of dApp messages
5 changes: 5 additions & 0 deletions .changeset/curvy-timers-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@alephium/mobile-wallet": patch
---

Group NFTs per collection
5 changes: 5 additions & 0 deletions .changeset/eighty-squids-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"alephium-desktop-wallet": patch
---

Enable Thai Baht (THB) and Hong Kong Dollar (HKD) fiat currencies
5 changes: 5 additions & 0 deletions .changeset/green-tools-beg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@alephium/mobile-wallet": patch
---

Display transaction and fee worth before sending
5 changes: 5 additions & 0 deletions .changeset/grumpy-cycles-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@alephium/mobile-wallet": patch
---

Support video NFTs
5 changes: 5 additions & 0 deletions .changeset/large-parrots-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"alephium-desktop-wallet": patch
---

Hide unwanted assets
5 changes: 5 additions & 0 deletions .changeset/long-buckets-act.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@alephium/mobile-wallet": patch
---

Improve battery consumption
5 changes: 5 additions & 0 deletions .changeset/nervous-olives-provide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@alephium/mobile-wallet": patch
---

Display address group
5 changes: 5 additions & 0 deletions .changeset/perfect-chairs-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"alephium-desktop-wallet": patch
---

Improve performance
5 changes: 5 additions & 0 deletions .changeset/proud-ears-judge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@alephium/mobile-wallet": patch
---

Unknown tokens modal
5 changes: 5 additions & 0 deletions .changeset/quiet-ducks-grin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@alephium/mobile-wallet": patch
---

Searchable regions list
5 changes: 5 additions & 0 deletions .changeset/silly-books-rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@alephium/mobile-wallet": patch
---

Close open modals when sending token
5 changes: 5 additions & 0 deletions .changeset/six-mangos-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"alephium-desktop-wallet": patch
---

Add address sorting options
5 changes: 5 additions & 0 deletions .changeset/tall-frogs-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@alephium/mobile-wallet": patch
---

Hide imported secret recovery words
5 changes: 5 additions & 0 deletions .changeset/three-files-cross.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"alephium-desktop-wallet": patch
---

Fix password wrongly required for Ledger wallet
5 changes: 5 additions & 0 deletions .changeset/warm-schools-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@alephium/mobile-wallet": patch
---

Display fiat worth of entered amount
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ node_modules

# turbo
.turbo

# IDE
*.idea
16 changes: 0 additions & 16 deletions apps/desktop-wallet/.afterAllArtifactBuild.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
// Copyright 2018 - 2024 The Alephium Authors
// This file is part of the alephium project.
//
// The library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the library. If not, see <http://www.gnu.org/licenses/>.

const crypto = require('crypto')
const fs = require('fs')
const path = require('path')
Expand Down
16 changes: 0 additions & 16 deletions apps/desktop-wallet/.afterPack.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
// Copyright 2018 - 2024 The Alephium Authors
// This file is part of the alephium project.
//
// The library is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// The library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with the library. If not, see <http://www.gnu.org/licenses/>.

// The hook is a temporary fix to set the right icon size for the deb archive.
// The hook only applies to the `deb` target.
// The hook will set the icon size to 512 for all icons with a size of 0.
Expand Down
18 changes: 0 additions & 18 deletions apps/desktop-wallet/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
/*
Copyright 2018 - 2024 The Alephium Authors
This file is part of the alephium project.

The library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

The library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with the library. If not, see <http://www.gnu.org/licenses/>.
*/

module.exports = {
extends: [
'@alephium/eslint-config/base',
Expand Down
1 change: 1 addition & 0 deletions apps/desktop-wallet/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20
18 changes: 0 additions & 18 deletions apps/desktop-wallet/.signWindows.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
/*
Copyright 2018 - 2024 The Alephium Authors
This file is part of the alephium project.

The library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

The library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with the library. If not, see <http://www.gnu.org/licenses/>.
*/

const path = require('path')
const fs = require('fs')
const childProcess = require('child_process')
Expand Down
13 changes: 13 additions & 0 deletions apps/desktop-wallet/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# alephium-desktop-wallet

## 2.5.1

### Patch Changes

- b3124a0: Fix auto update
- 8abda40: Fix removal of active WalletConnect sessions
- 8abda40: Frameless window on Windows
- 8abda40: Optimize transactions loading
- 8abda40: Fix Linux app title bar
- 8abda40: Enable Thai translations
- 8abda40: Support alph_signAndSubmitUnsignedTx WalletConnect method
- 1c6dcd7: Improve performance of address picker

## 2.5.0

### Minor Changes
Expand Down
45 changes: 45 additions & 0 deletions apps/desktop-wallet/electron/appProtocol.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
import path from 'node:path'
import { pathToFileURL } from 'node:url'

import { app, net, protocol } from 'electron'

import { APP_ROOT_PATH } from './paths'

export const APP_PROTOCOL = 'alephium'

// See: https://www.electronjs.org/docs/latest/tutorial/security#18-avoid-usage-of-the-file-protocol-and-prefer-usage-of-custom-protocols
export const registerAppProtocol = () => {
protocol.registerSchemesAsPrivileged([
{
scheme: APP_PROTOCOL,
privileges: {
secure: true,
standard: true,
supportFetchAPI: true
}
}
])

if (process.defaultApp) {
if (process.argv.length >= 2) {
app.setAsDefaultProtocolClient(APP_PROTOCOL, process.execPath, [path.resolve(process.argv[1])])
}
} else {
app.setAsDefaultProtocolClient(APP_PROTOCOL)
}
}

export const handleAppProtocolRequests = () => {
protocol.handle(APP_PROTOCOL, (request) => {
const filePath = request.url.slice(`${APP_PROTOCOL}://`.length)

// Validate the path to prevent directory traversal attacks
const pathToServe = path.resolve(APP_ROOT_PATH, filePath)
const relativePath = path.relative(APP_ROOT_PATH, pathToServe)
const isSafe = relativePath && !relativePath.startsWith('..') && !path.isAbsolute(relativePath)

return isSafe
? net.fetch(pathToFileURL(pathToServe).toString())
: new Response('Invalid path', { status: 400, headers: { 'content-type': 'text/plain' } })
})
}
18 changes: 0 additions & 18 deletions apps/desktop-wallet/electron/autoUpdater.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
/*
Copyright 2018 - 2024 The Alephium Authors
This file is part of the alephium project.

The library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

The library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with the library. If not, see <http://www.gnu.org/licenses/>.
*/

import { BrowserWindow, ipcMain } from 'electron'
import { autoUpdater } from 'electron-updater'

Expand Down
26 changes: 8 additions & 18 deletions apps/desktop-wallet/electron/electron-env.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
/*
Copyright 2018 - 2024 The Alephium Authors
This file is part of the alephium project.

The library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

The library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with the library. If not, see <http://www.gnu.org/licenses/>.
*/

import { ProxySettings } from '@alephium/shared'
import { NativeTheme } from 'electron/main'
import { ProgressInfo, UpdateDownloadedEvent } from 'electron-updater'
Expand Down Expand Up @@ -50,8 +32,16 @@ declare global {
getSystemLanguage: () => Promise<string | undefined>
getSystemRegion: () => Promise<string>
setProxySettings: (proxySettings: ProxySettings) => Promise<void>
openOnRampServiceWindow: ({ url, targetLocation }: { url: string; targetLocation: string }) => void
onOnRampTargetLocationReached: (callback: () => void) => () => void
restart: () => void
}
window: {
minimize: () => Promise<void>
maximize: () => Promise<void>
close: () => Promise<void>
onMaximizedChange: (callback: (maximized: boolean) => void) => () => void
}
}
}
}
18 changes: 0 additions & 18 deletions apps/desktop-wallet/electron/ledger.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
/*
Copyright 2018 - 2024 The Alephium Authors
This file is part of the alephium project.

The library is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

The library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with the library. If not, see <http://www.gnu.org/licenses/>.
*/

import { ledgerUSBVendorId } from '@ledgerhq/devices'
import { BrowserWindow } from 'electron'

Expand Down
Loading
Loading