Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1106 commits
Select commit Hold shift + click to select a range
50c8add
Refactor wallet module to use crypto-utils
koo5 Aug 12, 2025
436e49b
Fix: Table responsivnes, dragging, elipses
Aug 12, 2025
28c0c9d
Add: wallet dropdown enable elipses
Aug 12, 2025
f7818be
refactor...
koo5 Aug 12, 2025
b8f98a6
refactored to use submodule instead of a separate package for crypto-…
koo5 Aug 12, 2025
5705727
cryptoutils becomes submodule
koo5 Aug 14, 2025
3f4a725
cryptoutils becomes submodule
koo5 Aug 14, 2025
3236f54
crypto-utils
koo5 Aug 14, 2025
795dbb2
crypto-utils is a package again
koo5 Aug 14, 2025
3d48fb2
Fix UI and debug improvements for HW wallet integration
Aug 18, 2025
e7885cc
cleanup
koo5 Aug 20, 2025
b90f504
cleanup
koo5 Aug 20, 2025
080a1d7
Add QR scanner support and network check in Send page
koo5 Aug 21, 2025
67f59a7
lock
koo5 Aug 21, 2025
c80a5cc
Fix: long texts in table td
Aug 21, 2025
e77fa4f
Fix: few more places with longer text + dropdowns
Aug 21, 2025
c301669
Improve QR Payment handling & settings integration
koo5 Aug 21, 2025
401999c
Remove min width
Aug 23, 2025
d42520c
Close dialog on resize for correct content init
Aug 24, 2025
972fff1
Fix: server dropdown - elipses
Aug 24, 2025
836b246
Fix: icon distance
Aug 24, 2025
d434165
Fix: network dropdowns - max-width
Aug 24, 2025
373a844
WIP: Wallet transaction log
libersoft-org Aug 24, 2025
c4feca9
Fix: oberserver loop issue
Aug 24, 2025
9ca4959
Apply: truncate text to networks name
Aug 24, 2025
b08327c
Truncate function
Aug 24, 2025
d541b2d
Delte duplicate
Aug 24, 2025
cdd7aa4
....
Aug 25, 2025
aca8f40
fix
Aug 25, 2025
132fc22
bun update libersoft-crypto
Aug 25, 2025
b95b676
POL POL
Aug 25, 2025
cbdc701
bun update libersoft-crypto
Aug 25, 2025
b9e15ce
Update crypto lib
libersoft-org Aug 25, 2025
ea7fcc4
Merge branch 'main' into ui-fixes
Aug 27, 2025
5d4e432
Remove border-collapse
Aug 27, 2025
17d7b8a
Fix: balance alignemnt on smaller devices
Aug 27, 2025
0b7d19f
Add history log to wallet
libersoft-org Aug 28, 2025
f260c0a
Fix
libersoft-org Aug 28, 2025
90a940d
Another fix
libersoft-org Aug 28, 2025
8f8aa5c
Refactor commit.sh to auto-generate commit messages.
libersoft-org Aug 28, 2025
c62b3eb
Update commit message generation logic in script.
libersoft-org Aug 28, 2025
2f8a661
Migrate log.ts to crypto-utils
Aug 29, 2025
9e59b2e
lock
koo5 Aug 29, 2025
a8d554f
fix
koo5 Aug 29, 2025
8687bda
Refactor PhotoCard for swipe functionality and indicators.
libersoft-org Aug 30, 2025
c1391a4
Add loading spinner to photo cards when fetching data
libersoft-org Aug 30, 2025
4ee2ab2
Add swipe animations and overlay buttons to PhotoCard.
libersoft-org Aug 30, 2025
9ecf669
Improve swipe feedback and add accessibility features.
libersoft-org Aug 30, 2025
c1d1359
Refactor Map component to use internal coordinates.
libersoft-org Aug 30, 2025
75cd9a3
Add custom markers with photos to the map component.
libersoft-org Aug 30, 2025
ba47949
Update marker names in Map.svelte component.
libersoft-org Aug 30, 2025
5043e1c
Fix: elipses in balance table
Aug 31, 2025
2c7b27e
Update: render value and name in separate td
Aug 31, 2025
ced5176
Add clustering and distance calculation for markers
libersoft-org Aug 31, 2025
3750f11
Translate comments to English in Map.svelte
libersoft-org Aug 31, 2025
c545dbb
Add user cards and sample data for nearby users.
libersoft-org Aug 31, 2025
a151cab
Refactor PhotoCard components and improve styling.
libersoft-org Aug 31, 2025
4e66482
Improve QR scanning simulation & debug output
koo5 Sep 1, 2025
60ece06
Fix photo paths and update active tab naming.
libersoft-org Sep 1, 2025
4b85938
Improve QR scanner and test stability
Sep 1, 2025
05d5ea6
Refactor QR scanner tests and remove legacy helpers
koo5 Sep 1, 2025
a62ba3b
skip
koo5 Sep 2, 2025
aeac019
cleanu
Sep 2, 2025
7c9e1f5
fix
Sep 2, 2025
86ac23c
Fix Ledger instructions
libersoft-org Sep 2, 2025
bea5500
Remove header and add warning for Ledger support.
libersoft-org Sep 2, 2025
50593ba
Integrate reusable address form for HW wallet flows
Sep 2, 2025
84cdbef
Merge branch 'main' of github.com:libersoft-org/yellow-client
Sep 2, 2025
e3d892f
popup toggle
Sep 2, 2025
f3f8a21
Merge branch 'main' into ui-fixes
Sep 4, 2025
05d18c8
Revert: balance, Remove: window close on resize
Sep 4, 2025
fcb34c0
Improve Ledger connection flow and UI
Sep 4, 2025
d87a70a
Use pure css for elipses
Sep 4, 2025
7b5dfc8
Remove js related to text-truncate
Sep 4, 2025
9e048f2
Fix height issue
Sep 4, 2025
606813c
Fix cell height
Sep 5, 2025
a7e8369
Fix: update padding to reduce height
Sep 5, 2025
ca5fda9
bump
Sep 5, 2025
eaf972a
Balance - elipses - test
Sep 5, 2025
673128f
Fix wallet sections
Sep 5, 2025
d309475
Update libersoft-crypto dependency and refine Ledger UI
Sep 5, 2025
5f2ceb8
Refactor import paths and update network/Trezor dialogs
Sep 5, 2025
a280767
..
Sep 5, 2025
2ebcc60
..
Sep 5, 2025
b09b4cd
bump
Sep 5, 2025
b88db55
Centralize inspector configuration
Sep 8, 2025
f325b8a
Refactor token balance fetching and update debug logs
Sep 8, 2025
ecdb2b9
Subscribe to tokens changes & add popular tokens action
Sep 8, 2025
49b6b7d
cleanup
Sep 8, 2025
784dd93
Refactor sensitive data reveal and blur behavior
Sep 8, 2025
fbf5163
Update libersoft-crypto to commit 66475e9 and add formatBalance tests
Sep 8, 2025
cc5f22c
Add "Popular Tokens" option to network tokens settings
Sep 8, 2025
24a109e
wizard button
Sep 8, 2025
ee88cda
skip
Sep 9, 2025
afef3a8
Fix ethers v6 WebSocket import issue in Vitest
Sep 9, 2025
c7f7102
Add CoinGecko platform ID to network settings
Sep 9, 2025
e6e339d
Refactor token list fetching to use CoinGecko API
Sep 9, 2025
13d5f0a
Preserve window state for maximize/restore
Sep 9, 2025
c1e8306
Refine BaseSettings TS types and usage
Sep 9, 2025
ef7374a
Migrate settings tree to Svelte 4 derived stores
Sep 9, 2025
7b86aaf
Refactor module update and logging
Sep 10, 2025
f1fdc8b
Separate wallet wizard & update settings module
Sep 10, 2025
5503962
Refactor settings subtree navigation
Sep 10, 2025
ac87f71
ref
Sep 10, 2025
dc4045b
Refactor settings state and update wallet wizard
Sep 11, 2025
adafaea
fix
Sep 11, 2025
0bfe0b2
nft
Sep 11, 2025
2e57c0b
Settings - wallet - type apply elipses
Sep 14, 2025
813ccb7
Remove max-width
Sep 14, 2025
52e02c6
Balance - fix spinner
Sep 14, 2025
3a4caa6
Fix draggable clone
Sep 14, 2025
b1f818b
Revive NFT functionality and update NFT fields
Sep 15, 2025
b958d65
Update libersoft-crypto hash & bump ethers version
Sep 15, 2025
7ae414e
Fix overflow of clone beyond original table
Sep 15, 2025
9267396
Elipses - nft and tokens
Sep 15, 2025
7bb5426
Merge pull request #67 from libersoft-org/dev2025-09-10
koo5 Sep 15, 2025
6f3d391
Remove min-width from balance
Sep 15, 2025
7f6670e
Apply elipses
Sep 15, 2025
ceab4e2
Merge branch 'main' into ui-fixes
Sep 16, 2025
10f81a3
Apply ellipses
Sep 16, 2025
ffdb6dd
Break line
Sep 17, 2025
0592e1b
Remove testing code
Sep 17, 2025
2f47b6d
Ellpises: dynamic calculation of height
Sep 17, 2025
47fd150
Decrease debounce time
Sep 17, 2025
1dff58c
Enforce testId prop & update UI tests
Sep 18, 2025
5660bfd
skip window movement test for now
Sep 18, 2025
9e3506a
skip camera tests in CI
Sep 18, 2025
1c07db7
skip camera tests in CI 2
Sep 18, 2025
b846d76
Improve CI perms, GUID security, and wallet recovery
Sep 18, 2025
72534f9
cleanup.....breakage...
Sep 18, 2025
64068b3
Break fiat on new line
Sep 18, 2025
8921d9e
Remove console
Sep 18, 2025
a525501
Merge branch 'main' into ui-fixes
Sep 18, 2025
cd4962c
Remove test value
Sep 18, 2025
64188fb
Remove BaseSettings
Sep 19, 2025
0bcad93
Refactor layout and remove unnecessary Paper component.
libersoft-org Sep 19, 2025
7439642
Fix error message for commit generation and remove padding.
libersoft-org Sep 19, 2025
d772cdc
Update commit message output format with color.
libersoft-org Sep 19, 2025
972d41f
Fix: resolve svelte-check errors and warnings
Sep 21, 2025
71ca01f
Merge pull request #65 from libersoft-org/ui-fixes
koo5 Sep 21, 2025
a4d480b
Merge remote-tracking branch 'origin/main' into dev2025-09-18
Sep 29, 2025
3a5d176
Refactor NFT/Token types and update imports
Oct 1, 2025
244304f
Centralize exchange rate management & refine balance UI
Oct 3, 2025
af5eb55
..
Oct 3, 2025
b3f26af
Refactor currency components and NFT refresh handling
Oct 6, 2025
74c808b
Clean up debug logging and add token validation
Oct 6, 2025
0f7e463
Update balance types and currency settings
Oct 7, 2025
4c41aea
Improve token refresh and rename token store
Oct 8, 2025
53b8d77
Improve NFT balance refresh & debug output
Oct 8, 2025
cdc5b6c
..
Oct 9, 2025
3c1b4ae
Refactor Dialog state and simplify NFT settings
Oct 10, 2025
bd333c9
UI cleanup: remove empty style & add NFT image support
koo5 Oct 13, 2025
b195c23
Remove onError handler from NFT image
koo5 Oct 13, 2025
5b7099a
Enhance window centering and debug logging
koo5 Oct 13, 2025
a1a6335
Fix state snapshot equality checks and send currency selection
Oct 15, 2025
ca395fb
Refactor QR parsing and tx logging
Oct 16, 2025
4b1160b
bump
Oct 16, 2025
ffcbf1d
Refactor UI components cleanup & debug logs
Oct 17, 2025
b0e2aee
Improve Send page state management
Oct 17, 2025
4d43413
Refactor onMount initialization in Send.svelte
Oct 17, 2025
63720d7
Improve spinner config and clean up NFT balance display
Oct 17, 2025
1d375d4
Refine balance styles and update spinner size
Oct 17, 2025
357b5d9
cleanup
Oct 17, 2025
279870b
Merge pull request #70 from libersoft-org/dev2025-09-18
koo5 Oct 17, 2025
ee9dfe5
Add git stats
libersoft-org Apr 10, 2026
9e5c8bf
Fix undregistration of listener
libersoft-org Apr 11, 2026
ac791c5
Fix memory leak
libersoft-org Apr 11, 2026
262ba24
Cleanup
libersoft-org Apr 11, 2026
da5631d
Convert Context menu to Svelte 5 + TypeScript
libersoft-org Apr 11, 2026
044cf8c
Convert Context menu to Svelte 5 + TypeScript
libersoft-org Apr 11, 2026
055a6ed
Fix Context menu
libersoft-org Apr 11, 2026
b478118
Upgrade dependencies, fix warnings
libersoft-org Apr 11, 2026
1046617
Fix svelte-check errors
libersoft-org Apr 11, 2026
a97480a
Fix switch + settings
libersoft-org Apr 11, 2026
04a1f1a
Fix svelte-check errors
libersoft-org Apr 11, 2026
4b1a485
Fix svelte-check errors
libersoft-org Apr 11, 2026
ac90369
Fix svelte-check errors
libersoft-org Apr 11, 2026
a4fcbec
Fix many svelte-check errors
libersoft-org Apr 11, 2026
7377cc8
Fix svelte-check errors
libersoft-org Apr 11, 2026
9048c37
Fix all svelte-check errors
libersoft-org Apr 11, 2026
98dc4f1
Fix build warnings
libersoft-org Apr 12, 2026
1a3b9a6
Fix messages
libersoft-org Apr 12, 2026
afd1d2d
Fix Dialog HTML injection
libersoft-org Apr 12, 2026
7eb2a1b
Fix unknown requests warning
libersoft-org Apr 12, 2026
6c480b9
Fix unknown server message - logging
libersoft-org Apr 12, 2026
4557039
Remove effect from Settings Notification dialog
libersoft-org Apr 12, 2026
4707270
Fix file download chunk order
libersoft-org Apr 12, 2026
ea48ecb
Fix wallet timeout
libersoft-org Apr 12, 2026
935f3f7
Fix notifications
libersoft-org Apr 12, 2026
bca920e
Remove effect from table
libersoft-org Apr 12, 2026
e6060f5
Fix undefined network error
libersoft-org Apr 12, 2026
ff30ddf
Fix truncate text crash on null/undefined
libersoft-org Apr 12, 2026
8ae28ff
Add p2pThrottleMemory map cleanup
libersoft-org Apr 12, 2026
fa9baf6
Fix emojis reject
libersoft-org Apr 12, 2026
2a68275
Fix download blob
libersoft-org Apr 12, 2026
7281aea
Fix error handling
libersoft-org Apr 12, 2026
5b7a6d8
Fix ContextMenu
libersoft-org Apr 12, 2026
fc07609
Fix decimals
libersoft-org Apr 12, 2026
5209b8e
Fix minor bugs
libersoft-org Apr 12, 2026
2d72ebf
Fix alert and context menu component
libersoft-org Apr 12, 2026
a1ecf1e
Fix notification interval cleanup
libersoft-org Apr 12, 2026
7c4b3ac
Fix minor bugs
libersoft-org Apr 12, 2026
58b32e6
Fix Dexie liveQuery unsubscribe
libersoft-org Apr 12, 2026
a1ffab9
Fix initCleanup
libersoft-org Apr 12, 2026
72409ef
WebSocket send in try catch
libersoft-org Apr 12, 2026
abbc858
Fix filedownloader cleanup
libersoft-org Apr 12, 2026
d784f19
Prevent duplicate connections
libersoft-org Apr 12, 2026
fe552e6
Fix XSS bug
libersoft-org Apr 12, 2026
013d9ec
Fix uploadChunkAsync
libersoft-org Apr 12, 2026
62a5190
Fix dark mode - remove effect
libersoft-org Apr 12, 2026
3c2865a
Fix minor bug
libersoft-org Apr 12, 2026
c81f034
Fix minor bugs
libersoft-org Apr 12, 2026
71aea24
Fix Buffer inject
libersoft-org Apr 12, 2026
661dfc9
Convert .js to ts in core
libersoft-org Apr 12, 2026
2ef4e09
Convert all modules from JS to TS
libersoft-org Apr 12, 2026
21d4f4f
Convert core from Svelte 4 to Svelte 5
libersoft-org Apr 12, 2026
077e965
Convert Modules from Svelte 4 to 5 and JS to TS
libersoft-org Apr 12, 2026
eef97f0
Fix wallet network duplicates
libersoft-org Apr 13, 2026
f86e803
Fix svelte-check errors
libersoft-org Apr 13, 2026
44c28e7
Fix account bar opening
libersoft-org Apr 14, 2026
149904d
Replace effects
libersoft-org Apr 14, 2026
3dfca4c
Remove effect from Export
libersoft-org Apr 14, 2026
eb0d0a8
Remove effect from Import
libersoft-org Apr 14, 2026
c6766ae
Remove effect from Settings
libersoft-org Apr 14, 2026
b534961
Update packages
libersoft-org Apr 14, 2026
1174c46
Remove effect from Switch
libersoft-org Apr 14, 2026
320a433
Remove effect from Td
libersoft-org Apr 14, 2026
9ad6f9c
Remove effect from Th
libersoft-org Apr 14, 2026
8035ebb
Remove effect from Tooltip
libersoft-org Apr 14, 2026
8e0668b
Remove effect from Window
libersoft-org Apr 14, 2026
23e426f
Remove effect from Wizard
libersoft-org Apr 14, 2026
0f6e714
Remove effect from account delete dialog
libersoft-org Apr 14, 2026
8358caa
Remove effect from add edit form
libersoft-org Apr 14, 2026
8b441f3
Remove effect from Gallery
libersoft-org Apr 14, 2026
5909b54
Remove effect from Intersector
libersoft-org Apr 14, 2026
f254140
Remove effect from Intersector
libersoft-org Apr 14, 2026
defb9a2
Remove effect from multiple components
libersoft-org Apr 14, 2026
626a844
Remove effect from multiple components
libersoft-org Apr 14, 2026
b67c57a
Remove effect from multiple components
libersoft-org Apr 14, 2026
cc8100c
Remove effect from multiple components
libersoft-org Apr 14, 2026
a32d7c5
Remove effect from multiple components
libersoft-org Apr 14, 2026
d6cfc57
Remove effect from SendConfirmation
libersoft-org Apr 14, 2026
94c8c91
Remove effect from History
libersoft-org Apr 14, 2026
819a7a1
Remove effect from multiple components
libersoft-org Apr 14, 2026
c81e104
Cleanup
libersoft-org Apr 14, 2026
5702f96
Remove effect from RenderMessageReactions
libersoft-org Apr 14, 2026
5d2be2c
Remove effect from StickersView
libersoft-org Apr 14, 2026
2ad136c
Add return types to all functions
libersoft-org Apr 15, 2026
bb7c942
Define interfaces for complex structures, fix svelte-check errors
libersoft-org Apr 15, 2026
fdcb834
Cleanup
libersoft-org Apr 18, 2026
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
  •  
  •  
  •  
