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

73 feature add matomo analytics-old #109

Closed
wants to merge 9 commits into from

Conversation

BenoistP
Copy link
Collaborator

Sigri wants to spy on us

Sigri44 and others added 9 commits October 24, 2024 00:22
Bumps [body-parser](https://github.com/expressjs/body-parser) from 1.20.2 to 1.20.3.
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](expressjs/body-parser@1.20.2...1.20.3)

---
updated-dependencies:
- dependency-name: body-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* first version : Assets as rows

* 'other' assets display switch; 'other' assets shown in Summary

'other' assets = tokens others than RealTokens = RWA, REG, ...

- Display switch for hiding 'other' assets in table rows
- 'other' assets figures added to Summary section

* contracts utils

* use contract utils for fetching balances

* Eth provider removed: REG Voting Power is not deployed on Eth

* batchCallOneFunction

not fully tested

* error args

* comments

* wrong 'inheritance'

* smol fix: properly throw 'User not found' error

* style/comments

* settings labels and icons

* unitIcon: optional + alignment with other units

* Filter 'other' assets in Grid view

* Settings: switch icons, section names

* fix: lint warning

* fix: lint warning

* fix: build error ?

* fix: build error #2 ?

* fix: build error #3 ?

* fix: build error #4 ?

* fix: build error #5 ?

* Fix: existing filter error when filtering on "Owned on"

* fix: avoid fetching others assets balances if user wallet was not set

* feat: add other token price on cards and fix decimals rounds for total invest

* fix: improve subsudy filter for exclude other realtokens

* fix: fix last changes filter and use correct typing in filters for avoid futurs errors

* feat: set initial launch date for RWA token

* feat: initialize rpc provider only once

* feat: include reg tokens locked inside the incentive vault

* fix: fix eslint warnings and add missing translations

* Update .gitignore

exclude pnpm lockfile

* Create .nvmrc

add .nvmrc for switching between node versions

* Update contract.ts

optional  parameters for customizing batch calls: batch max and min size, number of attempts before giving up

* Regvotingpower: icon orange, size grows depending on amount

* unused import

* Usdc currency/rate

* Voting power size & fill color depending on power amount

* Voting power size & fill color depending on power amount

* Fixes: token prices in USD, avoid fetching REG vault balances on Eth

- Tokens values fix: Updated assets prices by using currenciesRates and user currency rate (previously considering usdc = usd and xdai = usd as well),
now assets prices are converted from their respective currencies (e.g. usdc, xdai) to usd, then total value is priced in user choosen currency.
- Smol fix: getAddressesLockedBalances was fetching vault balances on Eth, throwing errors as there is not such vault on Eth.
Added parameters for fetching any number of vault by provider(s).

* comment

* Check Providers ability to handle requests

- Check Providers ability to handle requests
- Additionnal providers
https://rpc.ankr.com/eth and https://eth-pokt.nodies.app currently fail to handle concurrent requests

* Assets hooks moved in index for avoiding duplicate requests

- Both SummaryCard and AssetsView use the same hooks for getting their data, leading to duplicate web3 requests
Moving hooks in parent components prevents this form happening.

* prettier

* Avoid divide by zero in case asset.totalUnits is unknown/zero

* "Clean" scripts

* Assets filtering moved to the right place

filter has to be in assetsView/AssetsView.tsx

* Paging translation labels: placeholder, All

* simplify pageSize handling

* Assets filtering fix (causing pagination issues)

OtherAssets filtering was improperly implemented into the map loops by skipping non "others assets" value, causing holes in display (missing cards).
Filtering is now done in AssetsView where it should have been in the first place

* Revert changes: realtime/global labels for rents calculation switch

---------

Co-authored-by: Jycssu <[email protected]>
* addresses issue #97

Moves api urls to (.)ENV
set utls to new api.realtoken.community domain (previously api.realt.community)

* Update .env.sample

missing update of sample .env

* Update .env.sample

* NEXT_PUBLIC_ prefix removed for REALTOKENAPI ENV vars
@BenoistP BenoistP linked an issue Dec 19, 2024 that may be closed by this pull request
@BenoistP BenoistP closed this Dec 19, 2024
@BenoistP BenoistP deleted the 73-feature-add-matomo-analytics branch December 19, 2024 19:30
@BenoistP
Copy link
Collaborator Author

creating new branch/PR due to workwlow updates

@BenoistP BenoistP changed the title 73 feature add matomo analytics 73 feature add matomo analytics-old Dec 19, 2024
@BenoistP BenoistP restored the 73-feature-add-matomo-analytics branch December 19, 2024 20:12
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.

[Feature] Add matomo analytics
4 participants