1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

Merge pull request #1656 from oceanprotocol/fix/issue-1648-spelling-dataset

change label 'data set' with 'dataset'
This commit is contained in:
EnzoVezzaro 2022-08-17 06:39:02 -04:00 committed by GitHub
commit 66212c264c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 39 additions and 39 deletions

View File

@ -103,12 +103,12 @@ cp .env.example .env
## 🦀 Data Sources ## 🦀 Data Sources
All displayed data in the app is presented around the concept of one data set, which is a combination of: All displayed data in the app is presented around the concept of one asset, which is a combination of:
- metadata about a data set - metadata about an asset
- the actual data set files - the actual asset file
- the NFT which represents the data set - the NFT which represents the asset
- the datatokens representing access rights to the data set files - the datatokens representing access rights to the asset file
- financial data connected to these datatokens, either a fixed rate exchange contract or a dispenser for free assets - financial data connected to these datatokens, either a fixed rate exchange contract or a dispenser for free assets
- calculations and conversions based on financial data - calculations and conversions based on financial data
- metadata about publisher accounts - metadata about publisher accounts
@ -117,7 +117,7 @@ All this data then comes from multiple sources:
### Aquarius ### Aquarius
All initial data sets and their metadata (DDO) is retrieved client-side on run-time from the [Aquarius](https://github.com/oceanprotocol/aquarius) instance, defined in `app.config.js`. All app calls to Aquarius are done with 2 internal methods which mimic the same methods in ocean.js, but allow us: All initial assets and their metadata (DDO) is retrieved client-side on run-time from the [Aquarius](https://github.com/oceanprotocol/aquarius) instance, defined in `app.config.js`. All app calls to Aquarius are done with 2 internal methods which mimic the same methods in ocean.js, but allow us:
- to cancel requests when components get unmounted in combination with [axios](https://github.com/axios/axios) - to cancel requests when components get unmounted in combination with [axios](https://github.com/axios/axios)
- hit Aquarius as early as possible without relying on any ocean.js initialization - hit Aquarius as early as possible without relying on any ocean.js initialization
@ -159,7 +159,7 @@ function Component() {
} }
``` ```
For components within a single data set view the `useAsset()` hook can be used, which in the background gets the respective metadata from Aquarius. For components within a single asset view the `useAsset()` hook can be used, which in the background gets the respective metadata from Aquarius.
```tsx ```tsx
import { useAsset } from '@context/Asset' import { useAsset } from '@context/Asset'
@ -232,7 +232,7 @@ function Component() {
### Purgatory ### Purgatory
Based on [list-purgatory](https://github.com/oceanprotocol/list-purgatory) some data sets get additional data. Within most components this can be done with the internal `useAsset()` hook which fetches data from the [market-purgatory](https://github.com/oceanprotocol/market-purgatory) endpoint in the background. Based on [list-purgatory](https://github.com/oceanprotocol/list-purgatory) some assets get additional data. Within most components this can be done with the internal `useAsset()` hook which fetches data from the [market-purgatory](https://github.com/oceanprotocol/market-purgatory) endpoint in the background.
For asset purgatory: For asset purgatory:
@ -415,7 +415,7 @@ To allow publishers to set pricing as "Fixed" you need to add the following envi
To allow publishers to set pricing as "Free" you need to add the following environmental variable to your .env file: `NEXT_PUBLIC_ALLOW_FREE_PRICING="true"` (default). To allow publishers to set pricing as "Free" you need to add the following environmental variable to your .env file: `NEXT_PUBLIC_ALLOW_FREE_PRICING="true"` (default).
This allocates the datatokens to the [dispenser contract](https://github.com/oceanprotocol/contracts/blob/main/contracts/dispenser/Dispenser.sol) which dispenses data tokens to users for free. Publishers in your market will now be able to offer their datasets to users for free (excluding gas costs). This allocates the datatokens to the [dispenser contract](https://github.com/oceanprotocol/contracts/blob/main/contracts/dispenser/Dispenser.sol) which dispenses data tokens to users for free. Publishers in your market will now be able to offer their assets to users for free (excluding gas costs).
## ✅ GDPR Compliance ## ✅ GDPR Compliance

View File

@ -1,6 +1,6 @@
{ {
"asset": { "asset": {
"title": "Data Set In Purgatory", "title": "Dataset In Purgatory",
"description": "Except for removing liquidity, no further actions are permitted on this dataset and it will not be returned in any search. For more details go to [list-purgatory](https://github.com/oceanprotocol/list-purgatory)." "description": "Except for removing liquidity, no further actions are permitted on this dataset and it will not be returned in any search. For more details go to [list-purgatory](https://github.com/oceanprotocol/list-purgatory)."
}, },
"account": { "account": {

View File

@ -13,7 +13,7 @@ import { useMarketMetadata } from '@context/MarketMetadata'
const columns: TableOceanColumn<AssetExtended>[] = [ const columns: TableOceanColumn<AssetExtended>[] = [
{ {
name: 'Data Set', name: 'Dataset',
selector: (row) => { selector: (row) => {
const { metadata } = row const { metadata } = row
return <AssetTitle title={metadata.name} asset={row} /> return <AssetTitle title={metadata.name} asset={row} />

View File

@ -21,7 +21,7 @@ export function Status({ children }: { children: string }): ReactElement {
const columns: TableOceanColumn<ComputeJobMetaData>[] = [ const columns: TableOceanColumn<ComputeJobMetaData>[] = [
{ {
name: 'Data Set', name: 'Dataset',
selector: (row) => ( selector: (row) => (
<AssetListTitle did={row.inputDID[0]} title={row.assetName} /> <AssetListTitle did={row.inputDID[0]} title={row.assetName} />
) )

View File

@ -8,7 +8,7 @@ import { useUserPreferences } from '@context/UserPreferences'
const columns: TableOceanColumn<DownloadedAsset>[] = [ const columns: TableOceanColumn<DownloadedAsset>[] = [
{ {
name: 'Data Set', name: 'Dataset',
selector: (row) => <AssetTitle asset={row.asset} /> selector: (row) => <AssetTitle asset={row.asset} />
}, },
{ {