33 changes: 33 additions & 0 deletions .claude/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"permissions": {
"allow": [
"Bash(bun x playwright test:*)",
"Bash(ls:*)",
"Bash(intention add:*)",
"Bash(npx playwright test:*)",
"Bash(curl:*)",
"Bash(grep:*)",
"Bash(bun run:*)",
"Bash(rg:*)",
"Bash(pgrep:*)",
"Bash(PLAYWRIGHT_CONSOLE_LOG=minimal npx playwright test)",
"Bash(PLAYWRIGHT_CONSOLE_LOG=true npx playwright test)",
"Bash(PLAYWRIGHT_CONSOLE_LOG=error npx playwright test)",
"Bash(PLAYWRIGHT_CONSOLE_LOG=minimal npx playwright test:*)",
"Bash(PLAYWRIGHT_CONSOLE_LOG=true npx playwright test:*)",
"Bash(PLAYWRIGHT_CONSOLE_LOG=error npx playwright test:*)",
"Bash(rm:*)",
"Bash(intention add:*)",
"Bash(npx playwright test:*)",
"Bash(PLAYWRIGHT_CONSOLE_LOG=true npx playwright test:*)",
"Bash(PWDEBUG=1 npx playwright test src/modules/org.libersoft.messages/tests/e2e/accounts-import.test.ts --grep \"Handle duplicate accounts during Add accounts - show conflict dialog\" --headed)",
"Bash(PLAYWRIGHT_CONSOLE_LOG=errors npx playwright test src/core/e2e/accounts-import-export.test.ts --reporter=line)",
"Bash(PLAYWRIGHT_CONSOLE_LOG=errors npx playwright test)",
"Bash(PLAYWRIGHT_CONSOLE_LOG=errors npx playwright test src/core/e2e/accounts-import-export.test.ts -g \"Export accounts to JSON format\")",
"Bash(PLAYWRIGHT_CONSOLE_LOG=errors npx playwright test src/core/e2e/accounts-import-export.test.ts -g \"Export\")",
"Bash(PLAYWRIGHT_CONSOLE_LOG=errors npx playwright test src/modules/org.libersoft.messages/tests/e2e/everything.test.ts -g \"Message Forwarding\")",
"Bash(PLAYWRIGHT_CONSOLE_LOG=errors npx playwright test src/modules/org.libersoft.messages/tests/e2e/everything.test.ts -g \"Complete End-to-End Application Test\")"
],
"deny": []
}
}
9 changes: 8 additions & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,16 @@ on:
# pull_request:
# branches: [ master ]


