1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-06-23 01:36:47 +02:00
market/src/@context
Jamie Hewitt 97e0921e1e
Unsupported Network Tooltip (#1331)
* Moving isSupportedOceanNetwork to Web3 context

* Removing page title and replacing it with a warning message

* Creating Error state in title for the wrong network

* Creating UnsupportedNetwrok component

* Adding different networks into tooltip

* Adding button + styling

* Adding change netwrok function

* Adding Change Network tooltip to submit page

* Reducing code duplication

* Removing unnecessary changes

* Fixing logic for checking which chainIds are supported

* Simplifying isSupportedOceanNetwork check logic

* Default to not showing unsupported network message when no wallet is connected

* Always showing available networks in tooltip

* Adding info icon to action button

* adding padding to AvailableNetworks component

* Changing label to list components

* Changing brand-white to currentColor

* Revert "Changing brand-white to currentColor"

This reverts commit 278f0d4ab9.

* CHanging --brand-white to currentColor

* Info Icon in currentColor

* Changing NetworkOptions component name to Network

* Simplifying tooltip logic in title

* Removing unused classname

* Fixing repeating <ul> issue

* Removing unused class

* Refactoring AvailableNetworks component into src/components/Publish

* Moving tooltip message into content/publish/index.json

* Reducing duplication in css

* Removing duplication of infoIcon css styles

* Tidying up logic in setIsSupportedOceanNetwork useEffect

* Updating setIsSupportedOceanNetwork effect dependancies

* merge fixes for new MarketMetadata context

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-04-22 02:54:04 +02:00
..
MarketMetadata Various fixes in the pool component (#1327) 2022-04-22 02:38:35 +02:00
Pool Various fixes in the pool component (#1327) 2022-04-22 02:38:35 +02:00
Asset.tsx Various fixes in the pool component (#1327) 2022-04-22 02:38:35 +02:00
CookieConsent.tsx Various fixes in the pool component (#1327) 2022-04-22 02:38:35 +02:00
Prices.tsx Various fixes in the pool component (#1327) 2022-04-22 02:38:35 +02:00
Profile.tsx Various fixes in the pool component (#1327) 2022-04-22 02:38:35 +02:00
UrqlProvider.tsx Disable pool fetching interval (#1265) 2022-03-29 14:32:45 +01:00
UserPreferences.tsx Various fixes in the pool component (#1327) 2022-04-22 02:38:35 +02:00
Web3.tsx Unsupported Network Tooltip (#1331) 2022-04-22 02:54:04 +02:00