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

2044 Commits

Author SHA1 Message Date
Bogdan Fazakas
c2995223a7 fix compute env issue on start order 2022-06-02 07:38:07 +03:00
Bogdan Fazakas
3232460f38 remove toast from provider helper 2022-06-01 17:40:51 +03:00
Bogdan Fazakas
0901ff7141 use optional on initialized provider check 2022-06-01 17:28:39 +03:00
Bogdan Fazakas
c25ab289fd removed console logs and added one new check 2022-06-01 17:25:51 +03:00
Bogdan Fazakas
9ff04d3c04 error handling on intializeCompute and order 2022-06-01 17:03:18 +03:00
Bogdan Fazakas
2e9898907d use compute env max duration value in seconds 2022-06-01 09:51:51 +03:00
Bogdan Fazakas
cc5c761aca merge v4 into v4-c2d 2022-06-01 09:44:53 +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
Bogdan Fazakas
b04d1cd9f4 merge v4 into v4-c2d 2022-05-30 12:22:30 +03:00
Bogdan Fazakas
4f14ffc265 removed logs and added some explanations 2022-05-26 17:58:17 +03:00
Bogdan Fazakas
aec4568412 remove logs 2022-05-26 08:38:38 +03:00
Bogdan Fazakas
565e7bfa31 compute jobs refetch and reuse order 2022-05-26 08:37:31 +03:00
claudiaHash
d53ea3f187
remove unnecessary text replacement (#1448)
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-05-23 17:47:43 +03:00
Bogdan Fazakas
9ffa3419a6 merge v4 into v4-c2d 2022-05-23 17:33:16 +03:00
Bogdan Fazakas
589d174abf fixed initial price 2022-05-23 17:28:40 +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
ea6a350796 merge v4 into v4-c2d 2022-05-20 08:20:49 +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
Bogdan Fazakas
06e6290613 merge v4 2022-05-18 17:21:07 +03: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
Bogdan Fazakas
6d7852672d update compute status feedback messages 2022-05-17 11:45:37 +03:00
Bogdan Fazakas
9a22e92a4a kick in loader earlier 2022-05-17 11:20:19 +03: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
Bogdan Fazakas
4631ae9af7 start/order button tweaks 2022-05-16 17:58:12 +03: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
Bogdan Fazakas
c1648cb7e6 merge v4 2022-05-16 15:51:28 +03:00
Bogdan Fazakas
07f3e6747a
Merge pull request #1431 from oceanprotocol/use-computeInitialize
Use compute initialize and refactors
2022-05-16 08:39:17 +03:00
Bogdan Fazakas
50fc6d84cb init prices and fees after starting a compute job 2022-05-16 08:09:38 +03:00
Bogdan Fazakas
50b1af53ac fix compute status text display 2022-05-16 08:08:15 +03:00
Bogdan Fazakas
feb1f41d5c fix conditions and cleanups 2022-05-16 07:57:48 +03: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
Bogdan Fazakas
24aa157f92 fix lint 2022-05-13 10:53:38 +03:00
Bogdan Fazakas
be21be9559 order fixes 2022-05-13 10:27:41 +03:00
Bogdan Fazakas
936985a0f8 merge v4 2022-05-12 14:42:28 +03:00
Bogdan Fazakas
15af847a9c wip compute initialize 2022-05-12 14:39:14 +03: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
claudiaHash
a2bf3b2a1c
fix community fee displayed value (#1417)
* fix community fee displayed value

* get value fix

* Revert "fix community fee displayed value"

This reverts commit 06258f8904.

* import fix

* naming fix

Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-05-11 18:44:02 +01:00
Jamie Hewitt
8819a66e67
Remove risks warning (#1420)
* Removing risks warning from add liquidity tab

* Removing risks warning from add trade tab

* Removing isWarningAccepted state variable
2022-05-11 13:29:07 +01:00
claudiaHash
e30786c97b
Error placement in publish pricing form (#1419)
* quick fix

* log removed

Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-05-11 13:05:13 +03:00
mihaisc
88b40e5985
fix pool context (#1416)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2022-05-10 20:10:16 +01:00
mihaisc
aa54795c2b
add decimals to pool calls (#1393)
* add decimals to pool calls

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

* fix lock

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

* fix ssh

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

* update ocean

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

* update ocean

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

* remove screen fixes

* update lib, contracts

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

* fix package-lock

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

* fix

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

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-05-10 14:19:41 +03:00
EnzoVezzaro
1fcc3b1356
sanitize urls as code scanning suggestions (#1412)
* sanitize url on DebugEditMetadata as code scanning suggestion

* sanitize urls
2022-05-10 10:11:53 +01:00
EnzoVezzaro
89f2521025
Storybook and unit testing setup (#1354)
* install and config Storybook

* create basic component for initial setup

* added testing-library / jest for testing

* restore coverage for testing

* downgrade codeclimate-actions to fix viable formatter issue

* clean up - remove unnecessary components in stories

* update readme with storybook and testing

* remove unnecessary file extensions on stories config

* remove babel and moved jest-dom to devDependencies

* delete introduction stories

* change test to .tsx

* change testing description on docs

* added interface to button story

* added build phase and update test phase

* restore build in ci

* added storyshots (automate testing) to Storybook

* simplify and update codeclimate-action

* restore workable version of codeclimate-action

* test unified test action for CI

* Revert "test unified test action for CI"

This reverts commit 039cbf3485.

* test documented solutions for CI

* fix error on coverage CI

* added codeCoverage on jest setup

* upload coverage report from jest

* added download artifact to coverage CI

* added upload artifact to coverage CI

* remove collectCoverageFrom

* moved test step on CI

* remove coverageLocations to allow default

* load Ocean typography into storybook

* skip all PRs coming from dependabot

* improve docs (Storybook)

Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-05-09 14:33:44 +01:00
Bogdan Fazakas
ab48abe73c merge feature/v4 into feature/v4-c2d 2022-05-05 17:09:33 +03:00
Bogdan Fazakas
692fb509f6 fix compute jobs table auto refresh and details modal closing 2022-05-05 17:06:11 +03:00