permissions:
contents: read

jobs:
e2e-tests:

uses: koo5/yellow-dev/.github/workflows/shared-e2e.yml@master
with:
client_repo: ${{ github.repository }}
client_ref: ${{ github.ref }}
client_ref: ${{ github.ref }}
run_client_tests: true
run_admin_tests: false
28 changes: 22 additions & 6 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,42 @@ name: Node.js CI

on:
push:
branches: [ "*" ]
# pull_request:
# branches: [ "*" ]
branches: [ "**" ]

permissions:
contents: read


jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [20.x]
node-version: [22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: oven-sh/setup-bun@v2
- run: bun i
- run: npx playwright install --with-deps
- run: npm run build --if-present
- run: npm run test:unit

storybook-tests:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [22.x]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: oven-sh/setup-bun@v2
- run: bun i
- run: npx playwright install --with-deps
- run: npm run build --if-present
- run: npm run test:storybook
Comment thread Fixed

33 changes: 33 additions & 0 deletions .github/workflows/svelte-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Svelte Check

on:
push:
branches: [ "**" ]

permissions:
contents: read

jobs:
svelte-check:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install dependencies
run: bun install

- name: Init
run: bun run init

- name: Buiild
run: bun run build

- name: Run svelte-check
run: bun run svelte-check --fail-on-warnings
11 changes: 6 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
node_modules/
build/
build-tauri/
dist/
static/tmp/
*.crt
*.key
.secret_git
Expand All @@ -18,15 +20,14 @@ vite.config.js.timestamp-*
*storybook.log
test-results

# Paraglide
src/lib/paraglide
project.inlang/cache

# Custom
.local/*
**/.claude/settings.local.json
.DS_Store

# Sentry Config File
.env.sentry-build-plugin
.claude
.dev_intention
client
crypto-utils-storage/
project.inlang/
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "src/modules/org.libersoft.wallet/scripts/crypto-utils"]
path = src/modules/org.libersoft.wallet/scripts/crypto-utils
url = https://github.com/libersoft-org/crypto-utils.git
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
22
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
package.json
package.json
.claude
35 changes: 17 additions & 18 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
import type { StorybookConfig } from '@storybook/sveltekit';
import path from 'path';

