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

1800 Commits

Author SHA1 Message Date
ClaudiaHolhos
dfa3c5d6cc page stories 2022-06-10 12:23:20 +03:00
636f3621d0
allow multiple runs of handleSubmit
* collect what we need in local state for reuse after method has run
* run each step conditionally
2022-06-09 20:42:50 +02:00
Enzo Vezzaro
ed9177d1d9 added mocked form to datatoken (WIP) 2022-06-09 12:29:20 -04:00
ClaudiaHolhos
e206cd7f70 markdown and network name stories 2022-06-09 17:37:08 +03:00
dependabot[bot]
ce12c0e1c1
Bump @coingecko/cryptoformat from 0.4.4 to 0.5.4 (#1501)
Bumps [@coingecko/cryptoformat](https://github.com/coingecko/cryptoformat) from 0.4.4 to 0.5.4.
- [Release notes](https://github.com/coingecko/cryptoformat/releases)
- [Commits](https://github.com/coingecko/cryptoformat/commits/v0.5.4)

---
updated-dependencies:
- dependency-name: "@coingecko/cryptoformat"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-09 10:44:28 +02:00
ClaudiaHolhos
faf87d65a0 story fix 2022-06-08 17:41:13 +03:00
3b87122043
Dependency updates (#1500)
* bump all dependencies

* activate dependabot

* bump to ocean.js v1.0.0
2022-06-08 15:38:03 +02:00
ClaudiaHolhos
186cf92908 Merge remote-tracking branch 'origin/feature/1400-shared-components-stories' into feature/1400-shared-components-stories 2022-06-08 16:18:46 +03:00
ClaudiaHolhos
8fc7a19a55 currency, prices props fixes 2022-06-08 16:18:37 +03:00
EnzoVezzaro
d3ddc0e73e
Merge branch 'main' into feature/1400-shared-components-stories 2022-06-08 09:08:11 -04:00
Enzo Vezzaro
fa6534a4bb adding missing args 2022-06-08 08:41:42 -04:00
mihaisc
f901355e98
fix profile (#1499)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-06-08 14:32:13 +02:00
mihaisc
ed13131f57
fix ci (#1498)
* fix ci

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* add v3

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-06-08 14:31:36 +02:00
3646fbdf06
update v4 blog post link (#1497) 2022-06-08 13:06:33 +02:00
mihaisc
6dfeead4fd
Release (#1492)
* update contracts

* add version selector

* show banner on all pages

* show banner on all pages

* Announcement/warning messages cleanup

* new main announcement message
* contextual compute-to-data warnings in publish form & asset action

* copy update

* change hardcoded URLs

* change localStorage key

* to prevent user preferences clashes when switching between v3 & v4

* footer stats note changes

* move copy into content file
* mention external markets

* footer stats note copy changes

* modified pool widget footer

* take out pool reserve display
* style & spacing updates for fees

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-06-08 11:46:46 +03:00
mihaisc
57477958ab
update package.lock (#1490)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-06-07 11:39:32 +02:00
mihaisc
857409d5ad
remove display of dt in setup (#1488)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-06-07 11:54:10 +03:00
ClaudiaHolhos
3a3feda675 some more fixes regarding currency and prices use 2022-06-06 14:25:17 +03:00
Luca Milanese
e412dc10d6
add v3 assets redirect (#1446)
* feat: add v3 assets redirect

* feat: add fallback return value to checkV3Asset

* fix: rename env variables for v3 related uris
2022-06-06 12:25:09 +02:00
ClaudiaHolhos
2c1df58efc Merge remote-tracking branch 'origin/feature/1400-shared-components-stories' into feature/1400-shared-components-stories 2022-06-06 12:35:11 +03:00
ClaudiaHolhos
64299b9eeb use prices and currency with hooks 2022-06-06 12:34:47 +03:00
Enzo Vezzaro
0e8e763649 change dummy address 2022-06-03 09:43:29 -04:00
ClaudiaHolhos
6cbdb0d722 use locale value as Conversion prop 2022-06-03 16:29:36 +03:00
Enzo Vezzaro
20546dea3a clear testing-library/no-unnecessary-act console.error eslint 2022-06-03 06:33:09 -04:00
Enzo Vezzaro
e6b03408be fix locale path 2022-06-02 11:12:02 -04:00
Enzo Vezzaro
a06cc83061 added interface and get locale from mock data 2022-06-02 10:48:44 -04:00
Enzo Vezzaro
fd0f32b5b4 added assetTeaser, assetList, assetComputeList, as well as some mock data for storybook 2022-06-02 10:32:50 -04:00
ClaudiaHolhos
91733a1224 Asset and Box selection, Datatoken and Price stories 2022-06-02 16:44:52 +03:00
claudiaHash
e9a3513cac
add error message title (#1473)
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-06-02 16:44:09 +03:00
Jamie Hewitt
ea897c8e7a
Fix edit form validation (#1371)
* Fixing logic for showing error messages

* Removing unused code

* Refactoring

* fixing sample file validation

* Removing console logs

* Minor formatting
2022-05-31 11:18:10 +01:00
ClaudiaHolhos
3e8c6f40a9 fixes 2022-05-31 11:48:42 +03:00
Enzo Vezzaro
caf3ed26c6 added AnnouncementBanner story 2022-05-30 11:56:34 -04:00
ClaudiaHolhos
ed4ba03e1f networkId fix, FileIcon stories added 2022-05-30 17:26:00 +03:00
Enzo Vezzaro
166709e314 fix Addtoken parameter 2022-05-30 10:08:19 -04:00
ClaudiaHolhos
ec84d6f69a AssetType, ButtonBuy and ExplorerLink stories 2022-05-30 16:59:26 +03:00
Enzo Vezzaro
f4fc47c6d0 added AddToken story (needs improvements) 2022-05-30 09:44:23 -04:00
Enzo Vezzaro
dde191630d added AccountTeaser and AccountList stories 2022-05-30 08:20:43 -04:00
claudiaHash
d53ea3f187
remove unnecessary text replacement (#1448)
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-05-23 17:47:43 +03:00
EnzoVezzaro
cb051f726b
Merge pull request #1449 from oceanprotocol/v4-codeclimate-badge
fix test coverage badge
2022-05-23 08:36:11 -04:00
f0967de973
fix test coverage badge 2022-05-23 13:06:49 +01:00
claudiaHash
6d2dea8c9d
Atomic components stories (#1422) 2022-05-23 12:29:37 +01:00
9027fc1307
More codeclimate excludes (#1433)
* more codeclimate excludes

* increase similar-code & identical-code thresholds
2022-05-23 14:25:03 +03:00
Bogdan Fazakas
f0b22ee8e4
fix forever timeout for assets (#1445) 2022-05-19 17:48:13 +01:00
mihaisc
bf31cdfed5
Various fixes (#1441)
* fixes

* more fixes
2022-05-18 17:25:44 +01:00
mihaisc
4b6baa9cd5
Update contracts and math (#1436)
* update contracts and math

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* change fee name

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>

* bump to ocean.js v1.0.0-next.44

* rename consumeFee to orderFee

* prevent variable naming clash

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
2022-05-18 14:38:08 +01:00
EnzoVezzaro
593039f894
Fix svgr in storybook & jest (#1428)
* fix svg loader

* added Logo component to be able to test storybook

* added svg mock for svgr as suggested (still not working)

* package cleanup

* make svg moduleNameMapper match first

* cleanup

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-05-16 17:11:43 +01:00
a5819bac58
subgraph typings generation during coverage run (#1421)
* subgraph typings generation during coverage run

* cache node_modules

* ignore src/@types/ for coverage
2022-05-16 14:38:48 +01:00
065f5bc711
add custom codeclimate config (#1292)
* add custom codeclimate config

* add exclude_patterns

* tweaks

* tweaks

* remove checks without overwrite

* tweak similar-code & identical-code mass threshold

* threshold tinkering
2022-05-16 14:37:25 +01:00
EnzoVezzaro
29e6636d71
handle poolData shares when empty (#1424)
* handle poolData shares when it's empty

* rm log
2022-05-13 12:48:24 +01:00
5f3ee32ca2
Test setup tweaks (#1415)
* unused package cleanup

* make storybook use webpack 5

* see https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#webpack-5

* bump react, cleanup

* button story tweaks

* add Alert stories

* bump Jest to v28.1.0

* try original storyshots initialization

* split up build & test CI jobs

* stop testing Node.js v14

* set jest coverage flag

* downgrade paambaati/codeclimate-action again

* move  jest config files, remove coverageReporter override

* collect coverage from `src/` only

* another paambaati/codeclimate-action bump test

* create additional button markup test

* downgrade paambaati/codeclimate-action again

* more downgrade

* render default button without optional style prop

* ignore some folders for Jest

* full coverage for Alert

* more package updates

* add eslint-plugin-testing-library & eslint-plugin-jest-dom

* bump ESLint packages, follow new rules

* start storybook in quiet mode

* update docs

* test storybook build as part of CI

* more testing docs clarification

* add jest:watch command

* add body background colors switch in toolbar

* TypeScript voodoo

* test codeclimate-action@v2.7.3 for default coverageCommand

* downgrade codeclimate-action and running in debug mode

* make coverage artifacts OS agnostic

* subgraph typings as artifact for coverage job

* disable coverage sending job for now

Co-authored-by: Enzo Vezzaro <enzo-vezzaro@live.it>
2022-05-12 11:35:07 +01:00