Commit Graph

54 Commits

Author SHA1 Message Date
Peter Sanderson
e02ffd6b93 chore: better naming of base-currency (formarlly FiatCurrency) 2025-07-04 08:43:04 +02:00
tomasklim
68b6ff667e chore: add BEP20 to tests 2025-06-09 13:20:09 +02:00
Vojtěch Tranta
69dc1bc9dc fix(suite-native): selectIsDeviceDiscoveryActive -> selectHasRunningDiscovery 2025-06-03 15:47:16 +02:00
Jun Luo
aff659b781 feat(suite): Add basic support for Stellar. 2025-05-15 14:48:38 +02:00
Petr Knetl
82531e532d refactor(suite-native): report full graph error 2025-04-30 15:38:34 +02:00
Martin Vytick Vytrhlík
4df0565bf6 feat(graph): remove solana from graph events apart of inserted latest value 2025-02-17 21:36:40 +01:00
yanas
16447f48d9 chore(suite-common): autofix for sort-imports eslint rule 2025-01-30 15:51:37 +01:00
Daniel Suchý
4379c83f77 fix(mobile): balance mismatch (#16457) 2025-01-21 12:44:09 +01:00
Martin Vytick Vytrhlík
bf1c3dac7d fix(graph): use decimals with cardano tokens in graph data 2025-01-21 00:06:26 +01:00
Martin Vytick Vytrhlík
6fd400b7ad feat(graph): get graph events from txn history for arb, base, op 2025-01-15 22:39:35 +01:00
Peter Sanderson
64fcbde4bd chore: enable ESLint rule for as-needed | auto-fix 2025-01-10 10:58:46 +01:00
tomasklim
d8afd23444 chore(suite): extend erc utils with bep 2025-01-08 00:23:56 +09:00
Martin Homola
cc18737edc feat(connect): rename bnb to bsc 2024-12-21 19:23:21 +09:00
Martin Homola
25916a3be1 chore(suite): update network symbol naming 11 2024-12-11 01:22:03 +09:00
Martin Homola
9aca381b9d chore(suite): update network symbol naming 9 2024-12-07 19:19:14 +09:00
Martin Homola
0fc5924096 chore(suite): update network symbol naming 7 2024-12-06 21:30:12 +09:00
Martin Vytick Vytrhlík
3e81245a41 feat(suite-native): remove solana from graphs and load txns on btn click 2024-11-18 22:59:56 +01:00
Martin Vytick Vytrhlík
3803324896 feat(suite-common): remove solana from graph 2024-11-18 22:59:56 +01:00
Peter Sanderson
ff5fe34e9e chore: enable 'prefet-const' ESLint rule 2024-11-01 10:52:45 +01:00
Martin Vytick Vytrhlík
d57732d709 feat(suite-native): solana local graph history movements 2024-10-25 23:16:16 +02:00
Martin Vytick Vytrhlík
c9733659e2 feat(suite-native): enable Solana via feature flag 2024-10-25 12:02:54 +02:00
Jiri Zbytovsky
0be00e9571 chore(utils): move isArrayMember to utils 2024-10-23 11:39:44 +02:00
Jiri Zbytovsky
ff927e1724 chore(suite): isArrayMember TS improvement 2024-10-22 10:48:01 +02:00
Martin Vytick Vytrhlík
013c786250 feat(suite-common): add pol and bnb to graph 2024-10-16 12:11:50 +02:00
Martin Vytick Vytrhlík
f107c42bd2 fix(suite-common): sanitize fetching graph history rates for empty account 2024-09-25 13:01:06 +02:00
Daniel Suchý
f2cb49201a fix(mobile): fix different value between graph and assets (#14396) 2024-09-18 10:58:47 +02:00
Daniel Suchý
a1268ade9a feat(mobile): refactor graph again (#14023)
* feat(mobile): graph fetches only transaction in timeframe + perf optimizations

* feat(mobile): optimize fetching of tx fiat rates

* feat(mobile): DevXpub support multiple acc per network

* feat(mobile): pagination for TransactionList is back

* chore: cleanup

* feat(mobile): use token definitions instead of fiat rates

* chore: pr fixes
2024-09-02 13:04:04 +00:00
Daniel Suchý
36a510b4d8 Feat(mobile): tokens UI refactor (#13876)
* feat(mobile): include eth tokens in dashboard assets

* chore(mobile): remove ethereum-tokens package to tokens

* feat(mobile): refactor tokens UI

* feat(mobile): assets always in same order

* chore: pr fixes

* chore: assets perf optimalizations

* chore: update yarn.lock

* chore: pr fixes 2

* chore: remove unused deps
2024-08-23 13:53:15 +02:00
Daniel Suchý
244b9d62f8 chore(mobile): minor graph improvements (#13811) 2024-08-14 16:45:13 +00:00
Daniel Suchý
1e28c5d351 feat(mobile): graph for erc20 token prices (#13661)
* feat(mobile): graph for erc20 token prices

* chore: remove decimals from graph header formatters

* chore(graph): add tests for timestamp filtering balanceHistoryUtils
2024-08-07 15:44:47 +02:00
Daniel Suchý
c833fab6fa feat(mobile): support ETH tokens in graphs (#13287)
* feat(mobile): use local transactions for graph

* chore(mobile): remove transaction cache package

* feat(mobile): include ERC20 tokens in graph

* feat(mobile): add filtering by token for graph

* chore(mobile): disable tokens in graph

* chore: minor cleanup, fixes

* chore: remove unused deps

* chore: pr fixes
2024-08-02 17:49:38 +02:00
Tomas Martykan
d18ba9a879 chore: BigNumber wrapper 2024-05-27 17:55:13 +02:00
Daniel Suchý
24a20a3cf4 chore(mobile): improve graph error reporting (#12034) 2024-04-16 13:54:34 +00:00
Marek Polak
c4778a62b8 feat(suite-native): use backend identities in native 2024-04-12 16:48:06 +02:00
Matej Kriz
0804a614e1 feat(suite-native): navigate to PinScreen when Suite wants to use locked device 2024-03-18 14:28:57 +01:00
0xadams.eth
622cb9d62a chore: fiat rates improvements (#11524)
* chore(suite): improve fiat fetching readibility

* chore(suite): improve fiat fetching flow and fallbacks based on networks

* chore(suite-native): replace native fiat rates with wallet core

* chore(suite): use last successful fetch timestamp from result

* chore(docs): update fiat rates
2024-03-11 12:55:55 +01:00
Peter Sanderson
c82455e746 chore(suite): autofix newlines 2024-02-20 14:54:29 +01:00
Petr Knetl
2c7e965159 fix(suite-native): flat graph for zero value (#10652)
In the UI we display only two decimal points in the graph. Sometimes, if there was a value lower than 0.01,  the graph was raising and droping even though that value was displayed as 0.00. This change fixes that by displaying rounding every value lower than 0.01 to zero.

Closes #10632
2024-01-16 09:59:05 +00:00
Matej Kriz
9ba8389d1c fix(graph): allow negative balance in graph to fix rare bitcoin graph issues
- Transactions in graph are ordered by timestamp and not by blockheight and in rare cases it can be in oposite order. If we would like to prevent negative value in graph, we should do that on different level.
2024-01-04 13:12:24 +01:00
Daniel Suchý
e3d229f114 chore(mobile): resource savy blockchain middleware + pull to refresh (#10309)
* chore(mobile): resource savy blockchain middleware

* feat(mobile): pull to refresh

* lint fixes

* PR fixes

* chore: refactor structure of Home module

* chore: refactor account selectors

* fix lint errors
2023-12-13 12:14:37 +01:00
Daniel Suchý
190c555f20 feat(graph): Transaction Cache Engine for XRP (in-memory only) (#10157)
* feat: Transaction Cache Engine

* feat(mobile): enable XRP in mobile app

* chore(tests): add tests for transactions engine
2023-12-06 13:48:42 +01:00
Petr Knetl
c6eb5999ac Feat/discovery UI (#9540)
* feat(suite-native): text button atom variants

* feat(suite-native): skeleton atoms

* feat(suite-native): homescreen discovery ui
2023-10-13 10:54:47 +00:00
Jan Komarek
84ac2b5ae3 fix(suite): suppress backup warning modal when adding coinjoin account, use suppressBackupWarning connect param 2023-09-04 20:58:54 +02:00
Petr Knetl
2c99757e00 fix(suite-native): graph event normalization (#9161)
If the array of events was empty, the normalization function was throwing an error. Does not happen anymore.

Closes #9158
2023-08-16 11:26:27 +02:00
Petr Knetl
5c4d75fa2e fix(suite-native): graph event extremes offset (#9127)
* fix(suite-native): graph event extremes offset

The extreme graph events date (x axis of the graph) is normalized to make the events always fully visible.

Closes #9050
2023-08-09 13:39:20 +00:00
Petr Knetl
b501fa1838 feat(suite-native): persistent graph timeframe storage (#8948)
* feat(suite-native): persistent graph timeframe storage

After changing the timeframe of any graph, the change is persistent and will be restored after closing and reopening the app.
2023-07-26 10:45:43 +00:00
Petr Knetl
07f6b238e7 fix(suite-native): graph refetches values after currency change (#8969)
These two problems were fixed:
- The graph was not refetching values after currency change
- after changing the currency, the selected currency was not
  displayed in the currency selector

  Resolves #8809
2023-07-24 10:17:42 +02:00
Petr Knetl
7aa69dc8e2 Feat/graph interactions (#8857)
* chore(suite-native): upgrade react-native-graph to v. 1.0.2

* feat(react-native-graph): graph events added

`react-native-graph` can display graph events/interactions now.

The AnimatedLineGraph component accepts two new props `events` and `EventComponent`.

- `events` is an array of objects representing every individual interaction and it's metadata.
  Each of these objects contains a `date` property that is used to compute the event coordinates in the graph.
- `EventComponent` accepts the coordinates and metadata of each event and represent it in the graph

* refactor(suite-native): graph works with real date

We used to covert graph points `Date` objects to unix epoch time.
This commit makes the graph work with original dates as library intends.

* feat(suite-native): graph implements transaction events

Graph of Account detail displays transaction events.
2023-07-13 11:42:52 +00:00
Daniel Suchý
84d7fe8c96 chore(mobile): use avaiableBalance everywhere in app (#8754) 2023-06-21 13:51:53 +02:00
Petr Knetl
40e80536f5 Feat/cardano graph (#8642)
* feat(suite-native): cardano network enabled

* feat(suite): coingecko fiat rates for timestamps optimized

* feat(suite-native): cardano account graph
2023-06-13 09:21:55 +00:00