const config: StorybookConfig = {
"stories": [
"../src/**/*.mdx",
"../src/**/*.stories.@(js|ts|svelte)"
],
"addons": [
"@storybook/addon-essentials",
"@storybook/addon-svelte-csf",
"@chromatic-com/storybook",
"@storybook/experimental-addon-test",
"@storybook/addon-viewport"
],
"framework": {
"name": "@storybook/sveltekit",
"options": {}
},
staticDirs: [
"../static"
]
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|ts|svelte)'],
addons: ['@storybook/addon-essentials', '@storybook/addon-svelte-csf', '@chromatic-com/storybook', '@storybook/experimental-addon-test', '@storybook/addon-viewport'],
framework: {
name: '@storybook/sveltekit',
options: {},
},
staticDirs: ['../static'],
viteFinal: async config => {
if (config.resolve) {
config.resolve.alias = {
...config.resolve.alias,
'@/bridge/core-bridge': process.env.TAURI_SERVICE === 'true' ? path.resolve(__dirname, '../src/modules/org.libersoft.messages/core-bridge-mobile.ts') : path.resolve(__dirname, '../src/modules/org.libersoft.messages/core-bridge-builtin.ts'),
};
}
return config;
},
};
export default config;
2 changes: 1 addition & 1 deletion .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Preview } from '@storybook/svelte';
import '../src/css/app.css';
import '../src/app.css';

