react-tooltip 4 brought uuid 7 (open advisory, fixed only in 11) and had not been maintained since 2022. Tooltip now wraps the v6 component (no more cast); triggers use data-tooltip-id instead of data-for and data-tip (Icon, Badge, Tag, claims payload). v6 renders the content in .react-tooltip-content-wrapper and draws the arrow as its own element that inherits the background, so the wrapper's child selectors point there and the ::after arrow colours for accounts-badge are gone. The accounts-badge block in the global styles was never closed (as upstream); it is closed now with the same nesting, so its link colours still apply only inside badge tooltips. Checked in a headless browser on Zagros, the "available on all networks" account badge: with v4 the tooltip was one 1525px line starting off-screen at x=-260; with v6 it is 300px wide (the max-width already in the styles), wrapped, on screen, arrow on the badge, and in the light accounts-badge style the styles define.
@pezkuwi/apps
A Portal into the Pezkuwi and Bizinikiwi networks. Provides a view and interaction layer from a browser.
It is hosted at https://apps.pezkuwichain.io to explore any of the supported Pezkuwi and Bizinikiwi chains.
Important If you are a chain developer and would like to add support for your chain to the UI, all the local configuration (API types, settings, logos) can be customized in the apps-config package, complete with instructions of what goes where.
Overview
The repo is split into a number of packages, each representing an application.
Development
Contributions are welcome!
To start off, this repo (along with others in the @pezkuwi family) uses yarn workspaces to organize the code. As such, after cloning dependencies should be installed via yarn, not via npm, the latter will result in broken dependencies.
To get started -
- Clone the repo locally, via
git clone https://github.com/pezkuwichain/pezkuwi-apps <optional local path> - Ensure that you have a recent LTS version of Node.js, for development purposes Node >= 16 is recommended.
- Ensure that you have a recent version of Yarn, for development purposes Yarn >= 1.22 is required.
- Install the dependencies by running
yarn install --frozen-lockfile - Ready! Now you can launch the UI (assuming you have a local Pezkuwi Node running), via
yarn run start - Access the UI via http://localhost:3000
Docker
To build and run a container with local changes -
docker build -t pezkuwi-apps -f docker/Dockerfile .
docker run --rm -it --name pezkuwi-ui -e WS_URL=ws://someip:9944 -p 80:80 pezkuwi-apps
The UI is then at http://localhost:80 (or just http://localhost)