const preview: Preview = {
parameters: {
Expand Down
27 changes: 0 additions & 27 deletions CLAUDE.md

This file was deleted.

68 changes: 68 additions & 0 deletions NFT_CONFIGURATION_SYSTEM.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
README: NFT Configuration System

## Implementované funkce:

### 1. **SettingsNetworksNFTs.svelte** - Správa NFT kontraktů

- Zobrazení seznamu nakonfigurovaných NFT kontraktů
- Drag & drop reordering
- Přidání/editace/mazání NFT kontraktů
- Načítání informací o kontraktech

### 2. **SettingsNetworksNFTsAddEdit.svelte** - Formulář pro NFT

- Přidání nového NFT kontraktu
- Editace existujícího NFT kontraktu
- Povinná pole: Contract address
- Volitelná pole: Token ID, Name, Description, Image URL, External URL

### 3. **DialogNFTDel.svelte** - Dialog pro mazání NFT

- Potvrzení mazání NFT kontraktu
- Zobrazení informací o mazaném NFT

### 4. **Integrace do nastavení**

- Přidáno tlačítko NFT ikony v Settings > Networks
- Nové menu sekce pro každou síť: networks-nfts-{networkGuid}
- Automatické načítání do settings struktury

### 5. **Rozšíření balance.ts**

- Funkce `getNFTsForAddress()` nyní používá nakonfigurované NFT kontrakty
- Fallback na výchozí kontrakty pokud žádné nejsou nakonfigurované
- Import `nftStore` pro čtení nakonfigurovaných NFT

### 6. **Rozšíření network.ts**

- Přidána funkce `reorderNFTs()` pro drag & drop
- Existující funkce: `addNFT()`, `editNFT()`, `deleteNFT()`
- Store `nfts` pro reactive čtení NFT kontraktů

## Jak použít:

1. **Přidat NFT kontrakt:**

- Settings > Networks > klikni na NFT ikonu u sítě
- "Add NFT Contract"
- Zadej contract address (povinné)
- Volitelně: Token ID (pro specifický NFT), Name, Description, Image URL, External URL

2. **Spravovat NFT kontrakty:**

- Drag & drop pro změnu pořadí
- Edit ikona pro úpravu
- Delete ikona pro smazání (s potvrzením)

3. **Zobrazení NFT:**
- NFT kontrakty se automaticky načítají v Balance komponentě
- Používá se seznam z nastavení místo hardcoded kontraktů

## Příklad použití:

Pro váš Baby Eggs NFT na Polygon:

- Contract address: `0x366B4C4F5f602eF5E18e3F3a15052db8841de01E`
- Token ID: `96931881880619166233561556717900660211897371081598974059752591339469234241537` (nebo prázdné pro celý kontrakt)
- Name: "Baby Eggs"
- External URL: link na Rarible marketplace
Loading
Loading